309 Commits

Author SHA1 Message Date
Sam Yaple
4ad8db7168 Remove unused cinder-data container
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-09 10:47:16 +00:00
Sam Yaple
6b28343017 Incorrect parsed variable name
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-09 10:47:15 +00:00
Jenkins
44b5a8867e Merge "Finish implementation of spice" 2015-11-06 21:57:08 +00:00
Sam Yaple
99932d650d Finish implementation of spice
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-06 03:48:07 +00:00
Jenkins
037bdca42d Merge "bootstrap takes place on the wrong node" 2015-11-06 03:32:36 +00:00
Jenkins
58a9759b84 Merge "Allow disabling of sysctl values" 2015-11-06 03:31:22 +00:00
Sam Yaple
e2bc9dcf79 bootstrap takes place on the wrong node
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-05 16:30:44 +00:00
Sam Yaple
1efdf4574d Allow disabling of sysctl values
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-05 16:29:25 +00:00
Sam Yaple
347730cec8 Remove vip for rabbitmq
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-05 15:43:20 +00:00
Jenkins
32006d8149 Merge "Ansible config for Spice console" 2015-11-03 20:48:36 +00:00
Jenkins
816da38605 Merge "Small refactor for site.yml" 2015-11-03 14:32:53 +00:00
Jenkins
2d8c7e3350 Merge "Use rabbitmq-clusterer when deploying" 2015-11-03 14:29:56 +00:00
Sam Yaple
cd3c089978 Ansible config for Spice console
Change-Id: Id6ccf169c8ce07c78df150de21ab2d36eec3949f
Partially-Implements: blueprint nova-proxies
2015-11-03 06:32:52 +00:00
Sam Yaple
9e7977d609 Small refactor for site.yml
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-03 05:47:47 +00:00
Sam Yaple
0194803935 Add missing murano-api to site.yml
Related to I6b6f2c266cbb4c8131a949e31094572dad91fc40

TrivialFix
Backport: Liberty

Change-Id: If7096682f4b0923835d3cd74d72988fd8d1346f1
2015-11-03 05:18:53 +00:00
Sam Yaple
d01e9a43dd Use rabbitmq-clusterer when deploying
Change-Id: I2a9c6fa16444a2142ab77f58d188eda84a2e59fd
Partially-Implements: blueprint rabbitmq-clusterer
2015-11-03 04:51:45 +00:00
Jenkins
d66e425397 Merge "Automate setting up a cache tier" 2015-11-03 00:23:26 +00:00
Jenkins
8f5955307c Merge "Allow ceph pool names to be configurable" 2015-11-03 00:23:19 +00:00
Jenkins
2c2b6c58cf Merge "Allow specifying erasure as the pool type" 2015-11-03 00:23:12 +00:00
Jenkins
5136a85edd Merge "heat containers depends on 'common' (rsyslog, log_data, kolla-ansible)" 2015-11-02 12:46:54 +00:00
Jenkins
59c8ad0cd9 Merge "HAProxy does not have murano-api configuration" 2015-11-01 23:38:59 +00:00
Vladislav Belogrudov
f4eb89f8b0 HAProxy does not have murano-api configuration
This commit fixes configuration for murano-api HA

Change-Id: I6b6f2c266cbb4c8131a949e31094572dad91fc40
Closes-Bug: #1510921
Backport: Liberty
2015-11-01 20:27:02 +00:00
Jérôme Vizcaino
b072ea9c3d nova.conf: fix incorrect neutron credentials.
Nova should use Neutron credentials to interact with Neutron.

Backport: liberty
Closes-Bug: #1512070
Change-Id: I78ec4c032d457b519ccfed9cab190afd65027048
2015-11-01 12:02:00 +01:00
Jérôme Vizcaino
96a5d1a1eb heat containers depends on 'common' (rsyslog, log_data, kolla-ansible)
Change-Id: Ice5ddf2cfcf5655cb98ec4f822fd376589c14cec
Closes-Bug: 1509627
2015-10-24 11:41:18 +02:00
Sam Yaple
268aaa60fd Fix broken galera
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-23 20:15:37 +00:00
Steven Dake
3842391b78 Encode datadir for xtrabackup
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-23 03:19:31 -07:00
Sam Yaple
b27880aa77 Automate setting up a cache tier
Introduces a new flag to bootstrap cache devices

DocImpact
Partially-Implements: blueprint ceph-improvements

