Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1591821 - python2-magnumclient has wrong entry_points.txt and makes some openstack cli commands to fail
python2-magnumclient has wrong entry_points.txt and makes some openstack cli ...
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-magnumclient (Show other bugs)
13.0 (Queens)
Unspecified Unspecified
low Severity low
: z2
: 13.0 (Queens)
Assigned To: RHOS Maint
nlevinki
: Rebase, Triaged, ZStream
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-06-15 12:09 EDT by Federico Iezzi
Modified: 2018-08-29 12:33 EDT (History)
8 users (show)

See Also:
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 12:32:35 EDT
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)


External Trackers
Tracker ID Priority Status Summary Last Updated
Launchpad 1762316 None None None 2018-06-15 12:09 EDT
OpenStack gerrit 566254 None stable/queens: MERGED python-magnumclient: Fix entrypoints for quotas (I89e266b9d85f4168fd593ad9a05878b902e5315e) 2018-07-18 22:00 EDT
Red Hat Product Errata RHBA-2018:2573 None None None 2018-08-29 12:33 EDT

  None (edit)
Description Federico Iezzi 2018-06-15 12:09:40 EDT
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 10:15:34 EDT
This is resolved upstream as noted in the description and will be resolved by an import.
Comment 11 Joanne O'Flynn 2018-08-13 07:18:41 EDT
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 07:19:42 EDT
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 12:32:35 EDT
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.