Comment 5 for bug 1275062

Revision history for this message
Nikhil Komawar (nikhil-komawar) wrote : Re: image location is logged when authentication to store fails

This error was happening on the default (operator) swift store account.

Logging happens at this part of the code: https://github.com/openstack/glance/blob/master/glance/store/__init__.py#L716

The case when I saw this was: when the call was happening while a user token was being used to get image data for an image that is publicized using the export task functionality. (The code is not upstream yet). However, the user does not have the right context to use that image.

Haven't had a chance to explore more permutations of invalid context for the user when this line would be logged. In any case, I believe that we should remove logging such sensitive info from the code.