Bug 1591821 - python2-magnumclient has wrong entry_points.txt and makes some openstack cli commands to fail
Summary: python2-magnumclient has wrong entry_points.txt and makes some openstack cli ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-magnumclient
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: z2
: 13.0 (Queens)
Assignee: RHOS Maint
QA Contact: nlevinki
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-15 16:09 UTC by Federico Iezzi
Modified: 2022-08-09 09:41 UTC (History)
8 users (show)

Fixed In Version: python-magnumclient-2.9.1-1.el7ost
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2018-08-29 16:32:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1762316 0 None None None 2018-06-15 16:09:39 UTC
OpenStack gerrit 566254 0 None stable/queens: MERGED python-magnumclient: Fix entrypoints for quotas (I89e266b9d85f4168fd593ad9a05878b902e5315e) 2018-07-19 02:00:19 UTC
Red Hat Issue Tracker OSP-9165 0 None None None 2022-08-09 09:41:05 UTC
Red Hat Product Errata RHBA-2018:2573 0 None None None 2018-08-29 16:33:24 UTC

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


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