The RAX Repose environment is blocking access to the API version
information by local policy, returning a 401 before we even get to
Nova itself. While this in clearly incorrect behavior, it is behavior
in the field, and we should not break all our users on that cloud.
This catches the 401 and translates that so that it's the equivalent
of only supporting v2.0. We will be taking these API calls to defcore,
and intend to remove this work around once that is done.
Reviewed: https:/ /review. openstack. org/220192 /git.openstack. org/cgit/ openstack/ python- novaclient/ commit/ ?id=e4b0d46c4b5 b99973a7f65c294 a9b73c8adfefb7
Committed: https:/
Submitter: Jenkins
Branch: master
commit e4b0d46c4b5b999 73a7f65c294a9b7 3c8adfefb7
Author: Sean Dague <email address hidden>
Date: Thu Sep 3 11:13:21 2015 -0400
workaround for RAX repose configuration
The RAX Repose environment is blocking access to the API version
information by local policy, returning a 401 before we even get to
Nova itself. While this in clearly incorrect behavior, it is behavior
in the field, and we should not break all our users on that cloud.
This catches the 401 and translates that so that it's the equivalent
of only supporting v2.0. We will be taking these API calls to defcore,
and intend to remove this work around once that is done.
Change-Id: I2072095c24b41e fcfd58d6f25205b cc94f1174da
Related-Bug: #1491579