+++ 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:
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