Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1591821

Summary: python2-magnumclient has wrong entry_points.txt and makes some openstack cli commands to fail
Product: Red Hat OpenStack Reporter: Federico Iezzi <fiezzi>
Component: python-magnumclientAssignee: RHOS Maint <rhos-maint>
Status: CLOSED ERRATA QA Contact: nlevinki <nlevinki>
Severity: low Docs Contact:
Priority: low    
Version: 13.0 (Queens)CC: dlbewley, jjoyce, jschluet, mburns, rcernin, rhos-maint, slinaber, tvignaud
Target Milestone: z2Keywords: Rebase, Triaged, ZStream
Target Release: 13.0 (Queens)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-magnumclient-2.9.1-1.el7ost Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-29 16:32:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Federico Iezzi 2018-06-15 16:09:40 UTC
Description of problem:

Some openstack cli commands fails due to wrong python2-magnumclient entry_points.txt reporting missing module "magclient.osc.v1.quotas"

The issue has been already reported and fixed upstream.

https://bugs.launchpad.net/python-openstackclient/+bug/1762316
https://review.openstack.org/#/c/566254/2/setup.cfg

Version-Release number of selected component (if applicable):
python2-magnumclient-2.9.0-1.el7ost.noarch

How reproducible:
Run openstack complete 

Actual results:
$ openstack complete 
No module named magclient.osc.v1.quotas
$ echo $?
1

Expected results:
$ openstack complete 
[CUT output]
$ echo $?
0

Additional info:

Comment 2 Lon Hohberger 2018-06-20 14:15:34 UTC
This is resolved upstream as noted in the description and will be resolved by an import.

Comment 11 Joanne O'Flynn 2018-08-13 11:18:41 UTC
This bug is marked for inclusion in the errata but does not currently contain draft documentation text. To ensure the timely release of this advisory please provide draft documentation text for this bug as soon as possible.

If you do not think this bug requires errata documentation, set the requires_doc_text flag to "-".


To add draft documentation text:

* Select the documentation type from the "Doc Type" drop down field.

* A template will be provided in the "Doc Text" field based on the "Doc Type" value selected. Enter draft text in the "Doc Text" field.

Comment 12 Jon Schlueter 2018-08-15 11:19:42 UTC
Verified that with this build included

openstack complete

does raise exception message about missing module and returns 0


$ openstack complete
_openstack()
....
  return 0
}
complete -F _openstack openstack

$ echo $?
0

Comment 14 errata-xmlrpc 2018-08-29 16:32:35 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:2573