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

Geo Varghese gvarghese at aqorn.com
Wed Jan 14 07:25:07 UTC 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20150114/7e75cce2/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot-Volumes & Snapshots - OpenStack Dashboard - Mozilla Firefox.png
Type: image/png
Size: 97158 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20150114/7e75cce2/attachment-0001.png>


More information about the OpenStack-operators mailing list