Bug 1295570 - python-glanceclient-0.17.3-1.el7ost breaks /usr/bin/openstack.
Summary: python-glanceclient-0.17.3-1.el7ost breaks /usr/bin/openstack.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-glanceclient
Version: 7.0 (Kilo)
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: 8.0 (Liberty)
Assignee: Flavio Percoco
QA Contact: nlevinki
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-04 21:50 UTC by Vincent S. Cojot
Modified: 2016-04-26 20:07 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-01-04 21:58:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Vincent S. Cojot 2016-01-04 21:50:54 UTC
Description of problem:

After updating to python-glanceclient-0.17.3-1.el7ost.noarch, the 'openstack' command no longer works:

[root@osp2 ~(keystone_admin)]# openstack image list
ERROR: openstackclient.shell Exception raised: (python-glanceclient 0.17.3 (/usr/lib/python2.7/site-packages), Requirement.parse('python-glanceclient>=0.18.0'))

[root@osp2 ~(keystone_admin)]# openstack network list
ERROR: openstackclient.shell Exception raised: (python-glanceclient 0.17.3 (/usr/lib/python2.7/site-packages), Requirement.parse('python-glanceclient>=0.18.0'))


Version-Release number of selected component (if applicable):
[root@osp2 ~(keystone_admin)]# rpm -qi python-glanceclient
Name        : python-glanceclient
Epoch       : 1
Version     : 0.17.3
Release     : 1.el7ost
Architecture: noarch
Install Date: Sun Dec 27 14:50:05 2015
Group       : Unspecified
Size        : 545551
License     : ASL 2.0
Signature   : RSA/SHA256, Mon Dec 21 10:30:09 2015, Key ID 199e2f91fd431d51
Source RPM  : python-glanceclient-0.17.3-1.el7ost.src.rpm
Build Date  : Mon Dec 14 09:44:26 2015
Build Host  : x86-034.build.eng.bos.redhat.com
Relocations : (not relocatable)
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Vendor      : Red Hat, Inc.
URL         : http://github.com/openstack/python-glanceclient
Summary     : Python API and CLI for OpenStack Glance
Description :
This is a client for the OpenStack Glance API. There's a Python API (the
glanceclient module), and a command-line script (glance). Each implements
100% of the OpenStack Glance API.

How reproducible:
100%

Steps to Reproduce:
1. update to python-glanceclient-0.17.3-1.el7ost
2. all deprecated CLIs (glance, nova, neutron) work but openstack doesn't anymore
3. 

Actual results:
[root@osp2 ~(keystone_admin)]# openstack image list
ERROR: openstackclient.shell Exception raised: (python-glanceclient 0.17.3 (/usr/lib/python2.7/site-packages), Requirement.parse('python-glanceclient>=0.18.0'))


Expected results:
'openstack' should work fine and not bear references to glanceclient-0.18.0
[root@osp2 ~(keystone_admin)]# openstack image list
+--------------------------------------+---------+
| ID                                   | Name    |
+--------------------------------------+---------+
| a0662bd7-4694-4dbd-9440-b2e1236bb96a | Centos7 |
| 99716a80-089a-4b5e-91d1-fff57bf8b86b | cirros  |
+--------------------------------------+---------+


Additional info:
Workaround: yum downgrade to python-glanceclient-0.17.0-2.el7ost.noarch  resolves the issue.

Comment 2 Vincent S. Cojot 2016-01-04 21:58:16 UTC
Seems some left overs from other installs broke this..


Note You need to log in before you can comment on or make changes to this bug.