Having retry_after in HTTP response header for 403 status code caused
client to fail with TypeError exception about unexpected keyword
argument. This is related to bug in nova-api. To prevent this kind of
client problems in the future patch adds check to from_response
function to pass retry-after header only to classes that inherit
from RetryAfterException and regression unit tests.
Reviewed: https:/ /review. openstack. org/120115 /git.openstack. org/cgit/ openstack/ python- novaclient/ commit/ ?id=310b87ecbb8 cd4c82a460781cf 7b4e9e79c604d9
Committed: https:/
Submitter: Jenkins
Branch: master
commit 310b87ecbb8cd4c 82a460781cf7b4e 9e79c604d9
Author: Michal Dulko <email address hidden>
Date: Thu Sep 18 13:07:17 2014 +0200
Add retry_after only to exceptions supporting it
Having retry_after in HTTP response header for 403 status code caused
client to fail with TypeError exception about unexpected keyword
argument. This is related to bug in nova-api. To prevent this kind of
client problems in the future patch adds check to from_response
function to pass retry-after header only to classes that inherit
from RetryAfterException and regression unit tests.
Change-Id: I6bfc8b33eb591d 30b3c647397b111 00094718e13
Closes-Bug: 1365251