+++ 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
Version-Release number of selected component (if applicable):
Steps to Reproduce:
[stack@instack ~]$ nova --bypass-url http://192.168.124.20:8774/v2.1/ list
ERROR (KeyError): 'versions'
It should produce the expected output of nova list
*** Bug 1525424 has been marked as a duplicate of this bug. ***
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.