813 Commits

Author SHA1 Message Date
Jenkins
b333f44a53 Merge "Fix mysql bootstrap" 2016-03-21 13:02:40 +00:00
Jenkins
2fc2dc6457 Merge "Install neutron in manila-share group only when enable_manila is true" 2016-03-21 12:39:53 +00:00
Jenkins
fe1f7e29ce Merge "Fix 'optional' config.json values" 2016-03-21 12:39:46 +00:00
Jenkins
4d37a8a33f Merge "Rework heka log copying" 2016-03-21 12:39:35 +00:00
Jenkins
b198da6318 Merge "Enabled nova->glance snapshots" 2016-03-21 12:33:38 +00:00
SamYaple
afce10dea4 Fix mysql bootstrap
The lightsout recover patch broke multinode mysql. Also the lightsout
recovery didnt probably pass the --wsrep-new-cluster flag. This
updates the mariadb bootstrap to work with multinode again.

Closes-Bug: #1559480
Related-Id: I903c3bcd069af39814bcabcef37684b1f043391f
Change-Id: I1ec91a8b2144930ea8f04cc1c201b53712352e4e
2016-03-21 12:23:00 +00:00
Jenkins
cfbd96bbb9 Merge "Move manila variable" 2016-03-21 10:05:13 +00:00
Jenkins
c14007578f Merge "Change deprecated options throughout Kolla" 2016-03-21 10:05:07 +00:00
Jenkins
059f708c5f Merge "Add memcached_servers to keystone_auth section" 2016-03-21 09:52:39 +00:00
Jenkins
25af34ce74 Merge "Allow user to choose filesystem for osd" 2016-03-21 09:26:14 +00:00
Jeffrey Zhang
b13c18ae9c Install neutron in manila-share group only when enable_manila is true
TrivialFix

Change-Id: Idfc5d03d3359003cdb82b85b71b87ccefd4a0a43
2016-03-21 12:58:55 +08:00
Jenkins
39ac7fab7b Merge "Fix Linux bridge reconfig issue" 2016-03-21 03:08:00 +00:00
Jenkins
fa2b14a69a Merge "Add check if all the hostnames are resolvable" 2016-03-21 02:10:36 +00:00
Vikram Hosakote
66f3944db7 Fix Linux bridge reconfig issue
This bug was reported by eandersson in IRC today.

TrivialFix

Change-Id: I3100d2bc567f641894817bd9cf3b2213416085b2
2016-03-21 01:01:00 +00:00
Jenkins
6e9c51898e Merge "Fix the prechecks role idempotent" 2016-03-20 17:48:25 +00:00
Jeffrey Zhang
d7495b1d39 Fix the prechecks role idempotent
the prechecks role should be idempotent and should changed nothing when
running.

TrivialFix

Change-Id: Ib5063d879e0f5f414d607bd9b6493a7499fc5652
2016-03-21 00:10:15 +08:00
SamYaple
d786ac948a Move manila variable
The user variable was incorrectly in passwords.yml

The naming was inconsistent, it should be prefixed with manila_*

Removed old unused variable

TrivialFix

Change-Id: I182797fcc6d62d35174403d78d71c8ad7ddcbc43
2016-03-19 23:55:13 +00:00
SamYaple
56fd071bcb Change deprecated options throughout Kolla
These options have all be deprecated/removed. This switches all
options to thier proper mitaka values.

TrivialFix
Change-Id: Ica8d5ea0d48da01ee11672a32890431acd6a306d
2016-03-19 23:55:05 +00:00
SamYaple
f4175f04d7 Fix 'optional' config.json values
These values are optional only when the services are not enabled.

If the file does not exist we should not warn, but rather inform.

Ceph-mon is an exception here since its bootstrap process means
the files may or may not exist initially.

TrivialFix

Change-Id: Ic02bece76d480e99deecf612036f37abb5604135
2016-03-19 23:01:27 +00:00
SamYaple
0a1486a2c7 Rework heka log copying
Now that we have reconfigure we dont have to copy over all config
files at the same time.

TrivialFix

