Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1525427 - [RHOSP10] nova --bypass-url flag throw the ERROR (KeyError): 'versions'
Summary: [RHOSP10] nova --bypass-url flag throw the ERROR (KeyError): 'versions'
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-novaclient
Version: 10.0 (Newton)
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: z7
: 10.0 (Newton)
Assignee: Rajesh Tailor
QA Contact: Joe H. Rahme
URL:
Whiteboard:
: 1525424 (view as bug list)
Depends On: 1517264
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-13 10:20 UTC by Rajesh Tailor
Modified: 2018-02-27 16:24 UTC (History)
18 users (show)

Fixed In Version: python-novaclient-6.0.2-2.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1517264
Environment:
Last Closed: 2018-02-27 16:24:48 UTC


Attachments (Terms of Use)


Links
System 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 21:24:56 UTC

Description Rajesh Tailor 2017-12-13 10:20:40 UTC
+++ 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 10:22:39 UTC
*** Bug 1525424 has been marked as a duplicate of this bug. ***

Comment 11 errata-xmlrpc 2018-02-27 16:24:48 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/RHSA-2018:0369


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