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
mariadb 10 uses the packaging convention MariaDB-* to not
conflict with mariadb 5. As such, MariaDB-devel was indicating
a deprecation warning which this patch removes.
TrivialFix
Change-Id: I4b51fcedce3ef9e44c4a6830cd38ca8040a4d3f6
After our switch to keystone-manage bootstrap Horizon is not happy
due to v3 not being setup correctly. This patch fixes that
This also includes removal of unused variables (transforms them into
endpoint url variables)
TrivialFix
Change-Id: I1e04db8c24049f80e974c063f03068a2ab32a563
Ansible is pinned to single commit in devel branch to pull in the
latest shade module we need (domain control). It will be available in
ansible 2.1
TrivialFix
Change-Id: I4c21fa1d2cec30d4aeb80e050ef4a62332f9ed45
Percona has fixed their packaging issue and now
MySQL-python installs cleanly without the need of MariaDB-shared
package.
TrivialFix
Change-Id: I42672c269185352ab4999683bd0ad7c5f23de3bb
Percona recently updated their package which is now conflicting with
mariadb-libs.
Closes-Bug: #1548589
Change-Id: I9db7ffb8b94b623784cffa3e63804c47375097d1
Ansible installs pytz from pip which is newer then then pytz in
RDO repositories. As part of this process, it removes pytz
which corrupts the python installation in some way. This causes
further pip usage to produce a backtrace causing the kolla-toolbox
container not to build.
Mixing pip and RPM is not good.
Change-Id: I413468641bad5476cfcba61cb0e2189c31f3d682
Closes-Bug: #1545215
This change is needed for clarity. We have a kolla-ansible script.
We have a kolla-mesos repo. We plan to have a kolla-ansible repo.
Already we have had far too much confusion about whether we are
talking about the container or the project. Naming this kolla-toolbox
eliminates all of that confusion and its probably a bit more accurate
of a name too.
Closes-Bug: #1541053
Change-Id: I8fd1f49d5a22b36ede5b10f46b9fe02ddda9007e