- Jul 18, 2019
-
-
Radosław Piliszek authored
Docker has no restart policy named 'never'. It has 'no'. This has bitten us already (see [1]) and might bite us again whenever we want to change the restart policy to 'no'. This patch makes our docker integration honor all valid restart policies and only valid restart policies. All relevant docker restart policy usages are patched as well. I added some FIXMEs around which are relevant to kolla-ansible docker integration. They are not fixed in here to not alter behavior. [1] https://review.opendev.org/667363 Change-Id: I1c9764fb9bbda08a71186091aced67433ad4e3d6 Signed-off-by:
Radosław Piliszek <radoslaw.piliszek@gmail.com>
-
- May 02, 2019
-
-
Raimund Hook authored
Since Ansible 2.5, the use of jinja tests as filters has been deprecated. I've run the script provided by the ansible team to 'fix' the jinja filters to conform to the newer syntax. This fixes the deprecation warnings. Change-Id: I844ecb7bec94e561afb09580f58b1bf83a6d00bd Closes-bug: #1827370
-
- Jun 08, 2018
-
-
Ha Manh Dong authored
Add become to all tasks that use the module "kolla_docker" Change-Id: I4309c4011687b88ec31d739fd8f834fe2326ff10 Partial-Implements: blueprint ansible-specific-task-become
-
- Jun 01, 2018
-
-
MinSun authored
Using rabbitmq service defined in default when boot rabbitmq_bootstrap. Not a bug here, just an enhancement. Change-Id: I79f0f7efe3308ed4eb898b85a6370be1bd637d9a
-
- Jun 15, 2017
-
-
Paul Bourke authored
Certain services such as Murano and trove require access to a rabbitmq instance from tenant networks. [0] Exposing the internal rabbitmq to end users is a security hole, hence there are two options, 1) use vhosts in the existing rabbitmq, or two a separate rabbitmq instances. Given the importance of rabbitmq to the OpenStack deployment, we have decided to go with a separate instance. Refer to [1] for more detail on the various options. This change makes the rabbitmq role generic so that it can be reused, in this case to start 'outward_rabbitmq'. It needs to be exposed via haproxy both for network isolation and also because this is what Murano configuration requires. Follow on patches will be added to add a vhost in this outward instance for Murano and other services which require access. Based on the original work by bdaca[2] [0] http://murano.readthedocs.io/en/stable-liberty/intro/architecture.html [1] http://lists.openstack.org/pipermail/openstack-dev/2016-December/109091.html [2] https://review.openstack.org/#/c/374525 Change-Id: Ib2bcc7ed4bf4f883a7cd1dfad3db89201e3cfd8d Partial-Bug: #1620374 Depends-On: I020eb6219f89a310451becde41f6f1c7f54baadd Co-Authored-By:
Bartłomiej Daca <bartek.daca@gmail.com>
-
- Aug 26, 2016
-
-
Paul Bourke authored
rabbitmq's start task contains a precheck. This should be part of the other prechecks for consistency TrivialFix Change-Id: I7728ec3f5be3248424d74a4387925b72114b8943
-
- Aug 09, 2016
-
-
Duong Ha-Quang authored
Migrate to full variable syntax in with_ loop instead of bare variables for: - ceph - ceilometer - glance - heat - horizon - keystone - mariadb - memcached - neutron - nova - rabbitmq Change-Id: Ib925b4ecea47ac758a77739c9c7e140f06933b08 Partial-Implements: blueprint ansible2
-
- May 03, 2016
-
-
Jeffrey Zhang authored
Closes-Bug: #1577148 Change-Id: I636cefc63cf532434a41af3898b63dffa711e280
-
- Apr 01, 2016
-
-
Michal Rostecki authored
On AIO installation we cannot assume that the public IP address will be the first entry in "getent ahostsv4" result, because it may be also a localhost address. To make this check positive in AIO, we should look for the public IP in the whole output. Change-Id: I1da7b95d7f00c7f87ff68ead46bf55fdea812599 Closes-Bug: 1564564
-
- Mar 21, 2016
-
-
Steven Dake authored
If an IPV6 address is assigned to the interface as well as IPv4, Kolla bombs out during deployment. Change-Id: Ic161c52825e0642e261d22418569d0f7667c6bd1 Closes-Bug: #1560137
-
- Mar 19, 2016
-
-
Michal (inc0) Jastrzebski authored
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
-
- Jan 29, 2016
-
-
SamYaple authored
Change-Id: I81413ffcaa4efb881d13fef62823d60b676e871d Implements: blueprint docker-named-volumes
-
- Jan 28, 2016
-
-
SamYaple authored
Add bootstrap label to all bootstrap containers to ensure that when the a new container is launched a difference is seen between it and the bootstrap container since we cannot rely on ENV variables for this. This only affects mariadb at this stage, but it is needed to ensure rabbitmq works when we switch to named volumes. Change-Id: Ia022af26212d2e5445c06149848831037a508407 Closes-Bug: #1538136
-
- Dec 31, 2015
-
-
SamYaple authored
Change-Id: Idd3528fe739f30e0251137966512ecc05dd715a7 Partially-Implements: blueprint kolla-docker-module
-
- Nov 23, 2015
-
-
Sam Yaple authored
Additionally remove tty from the container cleanup docker section. It was added in a sed in a previous patchset by serves no purpose. Change-Id: Ib617870616bca687f72ffaa44b2e9a3a11ef1011 Partially-Implements: blueprint cleanup-playbooks
-
- Oct 14, 2015
-
-
Sam Yaple authored
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
-
- Oct 13, 2015
-
-
Sam Yaple authored
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
-
- Oct 06, 2015
-
-
Sam Yaple authored
This brings Kolla images inline with FHS and should make finding locations of things more consistent and reliable with the linux world at large. Change-Id: Iece5b4da4bace0fb8b1f41a65ab2c852ec73e6f8 Closes-Bug: #1485742
-
- Sep 18, 2015
-
-
rthallisey authored
Change-Id: Ibb30af44a9362278eff012ff1145374788b06cd5 Partially-Implements: blueprint replace-config-external
-
- Sep 06, 2015
-
-
Sam Yaple authored
No need for a new task. Change-Id: I958f87ac9a1434a2f6052e0271f37e5f3109775e Closes-Bug: #1492337
-
- Sep 04, 2015
-
-
Vladislav Belogrudov authored
Currently bootstrap containers are waited to exit but are not checked for exit status and ansible runs further tasks. If bootstrapping fails we notice it at much later time. Change-Id: I137fc11b0f9d1f03d2ded08a213e8dbd62741f92 Closes-Bug: #1492337
-
- Sep 02, 2015
-
-
Sam Yaple authored
If a bootstrap fails at some stage and leaves a rabbitmq_data container on a host, it will not bootstrap again and rabbitmq fails to start due to root permissions on /var/lib/rabbitmq. This patch improves the check for a valid, existing rabbitmq_data Closes-Bug: #1490602 Change-Id: I6a00aaef38b4ab6a60dcfb5ed2f808513b9f8c84
-
- Aug 31, 2015
-
-
Paul Bourke authored
Not quite halloween yet... Change-Id: Ib1973eea0b2dddc0e0845731d1212c4d4447cca5 Closes-Bug: #1490502
-
- Aug 21, 2015
-
-
Vladislav Belogrudov authored
Rabbitmq containers mount /var/lib/rabbitmq from 'data' containers with 'root:root' permissions because ansible does not wait for rabbitmq bootstrap container - the latter corrects access rights but sometimes gets killed just after start. Change-Id: I5cd1ce9810a1fd457dd34a1283e448204964c17d Closes-Bug: #1487422
-
- Aug 19, 2015
-
-
Steven Dake authored
The previous method of using the API image for a data container worked, but resulted in more data being bindmounted and copied into the system. This patch resolves that by essentially using a distro-type as a FROM in a Dockerfile to generate distro-type-data. Further all of the data containers used throughout ansible are modified to use this new data container. Change-Id: I8846573d4f2d4b98d4f46c770bfefc6d4c5cd0b5 Partially-Implements: blueprint one-data-container
-
- Aug 14, 2015
-
-
Sam Yaple authored
Change-Id: I5b163b6a5c0e084deec5937e4fbf04d11fdde01f Partially-Implements: blueprint remove-abstraction-ansible
-
- Jul 30, 2015
-
-
Sam Yaple authored
The original purpose for having an abstract like 'database' rather than the service name of 'mariadb' has been change. Our direction is different and this patch reflects consistent naming throughout Change-Id: I704896191cc5243f9dab2a4cca9120e9dc2ceb2c Closes-Bug: #1478328
-
- Jul 05, 2015
-
-
Sam Yaple authored
Sets the restart policy to 'no' for bootstrap containers Change-Id: I1044fdc70a6b7d50396fd923b6be67bd7c47faa2 Closes-Bug: 1471536
-
- Jul 03, 2015
-
-
Sam Yaple authored
Adds initial support for Rabbitmq in Ansible using the CONFIG_EXTERNAL methods. Additionally, this refactors some of the Rabbitmq config script to allow for reuse by CONFIG_EXTERNAL. Partially Implements: blueprint ansible-service Change-Id: I1765548f7e4f1258eb8a49e2a23242955f52655d
-