diff --git a/ansible/roles/mariadb/tasks/register.yml b/ansible/roles/mariadb/tasks/register.yml index 279e4cb612..bd9a3e7c88 100644 --- a/ansible/roles/mariadb/tasks/register.yml +++ b/ansible/roles/mariadb/tasks/register.yml @@ -8,7 +8,8 @@ login_password='{{ database_password }}' name='haproxy' password='' - host='%'" + host='%' + priv=*.*:USAGE" register: haproxy_user changed_when: "{{ haproxy_user.stdout.find('localhost | SUCCESS => ') != -1 and (haproxy_user.stdout.split('localhost | SUCCESS => ')[1]|from_json).changed }}" until: haproxy_user.stdout.split()[2] == 'SUCCESS' diff --git a/docker/kolla-toolbox/Dockerfile.j2 b/docker/kolla-toolbox/Dockerfile.j2 index 885565222a..3a6c5a6a49 100644 --- a/docker/kolla-toolbox/Dockerfile.j2 +++ b/docker/kolla-toolbox/Dockerfile.j2 @@ -34,15 +34,15 @@ RUN apt-get -y --no-install-recommends install \ RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py \ && python get-pip.py \ && rm get-pip.py \ - && pip --no-cache-dir install --upgrade wheel \ && pip --no-cache-dir install \ MySQL-python \ - os-client-config==1.13.1 \ + os-client-config==1.16.0 \ pyudev \ - shade==1.3.0 + shade==1.4.0 -RUN git clone --depth 1 -b v2.0.0-0.7.rc2 https://github.com/ansible/ansible.git \ +RUN git clone https://github.com/ansible/ansible.git \ && cd ansible \ + && git checkout 915037c628ddcdfebd3e266710460376fcfaa91d \ && git submodule update --init --recursive \ && pip --no-cache-dir install . diff --git a/docker/kolla-toolbox/kolla_keystone_service.py b/docker/kolla-toolbox/kolla_keystone_service.py index 7c03d00e13..3551c2b998 100644 --- a/docker/kolla-toolbox/kolla_keystone_service.py +++ b/docker/kolla-toolbox/kolla_keystone_service.py @@ -50,6 +50,9 @@ def main(): service = None endpoint = None + # bcoca broke the loader! bcoca is working on the loaded. until then... + module.params['auth'] = json.loads( + module.params['auth'].replace("'", '"')) cloud = shade.operator_cloud(**module.params) for _service in cloud.keystone_client.services.list(): diff --git a/docker/kolla-toolbox/kolla_keystone_user.py b/docker/kolla-toolbox/kolla_keystone_user.py index 2d1a739c5c..7688e1bd34 100644 --- a/docker/kolla-toolbox/kolla_keystone_user.py +++ b/docker/kolla-toolbox/kolla_keystone_user.py @@ -45,6 +45,9 @@ def main(): role = None user = None + # bcoca broke the loader! bcoca is working on the loaded. until then... + module.params['auth'] = json.loads( + module.params['auth'].replace("'", '"')) cloud = shade.operator_cloud(**module.params) for _project in cloud.keystone_client.tenants.list():