openstack client in centos-binary-kolla-toolbox:3.0.1 does not work

Bug #1644746 reported by Serge
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kolla
Invalid
High
Paul Bourke

Bug Description

way to reproduce:
docker run -it --rm kolla/centos-binary-kolla-toolbox:3.0.1 /usr/bin/openstack
argument of type 'OSC_Config' is not iterable

can be fixed with openstack client upgrade:
docker run -it --rm -u root kolla/centos-binary-kolla-toolbox:3.0.1 /bin/bash
()[root@6b4821637bf3 /]# pip install --upgrade python-openstackclient
...
Successfully installed cliff-2.3.0 openstacksdk-0.9.10 os-client-config-1.24.0 oslo.config-3.19.0 oslo.utils-3.18.0 python-keystoneclient-3.7.0 python-openstackclient-3.4.1 requests-2.12.1
...
()[root@6b4821637bf3 /]# /usr/bin/openstack
(openstack)

Changed in kolla:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Jeffrey Zhang (jeffrey4l) wrote :

Did u tried rebuild the container?

Revision history for this message
Serge (sergevs42) wrote :

i've rebuilt the container with the following patch:
--- a/docker/kolla-toolbox/Dockerfile.j2
+++ b/docker/kolla-toolbox/Dockerfile.j2
@@ -55,9 +55,9 @@ RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py \
     && pip --no-cache-dir install \
         ansible==2.1.1.0 \
         MySQL-python \
- os-client-config==1.16.0 \
+ os-client-config==1.24.0 \
         pyudev \
- shade==1.5.0
+ shade==1.13.1

and now it works fine.

Revision history for this message
Jeffrey Zhang (jeffrey4l) wrote :

should we use the latest shade and os-client-config in all branch?

Changed in kolla:
milestone: none → ocata-3
Changed in kolla:
milestone: ocata-3 → ocata-rc1
Changed in kolla:
milestone: ocata-rc1 → pike-1
Revision history for this message
Jeffrey Zhang (jeffrey4l) wrote :

https://review.openstack.org/435023 this may fixed the issue.

Changed in kolla:
assignee: nobody → Paul Bourke (pauldbourke)
Changed in kolla:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on kolla (master)

Change abandoned by Paul Bourke (pbourke) (<email address hidden>) on branch: master
Review: https://review.openstack.org/435023

Changed in kolla:
milestone: pike-2 → pike-3
Changed in kolla:
milestone: pike-3 → pike-rc1
Changed in kolla:
milestone: pike-rc1 → queens-1
Changed in kolla:
milestone: queens-2 → queens-3
Changed in kolla:
milestone: queens-3 → queens-rc1
Changed in kolla:
milestone: queens-rc1 → queens-rc2
Changed in kolla:
milestone: queens-rc2 → rocky-1
Changed in kolla:
milestone: rocky-2 → rocky-3
Changed in kolla:
status: In Progress → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.