Comment 9 for bug 1634486

Revision history for this message
Hemanth Makkapati (hemanth-makkapati) wrote : Re: glance-cache-manage commands doesn't support for internalURL

Sasikiran,
I understand what you are saying about glance-cache-manage commands not using internalURL. And, you are right that it always defaults to publicURL. However, glance-cache-manage commands should never work with any endpoint in the first place, be it public/internal/admin.

In Glance, image cache is local to each node. Therefore, cache management should be performed explicitly on each node. Not via an endpoint which may or may not hit the node you wish to manage cache on. So, I think it is more appropriate for us to fix the glance-cache-manage commands to not hit the endpoint at all. This way, you can specifically hit the node you want and on whatever interface you desire.

Let me know if this makes sense.
I'm going to change the description of this bug to reflect what I just said.

Here is the patch that fixes the issue I described above.
https://review.openstack.org/#/c/393229/