Change-Id: I866be0f05e604151e081974a64f17bf65787f604
2016-03-19 23:01:15 +00:00
SamYaple
6d0cd535d3 Allow user to choose filesystem for osd
Change-Id: I9c770a08219d2eead5ece8e3462157359cd920cb
Partially-Implements: blueprint ceph-improvements
2016-03-19 22:36:30 +00:00
SamYaple
d4535b6dc3 Add memcached_servers to keystone_auth section
The in-process cache for keystone tokens has been deprecated due to
"incosistent results and high memory usage" with the expectation we
switch to memcached_servers if we want to stay performant.

Add memcache_servers [cache] section to the appropriate servers as the
[DEFAULT]\memcache_servers options was deprecated.

TrivialFix
Related-Id: Ied2b88c8cefe5655a88d0c2f334de04e588fa75a

Change-Id: Ic971bdddc0be3338b15924f7cc0f97d4a3ad2440
2016-03-19 21:53:03 +00:00
SamYaple
45aafc724f Fix linuxbridge driver
We were specifying the wrong driver in our nova.conf

Change-Id: I37a3d366f2895b9d1281815ef85209feaa37b92d
Closes-Bug: #1559494
2016-03-19 16:32:41 +00:00
Michal (inc0) Jastrzebski
d2f828a134 Add check if all the hostnames are resolvable
Rabbitmq can't work with IPs, so we need to make sure that all
rabbit cluster hosts can resolve each others hostnames. We
should also require that in docs.

DocImpact
Closes-Bug: #1559158

Change-Id: I2418187138988d21da3dc3624e9cdbda891d4894
2016-03-19 04:24:41 +00:00
Serguei Bezverkhi
05b6995f63 Fixes incorrect swift service endpoints
This bugfix fixes incorrect swift proxy-server endpoint.

Closes-Bug: #1559207

Change-Id: Idcdbaedbbde4922b0d5e31557aaf5cfcfdff8636
2016-03-18 12:42:23 -04:00
SamYaple
9fbcd6c2ba Enabled nova->glance snapshots
Thanks to the related-id commit we can do nova->glance snapshots. This
updates the keyrings to reflect that change.

Change-Id: I02f083aec0255e9d681bd225a11ead6f5a379366
Related-Id: If13d25b6c94e247d2505583b524ae3af9c34b5dc
2016-03-18 14:55:32 +00:00
Jenkins
c61d9b5bc1 Merge "Add unmap to cinder for ceph" 2016-03-18 06:53:48 +00:00
Jenkins
f5bdcfbb60 Merge "Allow per node configuration with augments" 2016-03-18 03:45:06 +00:00
SamYaple
ef0a13554c Add unmap to cinder for ceph
This matches the current default for nova.conf. Use unmap/discard if
t is enabled on the hypervisor. This option is new for mitaka.

TrivialFix

Change-Id: Id94c05e2ec8a65c75ec82afcd4150390f8b87ee2
2016-03-18 02:48:04 +00:00
Jenkins
e20f3ec7f5 Merge "Refactor glance config tasks" 2016-03-18 02:29:54 +00:00
Jenkins
14b3a7f187 Merge "Add cron to pull playbooks" 2016-03-18 02:21:19 +00:00
Jenkins
9c235f6b91 Merge "Change libvirt volume name to libvirtd" 2016-03-18 02:06:19 +00:00
SamYaple
1f371e2717 Allow per node configuration with augments
This type of per node configuration is required to support things like
availability zones for nova. As always, if this file doesnt exist it
doesnt get used so this change is safe.

TrivialFix

Change-Id: Iff8172af522c2c96e5f2c173b24a5dfd4d522ed2
2016-03-17 17:18:00 +00:00
SamYaple
ff91d53c76 Refactor glance config tasks
This now matches the way we copy confis in other services.

TrivialFix

Change-Id: Ia9c6d5f9a633c0b20b4d9a697863bd2753d39443
2016-03-17 17:18:00 +00:00
SamYaple
b160a78995 Add cron to pull playbooks
TrivialFix

Change-Id: I9e7e65d6e5ddfb3c387e147a8cc6f5aae1aab0cd
2016-03-17 17:13:38 +00:00
SamYaple
f096cdcb40 After refactor, the upgrade code was missing task
TrivialFix

