Comment 20 for bug 1625075

Revision history for this message
Dharini Chandrasekar (dharini-chandrasekar) wrote :

So after some digging and discussions with hemanthm with respect to this bug:

When multi-tenancy is enabled, it is required that the user's context be used to fetch the storage url of the shared/public image. So the reason for this bug is definitely not the change introduced in https://git.openstack.org/cgit/openstack/glance_store/commit/?id=68762058cc5d063f3a846b495af03150e648224f cos thats how it should be working (unlike single-tenant where images are stored in Glance's account).

Also the logs I shared after trying to reproduce this bug throw a 404 cos of the flavor being inaccessible and not cos the image could not be accessed/downloaded. So at this point, not sure if this bug is reproducible the exact way as reported.

Andrew,
Your hack patch changes the project owner in the url fetched. But I am not sure if that should be the case cos if the image is public or even shared, the second user's context should be good enough to fetch the image according to the way public/shared images in Glance work.

Will work more on this and try to find the exact issue here. Until then, any progress and findings if shared, would help a lot.

Thanks,
Dharini.