789 Commits

Author SHA1 Message Date
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
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
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
Mauricio Lima
4d89dd4e5c Move neutron options from group "DEFAULT" to group "generic"
Change-Id: I0d62a7303e7336c3e4a43c4eec284605fda5d125
Closes-Bug:#1557037
2016-03-14 12:25:32 -04:00
SamYaple
8b3f0d0857 Use ubuntu Mitaka repo
The rabbitmq-server package is upgraded to 3.5.7 in cloud-archive
so we update centos to match

The xen-utils package now needs an explict version, xen-utils-4.6 is
what is provided by cloud-archive mitaka

Libvirt 1.3 is in the ubuntu cloud-archive. This has a new daemon for
logging that needs further implementation in newton. For now, it has
been disabled within the qemu.conf

Co-Authored-By: Jeffrey Zhang <jeffrey.zhang@99cloud.net>
TrivialFix
Change-Id: I84217824817c484b6800a64cbd7767b127a3098e
2016-03-14 15:52:48 +00:00
Jenkins
41efde9edb Merge "Reconfigure mariadb service" 2016-03-14 15:27:55 +00:00
Jenkins
ae27f19aff Merge "Use nopreempt for keepalived" 2016-03-14 14:00:00 +00:00
Jenkins
ba6ea72a37 Merge "Compact ceph-mon files" 2016-03-14 03:53:25 +00:00
Jenkins
9e56e4a726 Merge "Reconfigure rabbitmq service" 2016-03-14 03:40:22 +00:00
SamYaple
024d76534e Use nopreempt for keepalived
Without this option the vip will always bounce to the highest priority
node that is up. So if you reboot the highest priority node the vip
will fail to the second highest. When the highest priority node
recovers it will claim the vip again leaving you will two fail overs
rather than one.

TrivialFix

Change-Id: I4a3c6c10eee391cdbdd80c44a71a9fafd1069944
2016-03-14 01:36:33 +00:00
SamYaple
9500bd239a haproxy formatting was incorrect
haproxy 1.6+ does not allow the formatting that was used for stats
listener. We need to adjust it to the correct syntax

TrivialFix

Change-Id: I5f0111c756d40a0cf7385e6963ebbb57adb36b35
2016-03-14 00:24:38 +00:00
SamYaple
8e3cc9ae1e Compact ceph-mon files
Long running clusters will see there monitor files grow to large sizes

TrivialFix

Change-Id: Id7961514895cc0a797e1dd30bf29a18d7137ea42
2016-03-13 16:38:14 +00:00
Jenkins
e482947165 Merge "Fix the nova reconfig not work issue" 2016-03-13 16:27:57 +00:00
Jeffrey Zhang
8170ea6f9c Fix the nova reconfig not work issue
The nova_compute nova_compute_ironic, nova_novncproxy
and nova_spicehtml5proxy do not be reconfigured due to
the wrong when condition

TrivialFix

Change-Id: Id27828b151301244da5d327b2b656780f283c4b4
2016-03-13 19:29:39 +08:00
Vikram Hosakote
b82b72bb20 Reconfigure rabbitmq service
Change-Id: I8228c010577bd01a7dcac18a5455e11b0e6f569a
Closes-Bug: #1553521
2016-03-11 16:12:42 +00:00
Martin André
cb43cbcc93 Use variables for auth_uri and auth_url protocols
Change-Id: Icf5de0684b10c32cc6e29b62d183705d423b4333
Closes-Bug: #1555989
2016-03-11 18:09:39 +09:00
Jenkins
a28b246259 Merge "Add cron image and playbook" 2016-03-10 20:22:15 +00:00
Mauricio Lima
0f1b9b87d9 Fix Manila v2 endpoint
Change-Id: Ice31dbf7f840818edab4eb2cb07b3a0e2d4c4020
Closes-Bug: #1555289
2016-03-09 13:58:54 -05:00
Jenkins
c122b2f118 Merge "Fixed typo in variable "ironic_public_endpoint"" 2016-03-09 18:33:46 +00:00
Jenkins
bab46d5ac4 Merge "Do not make Kibana available at the external VIP" 2016-03-09 17:29:25 +00:00
Jenkins
a82e7b1239 Merge "Remove storage_hostname" 2016-03-09 17:12:21 +00:00
Rodolfo Alonso
d6ed1a788d Fixed typo in variable "ironic_public_endpoint"
Changed from ironic_admin_endpoint to ironic_public_endpoint.

Change-Id: Ie33ef93a15573380ff013c0444510586afa6c914
Closes-Bug: #1555219
2016-03-09 16:40:49 +00:00
Mauricio Lima
cb2d63a731 Reconfigure mariadb service
Implements reconfiguring the mariadb service.

Change-Id: Ia28b85df10494adeb585fa9352ec7d45f95b8e5e
Closes-Bug: #1553524
2016-03-09 11:36:46 -05:00
Jenkins
6423b4c575 Merge "Add empty string to KOLLA_BOOTSTRAP env variable." 2016-03-09 16:29:00 +00:00
Rodolfo Alonso
241506a48d Add empty string to KOLLA_BOOTSTRAP env variable.
A change in docker-py made this fix needed, to allow to create
env variables with empty values.

Change-Id: Ife6dfc242b600fe386c02dd23d6a142b25c86567
Closes-Bug: #1554126
2016-03-09 13:58:38 +00:00
Éric Lemoine
32a4cadac9 Add cron image and playbook
Add cron image and playbook for logrotate.

The "common" Ansible playbook includes configuration files for
logrotate. At this point the operator cannot customize/override the
logrotate configuration.

Closes-Bug: #1553244
Change-Id: Ic9fdda9a273c9ccd90502f0acc7614d2c7157dca
2016-03-09 13:53:55 +01:00
Jenkins
241913cc8f Merge "Fix the deprecated security_group_api and network_api_class" 2016-03-09 12:39:25 +00:00