Change-Id: I09b5a0d5c61b3465237e5f01dc10120725561cd3
2015-10-22 10:51:44 +00:00
Sam Yaple
1d60be3770 Allow ceph pool names to be configurable
Change-Id: Ic408ef7aec7f1c95396a0ccf0209b104908a3f21
Partially-Implements: blueprint ceph-improvements
2015-10-22 10:51:44 +00:00
Sam Yaple
6932ca48b8 Allow specifying erasure as the pool type
Change-Id: I581efd7c0d138cb78ab3afd755521f3fb375c0ee
Partially-Implements: blueprint ceph-improvements
2015-10-22 10:51:44 +00:00
Jenkins
ef862427fa Merge "Add nova-spicehtml5proxy console" 2015-10-21 10:01:15 +00:00
Sam Yaple
a7d4431928 Add nova-spicehtml5proxy console
Change-Id: I0ca15e00ee52373b84f7021d86a29304526b7436
Partially-Implements: blueprint nova-proxies
2015-10-19 12:09:48 +00:00
Sam Yaple
d6bf048c34 Use bool filter for ironic
TrivialFix

Change-Id: Idaa6376c8585b9bebe1d68a518f965124dfe6b76
2015-10-18 19:19:43 +00:00
Jenkins
968a42b826 Merge "Enable COMPRESS_OFFLINE for Horizon" 2015-10-15 15:01:15 +00:00
Sam Yaple
2ea87ebdb7 Use memcache for consoleauth and horizon
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-15 10:47:21 +00:00
Sam Yaple
718ed4313a Enable COMPRESS_OFFLINE for Horizon
Without this set the CSS is messed up again

TrivialFix
backport: liberty

Change-Id: I9e4cfc53d9791f75d4fdd52abe562c58035b0979
2015-10-15 10:45:35 +00:00
Sam Yaple
b2ac6e80cd Add tty to containers
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-14 10:54:33 +00:00
Jenkins
4fa81c88a3 Merge "Also copy over Swift builder files for rings" 2015-10-14 01:58:09 +00:00
Sam Yaple
5f200e0446 Fix issue with su and bad kernels
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-13 15:13:55 +00:00
Sam Yaple
c5be228be8 Bump ansible to 1.9.2
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-13 15:13:34 +00:00
Paul Bourke
b4fc9cff07 Also copy over Swift builder files for rings
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-13 11:41:45 +00:00
Jenkins
5e73b19818 Merge "Ignore the 'Disk Flags:' line in parted" 2015-10-12 09:49:37 +00:00
Sam Yaple
c6bf42d07f Ignore the 'Disk Flags:' line in parted
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-11 13:20:34 +00:00
Sam Yaple
0cefd64450 Glance round robin for default file backend
Closes-Bug: #1504902
Change-Id: Id4cced68ef078adb3db19c67f62d96275ab2329f
2015-10-11 09:45:09 +00:00
Jenkins
952ea3d888 Merge "Swift JSON files looking for rings in the wrong place" 2015-10-09 17:59:25 +00:00
Jenkins
fbf0daf1de Merge "Neutron-server should be on control group" 2015-10-09 17:28:23 +00:00
Nguyễn Duy Vũ (CBR09)
44d1103587 Neutron-server should be on control group
It's convenient for tools/init-runonce work properly
Closes-Bug: #1503999
backport: liberty
Change-Id: I2d9f97e59ae4de3404f95a5231103cdd40a68835
2015-10-09 23:43:02 +07:00
Paul Bourke
71fbf63c88 Swift JSON files looking for rings in the wrong place
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
2015-10-08 17:08:56 +00:00
Paul Bourke
6d2bc05325 Copy over missing swift-rsyncd JSON config
Change-Id: I3ab009699a1fb88ae7add9dde03dd164f8f727c3
backport: liberty
Closes-Bug: #1504207
2015-10-08 17:07:04 +00:00
Paul Bourke
030bb04cb9 Fix incorrect filename in swift-account-reaper ansible task
Change-Id: I36d8455e904732195edcd3862d4b4445346e1bc0
backport: liberty
Closes-Bug: #1504204
2015-10-08 17:06:16 +00:00
Sam Yaple
a38868f9cb Fix wrong sysctl variable name (part 2)
Change-Id: I8e4c9beb90a0b289f56947ca6292f6455e26e07b
Closes-Bug: #1503416
2015-10-07 07:59:25 +00:00