snf-deploy: fix a bug in --disable-colors option
snf-deploy: Fix pithos_url in register
New version of kamaki accepts the location ofimages to register as container:file instead of the oldone "pithos://uuid/location".
snf-burnin: Change exit code to 1 for errors
When burnin test cases fail, return 1 as exit code.
snf-burnin: `system-images-user' is not mandatory
`system-images-user' flag is not mandatory when oneuses the `show-stale' flag.
snf-burnin: Add a missing `return'
ci: Change run_burnin exit status
Make run_burnin snf-ci function to exit with the sameexit code as snf-burnin did.
deploy: Allow access in db from localhost
Allow password-less access in DB from localhost, in order to easerunning of unittests.
deploy: Fix bug introduced by escape character
ci: Allow the use of local repo
Instead of cloning Synnefo from its official repo,user can choose (using --local-repo option, or by notsetting the synnefo_repo config parameter) to usehis local repo.
ci: Remove ssh_keys value from config file
ci: Install firefox
ci: Install x2goserver
ci: Remove forgotten debug message
ci: Automatic yes to apt-get prompts
ci: Improve flavors/images finder
Allow for search both by name (using regularexpressions) or by id.
ci: Fix bugs with path expansion
Python does not do any automatic path expansions.User has to call functions such as expanduser() andexpandvars().
Add uesr's id_rsa.pub file as default ssh_keys file.
ci: Add build ID to server name
ci: Implement file lock mechanism for temp_config
Before writing to temp config file, acquire a lockand re-read it's contents to make sure we don'toverwrite anything.
ci: Handle ssh access for demo.synnefo.org
deploy: Performance tune for postgresql
Turn off fsync, synchronous_commit and full_pages_writer to speed uppostgresql. DB is not no longer crash-safe, but this is no needed fortests.
Also, introduce 'testing_vm' setting to distinquish between the type of...
ci: Add --force-yes option to apt-get install
deploy: Set LC_COLLATE to 'C'
Update postgresql default template ('template1'), to have LC_COLLATE='C'and LC_CTYPE='C'. This is needed for test database that is created fromdjango, without the ability to set a different template.
ci: Verify values of image and flavor options
ci: Allow multiple commands in snf-ci script
Allow snf-ci script to accept a comma seperated list of commands to run.
ci: Include user images and config improvements
Include the user images in the list of images that are matched againstthe image name from the config file. Also, change config file to usearchipelago flavors and create instances from the SynnefoCI image.
snf-deploy: add flavor options in synnefo.conf
ci: update ci/schemas/one_node/synnefo.conf
snf-deploy: Various fixes for merging with synnefo
Move ifup in separate dir
ifup is used by vcluster command and has nothing to do withtemlplate files that are used to customize installation.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Fix missing things for disable_colors
Use ip instead of hostname for env.host_string
Remove custon synnefo_settings for webclient
ci: Disable snf-deploy colors
Use --disable-colors option of snf-deploy to disable colors whenrunning snf-deploy from ci scripts.
Allow password-less access from db node in db
Make networking test raise errors if fail
Add abort=True in try_run()
Add --no-keys-inject option
This skips key injection in nodes
Pass key_inject in setup_env
Fix db access
Allow password-less access from nodes with webproject.Allow password-less access from db node.
0600 mode for ssh keys
Try put resolv.conf due to chattr +i
Enforce nodes the given hostnames
This means that hostnames are not important in nodes.conf andshould not reflect to existing infra.
Minor fix in setup_hosts (sed -i /etc/hosts)
ci: Get flavor by name
The option flavor_name support a list of flavors to try.
Refs #4192
ci: snf-deploy is now part of Synnefo software
Install snf-deploy from the Synnefo repoand not from it's old one.
ci: Temporary_config supports multiple machines
Use one temporary_config that will contain informationabout every machine we have build until now, so wecan go back and use/inspect one of them.
Refs #4199
deploy: Add snfdeploy to path to import version
ci: Better handling of build_ids
Now a new build id is created every time we issue acreate command and build_id is None. Any subsequentcommands will use this build_id.
In case we don't provide a build_id (None) and wetry to run a command other than create (that needs to...
ci: Update schema files
Package snf-deploy has add a new section (keys) in deploy.conf
deploy: Fix --dhcp option of network-create cmd
ci: Helper script to run ci commands
Make 'snf-ci' python script to run CI commands.
ci: Make some options optional
Make 'ssh_keys' and 'accept_ssh_from' optional, since there are notmandatory for ci to work.
ci: Add option to override configuration file
Add 'config_file' argument to SynnefoCI in order to use a differentconfiguration file. Also, added the corresponding option to 'snf-ci'scirpt.
ci: Merge 'fetch_packages.py' to snf-ci script
Add '--fetch-packages' option to snf-ci script, in order to download thecreated debian packages.
ci: Add option to override schema
ci: Parse branch from repository
Guess the branch to build, based on the current branch of therepository. Also track all remote branches when cloning Synnefo, becauseit is needed by devflow.
ci: Specify directory to fetch packages to
ci: Add option to build and fetch documentation
ci: Create version files before building docs
Run 'devflow-update-version' to create all the version files, beforetrying to build the docs.
ci: s/mail/email in git config
ci: Add --noinput option to tests
Modify tests script to pass the --noinput option to snf-manage testcommand, so that Django will promt user for any input.
ci: pep8 fixes
ci: Use -c as sort version of --conf
Follow kamaki convention where -c should mean --confand not --cloud.
ci: turn system_uuid option into a hardcoded one
User doesn't need to specify the UUID of the owner ofsystem images (it's usually hard to find it).
Instead save the uuids for these users for our production andtesting deployments inside a list (DEFAULT_SYSTEM_IMAGES_UUID) and...
ci: Redirect logging to stdout/stderr
Use stdout for info/debug messages and stderr forwarning/error messages.
ci: Add --ssh-keys command line option
Using this option one can specify a file containingssh authentication keys to be uploaded and installedon the newly created server.
ci: Add support for downloading ssh_keys file
Currently support http, https and ftp protocolsusing the wget utility.
ci: Specify a flavor_name instead of a flavor_id
Specify a flavor_name (in form of a reg expression) to use.
Add snf-deploy tree
Modify devflow for snf-deploy
Remove some files
Remove README/CHANGLOG from snf-deploy/setup.py
deploy: Alter db owner+access to create
Modify database initiliazation by declaring the database owner, andgiving access to synnefo user to create databases. This options areneeded in order to be able to run tests in postgres db.
snf-deploy: Add option (--disable-colors) to disable color printing in terminal
snf-deploy: Update snfdeploy/lib.py to be pep8 compliant
ci: Remove failfast option from tests
burnin: Add new bash script to run burnin
burnin: Set CONNECTION_RETRY_LIMIT=2 on all kamaki clients
burnin: Don't register images as public
support both pithos and cyclades in tests.sh
ci: Fix tests script
burnin: add --system-images-user flag
With this flag one can specify the owner of thesystem images.Currently one has to specify owner's uuid.This options is mandatory.
burnin: Fix a bug with image metadatas
Plankton returns properties whereas Cyclades returnsmetadata for the images.
ci: Redesign CI scripts
Spawn VM to use as builder-slave.Build packages inside this VM.Deploy Synnefo using snf-deploy.Run unit tests.Run functional tests using burnin.
ci: Fix some typos in utils.py
ci: Include commands between $()
ci: Install south from squeeze-backports
ci: Fixes to ci code
ci: Copy ssh keys
Add option for copying ssh keys to the created vm.
ci: Get credentials by kamakirc
Get credentials for deployment from .kamakirc instead of config file.Also, add option in config file indicating which cloud for kamaki touse. Finally, add option in SynnefoCI to override the cloud from config.
Refs #4193
ci: Option to override image and flavor
Add option to use a custom image_id and flavor_id instead of gettingthem from config file.
ci: Remove 'deploy_on_io' option
Remove the 'deploy_on_io' option. Instead check if you will need tocompute manually the ssh port by the domain of the cyclades url.
Bump version to 0.14.8rc1
Bump version to 0.14.7
Update NEWS and Changelog
helpdesk: Fix network interface queryset
Merge branch 'hotfix-0.14.6'
Bump version to 0.14.6
Bump version to 0.14.6rc3
helpdesk: Exclude nics of deleted vms
when helpdesk users search using ip address