Bug 1525424 - nova --bypass-url flag throw the ERROR (KeyError): 'versions'
Summary: nova --bypass-url flag throw the ERROR (KeyError): 'versions'
Keywords:
Status: CLOSED DUPLICATE of bug 1525427
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 10.0 (Newton)
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: Eoghan Glynn
QA Contact: Joe H. Rahme
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-13 10:07 UTC by Rajesh Tailor
Modified: 2019-09-09 16:38 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-13 10:22:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Rajesh Tailor 2017-12-13 10:07:18 UTC
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
6.0.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

*** This bug has been marked as a duplicate of bug 1525427 ***


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