Change-Id: Ic946c613e5197d988897bd450040a1ea66a60f77
2016-03-17 17:13:09 +00:00
Jenkins
3c0641b36b Merge "MariaDB lights out recovery" 2016-03-17 06:24:32 +00:00
Jenkins
1feb1a5f4a Merge "Remove commented line" 2016-03-17 02:35:14 +00:00
Jenkins
906c13eb61 Merge "Set --ipc option to "host" for kolla_docker" 2016-03-16 19:16:40 +00:00
Mauricio Lima
b1cd6f473a Remove commented line
TrivialFix

Change-Id: Iadeada65248160ac34d917c67dca7954e1b449d2
2016-03-16 13:12:18 -04:00
Jenkins
0f3e1ffe3c Merge "Mariadb upgrade" 2016-03-16 17:08:41 +00:00
Serguei Bezverkhi
f97fecd736 Set --ipc option to "host" for kolla_docker
This change will enable to lvm commands running in a container
communicate with udev process running on a host.

Partially-Implements: blueprint iscsi-lvm2-docker

Change-Id: If780710bb81adaee44ce0d291e22ce91ec6436aa
2016-03-16 12:30:52 -04:00
SamYaple
2aaaed770e MariaDB lights out recovery
This playbook only matters for multinode since AIO can recover from
power outage without additional configuration.

DocImpact
Implements: blueprint mariadb-lights-out
Change-Id: I903c3bcd069af39814bcabcef37684b1f043391f
2016-03-16 15:53:44 +00:00
SamYaple
cc6cfdf4df Mariadb upgrade
Minor versions of mariadb upgrade do not require full cluster stop.
Full cluster stop will need to be address during the move to 10.1 at
some time in the future.

Change-Id: Ia048a3fd4d79921f827f3b88c623d26db506bfc3
Partially-Implements: blueprint upgrade-kolla
Implements: blueprint upgrade-mariadb
2016-03-16 15:53:27 +00:00
SamYaple
b98bc3a458 Change libvirt volume name to libvirtd
This change is a "futureproofing" thing. It has already been discussed
that libvirt should not be a child of nova and should be removed out
to the base docker directory (just like openvswitch isn't a child of
neutron). That is not going to happen this cycle but when it does we
can't change the name of the volume. This updates the volumes to the
proper name of libvirtd. This is in contrast with the libvirtlogd
volume that will be needed in newton due to libvirt 1.3

Of note, the container can remain named nova_libvirt since we can
change that on the fly later without breaking instances.

This wont break liberty as named_volumes are not backported yet.

TrivialFix

Change-Id: I16cf9e1b1dbba9b5a9f5cc883494580e276d4f72
2016-03-15 22:41:00 +00:00
SamYaple
976c9c93c7 Switch to with items for sysctl
This will give more info to the user about the specific values being
set and allows us to grow this list easier.

TrivialFix

Change-Id: Iaf22bf2c9f4ab294bec0cca17699d461852109ac
2016-03-15 14:57:06 +00:00
SamYaple
22fe11840b Move sysctl out of haproxy container
sysctl was improperly set in the contaienr itself which is not correct

TrivialFix

Change-Id: If2ffca6d2a40e86db4af2f103a27b280bc5fa2ff
2016-03-15 14:56:38 +00:00
Jenkins
f4d6aaf097 Merge "Fix UnicodeEncodeError for Manila" 2016-03-15 05:53:06 +00:00
MD NADEEM
57af3759f4 Fix UnicodeEncodeError for Manila
TASK: [manila | Copying over manila.conf] fails while
deploying Manila ubuntu binary image with the following
error.

UnicodeEncodeError: 'ascii' codec can't encode character
u'\u2018' in position 313: ordinal not in range(128)

The reason was use of non-ascii character <``> in manila.conf.j2
which is replaced by <''> in this patch to fix the issue.

Change-Id: Ic26a5829ed700179997c7c06836fd581a67a6777
2016-03-15 10:04:21 +05:30
Jenkins
439188cedb Merge "Use ubuntu Mitaka repo" 2016-03-15 02:35:47 +00:00