aboutsummaryrefslogtreecommitdiff
path: root/ansible
AgeCommit message (Collapse)AuthorFilesLines
2015-11-13Add Ansible support for MagnumMichal Rostecki16-0/+355
Change-Id: Idb25ac4d3148c9b9400cf675ac2e47d35cce6224 Implements: blueprint ansible-magnum
2015-11-12Drop root privileges for rabbitmqRyan Hallisey1-1/+1
Drop root privileges for rabbitmq. Only the rabbitmq user will be able to execute chown of /var/lib/rabbitmq. Change-Id: I546e6b475a8462bfbc75972854e1fee64f96d9cb Partially-Implements: blueprint drop-root
2015-11-09Move data container to start.ymlSam Yaple4-36/+34
The original reason for having the data container in the bootstrap.yml was to keep consistency with rabbitmq and mariadb, but in light of this bug we need to move the data container out of the bootstrap.yml role since we will be limiting the hosts that those tasks can run on. Change-Id: I7f2f5979b01807275908699d1243756cb97d3588 Partial-Bug: #1513598
2015-11-09Remove unused cinder-data containerSam Yaple2-18/+1
The cinder-data container serves no purpose and is not actually used past the bootstrap container and should be removed. Additionally add the missing '---' header to the start.yml file. TrivialFix Related-Bug: #1513598 Related-Bug: #1513439 Change-Id: I22b630bbee954e12a4de5652b7fb068669f633c5
2015-11-09Incorrect parsed variable nameSam Yaple8-8/+8
database_user_create was not correctly referenced when parsing the variable names. This could never actually lead to a situation that reported a false change, but it could break an operation if you were using the --step option with ansible and skipped the database create task. TrivialFix Backport: Liberty Change-Id: Idf69fffcc3814f509448ccea11b7d175f074ccf1
2015-11-06Merge "Finish implementation of spice"Jenkins7-17/+94
2015-11-06Finish implementation of spiceSam Yaple7-17/+94
Due bad rebases there is a huge section of the spice patch missing from the implementation unfortunately. This patch finishes the rest of this patch out properly. Change-Id: I693c6745e9594fd91eb6453f6de9dfcbd410e89c Paritally-Implements: blueprint nova-proxies
2015-11-06Merge "bootstrap takes place on the wrong node"Jenkins8-16/+44
2015-11-06Merge "Allow disabling of sysctl values"Jenkins4-4/+16
2015-11-05bootstrap takes place on the wrong nodeSam Yaple8-16/+44
The bootstrap must occur on the nova-api node due to binding in the nova-api directory (same goes for all other services) Closes-Bug: #1513439 Backport: Liberty Change-Id: Iab88b49712828085e4d7e7f85e6d8f0b7999a9bf
2015-11-05Allow disabling of sysctl valuesSam Yaple4-4/+16
The main reason for this change is to allow the DinD stuff to work. It has limited use outside of that use case, but it may still be useful to others in the future. Change-Id: Ib3a4639cfb3fc0d378d33fc8b9ff8eb597f818ab Partially-Implements: blueprint multinode-gate
2015-11-05Remove vip for rabbitmqSam Yaple16-45/+124
Adjust all the configs to list all the rabbitmq hosts rather than running rabbitmq through the VIP. This is made possible by clusterer which has already merged. Change-Id: I5db48f5f10ec68f4c8863a29bc13984f6845a4f9 Partially-Implements: blueprint rabbitmq-clusterer
2015-11-03Merge "Ansible config for Spice console"Jenkins2-3/+20
2015-11-03Merge "Small refactor for site.yml"Jenkins1-25/+99
2015-11-03Merge "Use rabbitmq-clusterer when deploying"Jenkins7-14/+27
2015-11-03Ansible config for Spice consoleSam Yaple2-3/+20
Change-Id: Id6ccf169c8ce07c78df150de21ab2d36eec3949f Partially-Implements: blueprint nova-proxies
2015-11-03Small refactor for site.ymlSam Yaple1-25/+99
As the bug mentions this file is complex and has caused problems in the past. It will likely cause problems in the future. Change-Id: I28db6a38406ce0dd38340319eea7ef9134682007 Closes-Bug: #1512582
2015-11-03Add missing murano-api to site.ymlSam Yaple1-1/+1
Related to I6b6f2c266cbb4c8131a949e31094572dad91fc40 TrivialFix Backport: Liberty Change-Id: If7096682f4b0923835d3cd74d72988fd8d1346f1
2015-11-03Use rabbitmq-clusterer when deployingSam Yaple7-14/+27
Change-Id: I2a9c6fa16444a2142ab77f58d188eda84a2e59fd Partially-Implements: blueprint rabbitmq-clusterer
2015-11-03Merge "Automate setting up a cache tier"Jenkins9-18/+234
2015-11-03Merge "Allow ceph pool names to be configurable"Jenkins7-12/+17
2015-11-03Merge "Allow specifying erasure as the pool type"Jenkins4-4/+13
2015-11-02Merge "heat containers depends on 'common' (rsyslog, log_data, kolla-ansible)"Jenkins1-0/+3
2015-11-01Merge "HAProxy does not have murano-api configuration"Jenkins1-0/+8
2015-11-01HAProxy does not have murano-api configurationVladislav Belogrudov1-0/+8
This commit fixes configuration for murano-api HA Change-Id: I6b6f2c266cbb4c8131a949e31094572dad91fc40 Closes-Bug: #1510921 Backport: Liberty
2015-11-01nova.conf: fix incorrect neutron credentials.Jérôme Vizcaino1-1/+1
Nova should use Neutron credentials to interact with Neutron. Backport: liberty Closes-Bug: #1512070 Change-Id: I78ec4c032d457b519ccfed9cab190afd65027048
2015-10-24heat containers depends on 'common' (rsyslog, log_data, kolla-ansible)Jérôme Vizcaino1-0/+3
Change-Id: Ice5ddf2cfcf5655cb98ec4f822fd376589c14cec Closes-Bug: 1509627
2015-10-23Fix broken galeraSam Yaple1-2/+2
A previous commit [1] broke Galera on Ubuntu while trying to fix Centos. This fixes the underlying different between the two distros and should help prevent that kind of mistake in the future. [1] I523d1989575dbe24a891fcae3b6bf56d83e69615 Change-Id: Ie3e47f10cb669f36f8d2f166c88555931a54e3ec Backport: Liberty Closes-Bug: #1509281
2015-10-23Encode datadir for xtrabackupSteven Dake1-0/+2
Xtrabackup previously used a hardcoded datadir. In the latest update to xtrabackup, the my.cnf config option datadir is now parsed. This variable was unset, causing galera to implode. backport: liberty Change-Id: I523d1989575dbe24a891fcae3b6bf56d83e69615 Closes-Bug: #1509281
2015-10-22Automate setting up a cache tierSam Yaple9-18/+234
Introduces a new flag to bootstrap cache devices DocImpact Partially-Implements: blueprint ceph-improvements Change-Id: I09b5a0d5c61b3465237e5f01dc10120725561cd3
2015-10-22Allow ceph pool names to be configurableSam Yaple7-12/+17
Change-Id: Ic408ef7aec7f1c95396a0ccf0209b104908a3f21 Partially-Implements: blueprint ceph-improvements
2015-10-22Allow specifying erasure as the pool typeSam Yaple4-4/+13
Change-Id: I581efd7c0d138cb78ab3afd755521f3fb375c0ee Partially-Implements: blueprint ceph-improvements
2015-10-21Merge "Add nova-spicehtml5proxy console"Jenkins1-0/+11
2015-10-19Add nova-spicehtml5proxy consoleSam Yaple1-0/+11
Change-Id: I0ca15e00ee52373b84f7021d86a29304526b7436 Partially-Implements: blueprint nova-proxies
2015-10-18Use bool filter for ironicSam Yaple1-1/+1
TrivialFix Change-Id: Idaa6376c8585b9bebe1d68a518f965124dfe6b76
2015-10-15Merge "Enable COMPRESS_OFFLINE for Horizon"Jenkins1-0/+1
2015-10-15Use memcache for consoleauth and horizonSam Yaple5-10/+11
Unfortunately there was no was to avoid memcache for consoleauth, so we might as well take advantage of it for Horizon as well. Change-Id: Idd338a025b031f6b50fe0c9f03c2c8d862f9d4c0 Closes-Bug: #1504606 Closes-Bug: #1504800
2015-10-15Enable COMPRESS_OFFLINE for HorizonSam Yaple1-0/+1
Without this set the CSS is messed up again TrivialFix backport: liberty Change-Id: I9e4cfc53d9791f75d4fdd52abe562c58035b0979
2015-10-14Add tty to containersSam Yaple31-0/+84
sudo requires a tty to function by default on centos. Instead of tweaking the sudo conf we can just add a tty. This has the added advantage of making the containers more friendly if you have to `docker exec -i <container> bash` into them. Change-Id: If97a02ca1d37c243a787d98ade54bde8d641aecd backport: liberty Partially-Implements: blueprint functional-testing-gate
2015-10-14Merge "Also copy over Swift builder files for rings"Jenkins1-0/+8
2015-10-13Fix issue with su and bad kernelsSam Yaple1-1/+1
Long story short, some kernels before 3.15 had an issue with using su in a container when the network namespace was --net=host. The gate has a 3.10 and a 3.13 kernel and has a problem with this. This changes everything to use sudo backport: liberty Partially-Implements: blueprint functional-testing-gate Change-Id: I4d79ccaa1cddffcc8393f64e7e1be2538efe33e5
2015-10-13Bump ansible to 1.9.2Sam Yaple32-78/+0
Ansible 1.9.2 contains the fix needed for docker-py >1.2.0 This is needed for some gate reasons, but it is also a good version bump because it fixes a few issues with delegate_to. Change-Id: Iafbabb3b0232620849d0548c5cd9d8d316c2b0f3 backport: liberty Partially-Implements: blueprint functional-testing-gate
2015-10-13Also copy over Swift builder files for ringsPaul Bourke1-0/+8
These are required for certain commands such as inspecting the state of the rings on a node. Change-Id: Iaefb252503320d5b4fcefe12f5d43f0aaf25cad6 backport: liberty Closes-Bug: #1491779
2015-10-12Merge "Ignore the 'Disk Flags:' line in parted"Jenkins1-4/+6
2015-10-11Ignore the 'Disk Flags:' line in partedSam Yaple1-4/+6
This is a difference between different versions of parted and since we since we are screen scraping this is a clean solution. backport: liberty Change-Id: I4c441bb16cfba7f405d2a41233d0129e61715c62 Closes-Bug: #1504920
2015-10-11Glance round robin for default file backendSam Yaple2-1/+7
Closes-Bug: #1504902 Change-Id: Id4cced68ef078adb3db19c67f62d96275ab2329f
2015-10-09Merge "Swift JSON files looking for rings in the wrong place"Jenkins14-23/+23
2015-10-09Merge "Neutron-server should be on control group"Jenkins2-2/+2
2015-10-09Neutron-server should be on control groupNguyễn Duy Vũ (CBR09)2-2/+2
It's convenient for tools/init-runonce work properly Closes-Bug: #1503999 backport: liberty Change-Id: I2d9f97e59ae4de3404f95a5231103cdd40a68835
2015-10-08Swift JSON files looking for rings in the wrong placePaul Bourke14-23/+23
For Swift, the *.json.j2 templates are looking under {{ container_config_directory }} whereas they need to be looking in the common location for swift which is /var/lib/kolla/swift Change-Id: I6f0dcbc9a705b36d1d98275ba9ebc56404fe882d backport: liberty Closes-Bug: #1504210