Comment 24 for bug 1098962

Revision history for this message
Jamie Strandboge (jdstrand) wrote : Re: glance image-download can display backend Swift password

Here is a patch for diablo (2011.3 on Ubuntu 11.10) that is untested. It adjusts glance/common/exception.py to make BadStoreUri() only take one argument ('reason') which is closer to what is happening in Essex. It changes all 'exception.BadStoreUri(uri, reason)' to use 'raise exception.BadStoreUri(reason)' instead so it touches files outside of glance/store/swift.py (which is where I independently noticed that S3 may also be affected). This patch deals only with this bug and did not try to pull back the other changes to glance/common/exception.py from later releases.