[Openstack-operators] Cinder api enpoint not found error while attach volume to instance

Jay Pipes jaypipes at gmail.com
Wed Jan 14 14:53:31 UTC 2015


Could you pastebin the output of:

  keystone catalog

and also pastebin your nova.conf for the node running the Nova API service?

Thanks!
-jay

On 01/14/2015 02:25 AM, Geo Varghese wrote:
> Hi Team,
>
> I need a help with cinder volume attachment with an instance.
>
> I have succesfully created cinder volume and it is in available state.
> Please check attached screenshot.
>
> Later I tried to attach volume to an instance but attachment failed.
> While checking logs in /var/log/nova/nova-api-os-compute.log
>
> ========
>
> 2015-01-13 19:14:46.563 1736 TRACE nova.api.openstack     res =
> method(self, ctx, volume_id, *args, **kwargs)
> 2015-01-13 19:14:46.563 1736 TRACE nova.api.openstack   File
> "/usr/lib/python2.7/dist-packages/nova/volume/cinder.py", line 206, in get
> 2015-01-13 19:14:46.563 1736 TRACE nova.api.openstack     item =
> cinderclient(context).volumes.get(volume_id)
> 2015-01-13 19:14:46.563 1736 TRACE nova.api.openstack   File
> "/usr/lib/python2.7/dist-packages/nova/volume/cinder.py", line 91, in
> cinderclient
> 2015-01-13 19:14:46.563 1736 TRACE nova.api.openstack
> endpoint_type=endpoint_type)
> 2015-01-13 19:14:46.563 1736 TRACE nova.api.openstack   File
> "/usr/lib/python2.7/dist-packages/cinderclient/service_catalog.py", line
> 80, in url_for
> 2015-01-13 19:14:46.563 1736 TRACE nova.api.openstack     raise
> cinderclient.exceptions.EndpointNotFound()
> 2015-01-13 19:14:46.563 1736 TRACE nova.api.openstack EndpointNotFound
> 2015-01-13 19:14:46.563 1736 TRACE nova.api.openstack
> =========================================
>
>
> I have already created endpints in v1 and v2.
> Please check endpints I have created for cinder below
>
> =========================================================================
> root at controller:/home/geo# keystone endpoint-list | grep 8776
> | 5c7bcc79daa74532ac9ca19949e0d872 | regionOne |
> http://controller:8776/v1/%(tenant_id)s |
> http://controller:8776/v1/%(tenant_id)s |
> http://controller:8776/v1/%(tenant_id)s | 8ce0898aa7c84fec9b011823d34b55cb |
> | 5d71e0a1237c483990b84c36346602b4 | RegionOne |
> http://controller:8776/v2/%(tenant_id)s |
> http://controller:8776/v2/%(tenant_id)s |
> http://controller:8776/v2/%(tenant_id)s | 251eca5fdb6b4550a9f521c10fa9f2ca |
> ===============================================================================
>
> Anyone please help me. Thanks for the support guys.
>
> --
> Regards,
> Geo Varghese
>
>
> _______________________________________________
> OpenStack-operators mailing list
> OpenStack-operators at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>



More information about the OpenStack-operators mailing list