@Dharini: I want to use the endpoint internalURL for glance service but not keystone.
Let me elaborate.
Around 216 line of glance/common/auth.py. Please find the below code snippet.
if self.configure_via_auth:
endpoint = get_endpoint(resp_auth['serviceCatalog'], endpoint_region=creds_region)
self.management_url = endpoint
Here there is no possibility for the user to pass endpoint_type as a parameter for the method get_endpoint() to retrieve the internalURL of Glance. By default it takes 'publicURL'.
I have an env# where I need to use glance endpoint as internalURL but not publicURL. But glance-cache-manage doesn't have an option to pass internalURL
Here the issue is
1) glance commands are working fine as I can export the following variable GLANCE_ENDPOINT_TYPE=internalURL
2) But glance-cache-manage is not working for me. Do I need to do any configurations changes or does glance codebase doesn't have support for it? I have checked the command line options for glance-cache-manage, but I haven't find any paramter which I can specify endpoint_type.
@Dharini: I want to use the endpoint internalURL for glance service but not keystone.
Let me elaborate.
Around 216 line of glance/ common/ auth.py. Please find the below code snippet.
if self.configure_ via_auth: resp_auth[ 'serviceCatalog '],
endpoint_ region= creds_region) management_ url = endpoint
endpoint = get_endpoint(
self.
Here there is no possibility for the user to pass endpoint_type as a parameter for the method get_endpoint() to retrieve the internalURL of Glance. By default it takes 'publicURL'.
I have an env# where I need to use glance endpoint as internalURL but not publicURL. But glance-cache-manage doesn't have an option to pass internalURL
Here the issue is
1) glance commands are working fine as I can export the following variable GLANCE_ ENDPOINT_ TYPE=internalUR L cache-manage, but I haven't find any paramter which I can specify endpoint_type.
2) But glance-cache-manage is not working for me. Do I need to do any configurations changes or does glance codebase doesn't have support for it? I have checked the command line options for glance-