Comment 4 for bug 1665543

Revision history for this message
git.user (git.user) wrote :

Looks like something is broken badly in authentication schema of cinder in this case.
I dug into a bit and i see:

1. if nova_catalog_info/nova_catalog_admin_info is not set then _NovaClientServiceCatalog->service_name is "Compute Service" (which should be 'nova' I suspect), it's here -> cinder/compute/nova.py +111 -> which leads to EndpointNotFound

2. With nova_catalog_admin_info = compute:nova:adminURL I stumble upon a next issue:

ERROR cinder.volume.manager File "/usr/lib/python2.7/dist-packages/keystoneauth1/identity/generic/base.py", line 192, in _do_create_plugin
ERROR cinder.volume.manager raise exceptions.DiscoveryFailure('Could not determine a suitable URL '
ERROR cinder.volume.manager DiscoveryFailure: Could not determine a suitable URL for the plugin

It's because keystoneauth1/discover.py +40 -> get_version_data get nova-api url for authentication (http://controller:8774/v2.1 in my case).
It seems we need somebody with bettre understanding of thie code :(