Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1525427 - [RHOSP10] nova --bypass-url flag throw the ERROR (KeyError): 'versions'
[RHOSP10] nova --bypass-url flag throw the ERROR (KeyError): 'versions'
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-novaclient (Show other bugs)
10.0 (Newton)
Unspecified Unspecified
low Severity medium
: z7
: 10.0 (Newton)
Assigned To: Rajesh Tailor
Joe H. Rahme
: Triaged, ZStream
: 1525424 (view as bug list)
Depends On: 1517264
Blocks:
  Show dependency treegraph
 
Reported: 2017-12-13 05:20 EST by Rajesh Tailor
Modified: 2018-02-27 11:24 EST (History)
18 users (show)

See Also:
Fixed In Version: python-novaclient-6.0.2-2.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1517264
Environment:
Last Closed: 2018-02-27 11:24:48 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)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:0369 normal SHIPPED_LIVE Moderate: openstack-nova and python-novaclient security, bug fix, and enhancement update 2018-02-27 16:24:56 EST

  None (edit)
Description Rajesh Tailor 2017-12-13 05:20:40 EST
+++ This bug was initially created as a clone of Bug #1517264 +++

Description of problem:

While executing the any nova command with --bypass-url, it throw the error ERROR (KeyError): 'versions'. After analyzing a bit, i come to know the below parameter set wrong. 

response_key get sets to "versions" where as it gets set to "servers" when execute without --bypass-url and produce the expected output.

>> /usr/lib/python2.7/site-packages/novaclient/base.py +246
    
$nova --version
3.3.2

 
Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:
[stack@instack ~]$ nova --bypass-url http://192.168.124.20:8774/v2.1/  list

ERROR (KeyError): 'versions'


Expected results:
It should produce the expected output of nova list

Additional info:
Comment 1 Rajesh Tailor 2017-12-13 05:22:39 EST
*** Bug 1525424 has been marked as a duplicate of this bug. ***
Comment 11 errata-xmlrpc 2018-02-27 11:24:48 EST
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/RHSA-2018:0369

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