diff options
Diffstat (limited to 'docker')
| -rw-r--r-- | docker/kolla-toolbox/Dockerfile.j2 | 16 | ||||
| -rw-r--r-- | docker/kolla-toolbox/kolla_keystone_service.py | 3 | ||||
| -rw-r--r-- | docker/kolla-toolbox/kolla_keystone_user.py | 2 |
3 files changed, 12 insertions, 9 deletions
diff --git a/docker/kolla-toolbox/Dockerfile.j2 b/docker/kolla-toolbox/Dockerfile.j2 index 50f0095fd..683650809 100644 --- a/docker/kolla-toolbox/Dockerfile.j2 +++ b/docker/kolla-toolbox/Dockerfile.j2 @@ -60,20 +60,22 @@ RUN {{ macros.install_pip(kolla_toolbox_pip_virtualenv_packages|customizable("pi ENV PATH {{ virtualenv_path }}/bin:$PATH {% set kolla_toolbox_pip_packages = [ - 'ansible==2.2.0.0', - '"cmd2<0.9.0"', + 'ansible==2.8.*', + 'cmd2', 'influxdb', 'mysqlclient', - 'os-client-config==1.29.0', - 'pbr==4.0.0', + 'os-client-config', + 'pbr', 'pymongo', - 'python-openstackclient==3.14.0', + 'python-openstackclient', 'pytz', 'pyudev', - 'shade==1.27.1' + 'shade' ] %} -RUN {{ macros.install_pip(kolla_toolbox_pip_packages | customizable("pip_packages"), constraints=false) }} \ +RUN mkdir -p /requirements \ + && curl -sSL -o /requirements/upper-constraints.txt https://opendev.org/openstack/requirements/raw/branch/{{openstack_release}}/upper-constraints.txt \ + && {{ macros.install_pip(kolla_toolbox_pip_packages | customizable("pip_packages")) }} \ && mkdir -p /etc/ansible /usr/share/ansible \ && echo 'localhost ansible_connection=local ansible_python_interpreter={{ virtualenv_path }}/bin/python' > /etc/ansible/hosts \ && sed -i 's| "identity_api_version": "2.0",| "identity_api_version": "3",|' {{ os_client_config }} diff --git a/docker/kolla-toolbox/kolla_keystone_service.py b/docker/kolla-toolbox/kolla_keystone_service.py index 866350821..74db35385 100644 --- a/docker/kolla-toolbox/kolla_keystone_service.py +++ b/docker/kolla-toolbox/kolla_keystone_service.py @@ -37,7 +37,8 @@ def main(): service_type=dict(required=True, type='str'), url=dict(required=True, type='str'), interface=dict(required=True, type='str'), - endpoint_region=dict(required=True, type='str') + endpoint_region=dict(required=True, type='str'), + endpoint_type=dict(type='str') ) module = AnsibleModule(argument_spec) diff --git a/docker/kolla-toolbox/kolla_keystone_user.py b/docker/kolla-toolbox/kolla_keystone_user.py index af7d0d6ec..c9631cd7c 100644 --- a/docker/kolla-toolbox/kolla_keystone_user.py +++ b/docker/kolla-toolbox/kolla_keystone_user.py @@ -24,7 +24,7 @@ from ansible.module_utils.openstack import openstack_full_argument_spec def main(): argument_spec = openstack_full_argument_spec( - password=dict(required=True, type='str'), + password=dict(required=True, type='str', no_log=True), project=dict(required=True, type='str'), role=dict(required=True, type='str'), user=dict(required=True, type='str') |
