I have 2 regions, TC and KPL. I have images uploaded to the glance server in KPL, and no images in TC. I expect that
`glance -R TC image-list'
will return an empty list. In fact, it returns the images in KPL.
This appears to be because OpenStackImagesShell._get_endpoint does not pass the region as a filter to client.service_catalog.url_for, and that method just returns the first match. Compare this to the novaclient endpoint lookup, which does pass region to _url_for method.
Output of keystone endpoint-list is attached. Please let me know if I can do any more.