Bug 1295570 - python-glanceclient-0.17.3-1.el7ost breaks /usr/bin/openstack.
python-glanceclient-0.17.3-1.el7ost breaks /usr/bin/openstack.
Status: CLOSED NOTABUG
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-glanceclient (Show other bugs)
7.0 (Kilo)
x86_64 Linux
unspecified Severity high
: ---
: 8.0 (Liberty)
Assigned To: Flavio Percoco
nlevinki
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-01-04 16:50 EST by Vincent S. Cojot
Modified: 2016-04-26 16:07 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-01-04 16:58:30 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Vincent S. Cojot 2016-01-04 16:50:54 EST
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 16:58:16 EST
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.