snf-deploy Use symbolic debian_base_url
For debian_base_url use a link that always resolvesto the latest image.
snf-deploy: Abort has been changed to True
By default abort when a command is failed to be executed.
snf-deploy: Remove old keys before generating new
When creating new ssh keys if the key already exists,ssh-keygen prompts the user if he want to overwrite it.To avoid prompting the user, delete all the old keys,before generating new ones (the user has...
snf-deploy: Add `generated' note to resolv.conf
Add a note on top of /etc/resolv.conf file to inform usersthat this file has been changed by snf-deploy and theimmutable bit has been used.
Conflicts: snf-deploy/fabfile.py
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.
deploy: Pep8 fixes
ci: Fix addition of Ganeti RAPI user
'openssl' 1.0.1e-2 prefixes the output with "(stdin)= ". Because of thisregistration of a new Ganeti RAPI user failed. This commit fixes this byremoving the prefix, before adding it to Ganeti RAPI users file.
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: Fix database engine
deploy: For local command set capture flag to True
fabric: Changed in version 1.0: Changed the default value of capturefrom True to False.
deploy: Don't use hardcoded version of postgresql
deploy: Do not import services twice
Commit 65c656c resulted in double importing services, since thiswas already fixed in commmit 3c62626.
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
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".
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'.
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
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...
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.
snf-deploy: add flavor options in 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
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)
deploy: Add snfdeploy to path to import version
deploy: Fix --dhcp option of network-create cmd
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