Some patches for pithos, deploy, and burnin (resend)#377
Open
dimara wants to merge 11 commits intogrnet:developfrom
Open
Some patches for pithos, deploy, and burnin (resend)#377dimara wants to merge 11 commits intogrnet:developfrom
dimara wants to merge 11 commits intogrnet:developfrom
Conversation
Signed-off-by: Dimitris Aragiorgis <dimitris.aragiorgis@gmail.com>
Versions in database have a Merkle hash of a given content address-able object and a backend-specific mapfile that indexes the corresponding block hashes that the object consists of. When purging a node, deleting a container, or explicitly removing a version we call the corresponding store method (i.e. map_delete()) for deleting the version's mapfile. Signed-off-by: Dimitris Aragiorgis <dimitris.aragiorgis@gmail.com>
If PITHOS_BACKEND_PURGE_MAPFILES is true, delete the associated mapfile when deleting a version. This is unsafe for old setups (prior Synnefo version 0.16rc1/commit 13d49ad), which may still include Markle hashes instead of Archipelago mapfile names in Pithos DB. Signed-off-by: Dimitris Aragiorgis <dimitris.aragiorgis@gmail.com>
By default when gunicorn is invoked with --daemon, it redirects 0, 1, 2 file descriptors to /dev/null and as a result the logs printed on stdout/stderr are lost. This commit adds a gunicorn hook that uses the already opened file of the first registered logging FileHandler, i.e. the file from the '--log-file' Gunicorn configuration option. To enable this hook use --config=/etc/synnefo/gunicorn-hooks/gunicorn-stderr-logging.py option. Signed-off-by: Dimitris Aragiorgis <dimitris.aragiorgis@gmail.com>
Signed-off-by: Dimitris Aragiorgis <dimitris.aragiorgis@gmail.com>
Signed-off-by: Dimitris Aragiorgis <dimitris.aragiorgis@gmail.com>
Use extra --file-storage-dir and --shared-file-storage-dir options in gnt-cluster init since the default ones (/srv/ganeti/..) might not exist if one changes shared_dir configuration option. Signed-off-by: Dimitris Aragiorgis <dimitris.aragiorgis@gmail.com>
We might have an internal DNS server that probably was in the original /etc/resolv.conf that gets overwritten. Here we add another option in nodes.conf that each node can define; nameserver. These nameservers will end up in named.conf.options. Signed-off-by: Dimitris Aragiorgis <dimitris.aragiorgis@gmail.com>
Until now the snapshot test was looking for a snapshot-able flavor. Synnefo assumes that snapshot-able flavors are the ones with disk_template property ext_archipelago. This commit lifts this constrain and uses one of the flavors passed in the command line hoping that the Admin knows what is doing. Signed-off-by: Dimitris Aragiorgis <dimitris.aragiorgis@gmail.com>
Signed-off-by: Dimitris Aragiorgis <dimitris.aragiorgis@gmail.com>
Refactor the initialization phase regarding test suites and let the user pass any custom tests via --set-tests. Signed-off-by: Dimitris Aragiorgis <dimitris.aragiorgis@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi,
This patch-set is actually a resend against current develop branch and includes the following changes:
Thanks,
dimara