3518 Commits

Author SHA1 Message Date
Vikram Hosakote
ec3baf0428 Install Elasticsearch and Kibana packages using yum/apt-get
Test results of this patch set are at
http://paste.openstack.org/show/490450/.

Change-Id: I2957cc70fcca34706ec50a630d785f0630c3f5c0
Closes-Bug: #1553203
2016-03-18 04:05:30 +00:00
Jenkins
f5bdcfbb60 Merge "Allow per node configuration with augments" 2016-03-18 03:45:06 +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
Jenkins
7adfd95184 Merge "Reorder operations of mkdir and useradd in toolbox" 2016-03-18 01:58:06 +00:00
Jenkins
0b19bbc132 Merge "Changing Swift option section in globals.yml" 2016-03-17 22:37:32 +00:00
Steven Dake
a577634fd3 Reorder operations of mkdir and useradd in toolbox
The home directory for Ansible already exists and does not
need to be created.  Reorder useradd and mkdir at suggestion
of Jeff Peeler to avoid warning.

The warning looks like this:

INFO:__main__:kolla-toolbox:Step 6 : RUN mkdir -p /etc/ansible /usr/share/ansible /home/ansible     && echo 'localhost ansible_connection=local' > /etc/ansible/hosts     && useradd --user-group ansible --groups kolla     && sed -i 's|  "identity_api_version": "2.0",|  "identity_api_version": "3",|' /usr/lib/python2.7/site-packages/os_client_config/defaults.json
INFO:__main__:kolla-toolbox: ---> Running in ccded9c01fca
INFO:__main__:kolla-toolbox:useradd: warning: the home directory already exists.
INFO:__main__:kolla-toolbox:Not copying any file from skel directory into it.
INFO:__main__:kolla-toolbox:

TrivialFix

Change-Id: I031ade6597f8071f5be1768a7e70b1008dd94e52
2016-03-17 13:30:28 -07:00
Serguei Bezverkhi
c2f2be4d5e Changing Swift option section in globals.yml
This patch adds some explanations for different options available
in /etc/kolla/globals.yml for customizing swift configuration.

Trivial fix

Change-Id: Iaf03f5293804d63c87d8881ac4282909a81b0bfe
2016-03-17 14:26:00 -04: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
2701f28309 Merge "Increase the docker parition for rht bases in gate" 2016-03-17 17:02:59 +00:00
Jenkins
bbe08628d0 Merge "Manila ubuntu binary container" 2016-03-17 15:45:12 +00:00
MD NADEEM
264e90885d Update README for heka image
Added heka description in the list of
images provided by kolla.

TrivialFix
Change-Id: I28ce2ef185f260b779cb6613b4c6ac458376fa95
2016-03-17 13:33:25 +00:00
MD NADEEM
d4a5c75db6 Manila ubuntu binary container
manila-share is present in manila-common package.

Change-Id: Ida231c0468b6ee3bb6a76fb9f475724abf95c1cb
Closes-Bug:#1553199
2016-03-17 17:19:01 +05:30
Jenkins
3c0641b36b Merge "MariaDB lights out recovery" 2016-03-17 06:24:32 +00:00
Jenkins
9faefc25c9 Merge "Changed port of docker_registry in globals.yml" 2016-03-17 03:37:04 +00:00
Gerard Braad — 吉拉德
5dcee1ae80 Changed port of docker_registry in globals.yml
Changed docker_registry placeholder for consistency with
documentation; port 4000 is used instead of Docker's default port
5000 to avoid conflicts.

TrivialFix

Change-Id: I539547ce573642022ccdf1fbb47b4adc2f852ff2
2016-03-17 02:57:54 +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
Jenkins
32efae5536 Merge "Add Manila deployment document" 2016-03-16 18:34:24 +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
Thiago Gomes
d5c79a2487 Add Manila deployment document
Deploy Manila in kolla

Co-Authored-By: Mauricio Lima <mauriciolimab@gmail.com>
Change-Id: I1397e0f10dcbcfd182497fbaf0ebe9d5de718cc5
2016-03-16 09:11:42 -04:00
Paul Bourke
e0688a762a Increase the docker parition for rht bases in gate
Currently the binary build for the oraclelinux base is just exceeding
the 10GB limit we have set here. Centos is at just under 9GB so will not
be long before it reaches this limit also.

According to infra -
(http://docs.openstack.org/infra/system-config/contribute-cloud.html)
gate VMs should have a 80GB disk, so 20GB for the docker partition does
not seem excessive here.

TrivialFix

Change-Id: I4d7fb240ea90e1e58f8f8046dd7acd0b9502c20d
2016-03-16 11:00:18 +00:00
Jenkins
1c0082169c Merge "Fix host_manager plugin for vagrant virtualbox" 2016-03-16 08:28:10 +00:00
Jenkins
2d5db18e66 Merge "Fix genconfig on vagrant" 2016-03-16 04:00:49 +00:00
Jenkins
a1037014d0 Merge "Remove useless dependency on ifconfig" 2016-03-16 02:17:48 +00:00
Jenkins
ca6959ca37 Merge "Switch to with items for sysctl" 2016-03-16 00:34:43 +00:00
Jenkins
25a33ca0dc Merge "Move sysctl out of haproxy container" 2016-03-16 00:32:10 +00:00
Martin André
10b8cce268 Remove useless dependency on ifconfig
We can use the ip command to achieve the same thing.

TrivialFix

Change-Id: I903467c90495388cbc592b56d96bd3a4675df430
2016-03-16 09:23:30 +09:00
Martin André
21bade35ba Fix genconfig on vagrant
We run tox at the root of the home directory, so we need to pass it the
path to the tox.ini file.

TrivialFix

Change-Id: Ieb52d845b77f556aee5cd194a8ef86561b7849b2
2016-03-16 09:22:02 +09:00
Martin André
14da78f9f1 Fix host_manager plugin for vagrant virtualbox
There is no such thing as virtualbox_{ubuntu,centos} but only
a virtualbox provider. The code to retrieve the VM's IP address was
never executed and broke host_manager plugin.

TrivialFix

Change-Id: I0ffacf0bd5d2856264247b23e3b3e918836988e3
2016-03-16 09:20:11 +09: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
Paul Bourke
db27136ed5 Add missing tar command for oraclelinux binary
Kibana was failing with the binary build type due to tar missing.

TrivialFix

Change-Id: Ia7cb77c5359b2ed30cd1883c0848cd1506a63833
2016-03-15 16:16:53 +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
a42fd0c0d2 Merge "Unify vagrant bootstrap.sh scripts" 2016-03-15 04:09:39 +00:00
Daniel Gonzalez
5960900f9a Unify vagrant bootstrap.sh scripts
Merge the vagrant bootstrap scripts for centos and ubuntu into a single
file.

Change-Id: Ia07931b4717cd393fe51141907fc561166cc05e4
Closes-Bug: 1554140
2016-03-15 04:16:49 +01:00
Jenkins
439188cedb Merge "Use ubuntu Mitaka repo" 2016-03-15 02:35:47 +00:00
Jenkins
302b030216 Merge "Install openvswitch-switch in manila" 2016-03-14 23:43:35 +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
Mauricio Lima
a9edc7e0a0 Install openvswitch-switch in manila
Change-Id: I8277ad668f46d327807a01ceb96c2abb417f0e3d
Closes-Bug:#1556271
2016-03-14 12:18:31 -04:00