wheezy: fix _patch_resolve to comply with Django
Class RegexURLPattern doesn't contain `_get_callback' method any moreand resolve the callback when we try to retrieve it.
wheezy: Update Django dependency to <=1.4.5
wheezy: Django database engine has been changed
wheezy: is_hop_by_hop has been removed from Django
Implement our own is_hop_by_hop function.
wheezy: mail_admins method in Django has changed
An extra parameter (html_message) has been added.
deploy: For local command set capture flag to True
fabric: Changed in version 1.0: Changed the default value of capturefrom True to False.
ci: Support wheezy installation
deploy: Don't use hardcoded version of postgresql
ci: Do not run pithos tests by default
deploy: Do not import services twice
Commit 65c656c resulted in double importing services, since thiswas already fixed in commmit 3c62626.
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.
Fix missing import and broken test
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.
snf-django: Add missing import
Various fixes to make tests work in hotfix branch
Copy test settings from develop branch
Update South dependency to >=0.7.3
Revert "deploy: Fix --dhcp option of network-create cmd"
This reverts commit 73607c335593146f3f4bf31960c9a7042598d510.
deploy: Support both wheezy and squeeze packages
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
snf-deploy: some minor fixes and typos
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
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: Fix importing services to astakos
Use snf-manage service-export and service-import management commands toimport services and corresponding resources to astakos. Also, remove oldtemporary files that were used for this procedure.
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.
snf-deploy: Use filebased email_backend
Change the email backend from dummy to a filebased one.
snf-deploy: Remove ssh keys
Remove ssh keys from snf-deploy package.We can now generate new keys running `snf-deploy keygen'.
ci: Instruct snf-deploy to generate ssh keys
deploy: Automate service registration
Use script snf-service-export to assist registering service definitionsin astakos. Remove call to resource-import; its usage is covered byservice-import.
deploy: minor updates
Hard code latest kamaki version that does not break deploy.snf-manage network-create --dhcp
Add os per node
This is needed for heterogeneous setups.Depending on os the corresponding sources file is addedand the proper synnefo packages are installed (~wheezy or ~squeeze)
deploy: Refactor nfs
Switch to nfs v3.Explicitly use IP in /etc/exports and not subnet.
Subnet and gateway are only used by vlcuster and thusmove them from nodes.conf to vcluster.conf.
deploy: some fixes
kamaki register imagetmp wheezy sources for ganeti htools (not used any more)import_service
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.
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: 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