snf-ci: Fix a typo
deploy: update ganeti and nfqueue packages
Use latest custom 2.8.2 ganeti which consists of ganeti-haskell,ganeti-htools, snf-ganeti.
nfqueue-bindings-python is replaced by python-nfqueue inwheezy. Use our custom package which supports an extra method...
Merge branch 'feature-cyclades-networks' into develop
Conflicts: snf-cyclades-app/synnefo/api/management/commands/server-inspect.py snf-cyclades-app/synnefo/app_settings/urls.py snf-cyclades-app/synnefo/logic/backend.py snf-cyclades-app/synnefo/logic/backend_allocator.py...
ci: Extend tests.sh to run astakosclient unittests
ci: Prefer IPv4 over IPv6
Set up the newly created machine to prefer IPv4 connections(mainly for apt-get) over IPv6 connections.
snf-ci: Run the unit tests for cyclades-userdata
ci: kamaki config.get_global method is deprecated
Use the newer config.get("global", ..) syntax.Fallback to the old one for older version of kamaki.
ci: Improve pep8 script
Rewrite the script in python.Invoke pep8 for a list of files given in the command line.Exclude files which are not python ones (their names don'tend with .py) or are not real files (i.e. have been removedduring the last commit).
snf-ci: Bulid pithos-web-client package
Synnefo depends on pithos-web-client. Up until nowwe were downloading this package from apt.dev.grnet.gr.But when we make a change in Synnefo that also affectspithos-web-client, we have to upload a new version of...
deploy: Install snf-ganeti 2.8 from unstable
deploy: Update nfqueue-bindings-python dependency
snf-deploy: Remove packages.conf
This is not needed any more because we have squeeze and wheezy ones
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
snf-deploy: fix snf-deploy ganeti
A typo and explicitely install drbd8-utils package for ganeti.
ci: Fix install script
Check correctly for environment variable $VIRTUAL_ENV;pass option -N in `setup.py develop'.
snf-deploy: Change email backend file location
Change Django's filebased email backend locationfrom '/var/log/gunicorn/synnefo-mail/' to'/var/tmp/synnefo-mail/'. We do this due to permissionerrors.
snf-ci: Add --no-colors options
By default use a colorful output.
snf-ci: Check uniqueness of build_ids
If the user tries to overwrite a build_id that isalready in use, exit with an error message.
deploy: Add python-django to wheezy conf files
ci: Use ci_wheezy.conf as the default ci config
deploy: python-django squeeze-backports
Merge branch 'hotfix-0.14.8' into develop
Merge hotfix-0.14.8 which ports Synnefo to wheezy and Django 1.4.5
Conflicts: ci/ci_squeeze.conf ci/ci_wheezy.conf ci/schemas/one_node_squeeze/packages.conf ci/schemas/one_node_squeeze/squeeze.conf ci/schemas/one_node_squeeze/wheezy.conf...
snf-ci: Create new section, even with -n option
snf-ci: Fix a race condition
When creating a new build_id to be used by snf-ci,we have to lock the ci_temp_conf file.
snf-deploy Use symbolic debian_base_url
For debian_base_url use a link that always resolvesto the latest image.
deploy: Modify dir for filebased email_backend
Allow user to modify the directory that willbe used for the filebased email backend by Django.
Also move the EMAIL_BACKEND option from astakos tocommon.
ci: Frist try to use SynnefoCIWheezy image
deploy: Install rabbitmq from Debian repos
Now that squeeze-backports has 2.8.4-1~bpo60+1 andwheezy has 2.8.4-1 version we can install rabbitmq-serverfrom the official Debian repos.
ci: Use -U when installing with pip
ci: Fix a bug with config_file relative filepath
ci: Support wheezy installation
ci: Do not run pithos tests by default
ci: Add xterm into published applications
Published applications are used by X2Go and makes it possible todisplay a menu with a list of the available remote applicationsfor the user, which when started behaves like a locally installedapplication.
ci: Add an x2goplugin command to snf-ci
With this command snf-ci produces an html filewhich uses the x2goplugin to connect to the remotemachine.
Various fixes to make tests work in hotfix branch
ci: Change deploy config files
Whenever we change deploy's config files, we also have tochange the snf-ci's schema files.
ci: Fix a bug
Flavor ids are integers so we have to turn theminto strings before comparing them with our value.
Remove obsolete autopkg_debian script
ci: Change pep8 script
Instead of pep8 testing all files, the scriptnow accepts a list of files to be checked.
ci: Exit if there are no file to check with pep8
ci: Check only .py files for pep8 errors
ci: Strip \" from `py_files'
We want to pass `py_files' to pep8 commandas arguments and not as one single string.
ci: add missing squeeze/wheezy conf files
snf-django: pep8 fixes
ci: Change run_burnin exit status
Make run_burnin snf-ci function to exit with the sameexit code as snf-burnin did.
deploy: By default use only file disk template
By default snf-deploy will not enable lvm and drbd storage. So, thedefault setting for flavors should include only 'file' disk template.
ci: Instruct snf-deploy to generate ssh keys
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
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.
ci: update ci/schemas/one_node/synnefo.conf
ci: Disable snf-deploy colors
Use --disable-colors option of snf-deploy to disable colors whenrunning snf-deploy from ci scripts.
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
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
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.
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.