[Openstack] list all volumes attached to a vm
daniels cai
danxcai at gmail.com
Fri Apr 26 04:01:35 UTC 2013
hi community
i am trying to list all volumes which attached to a vm, with a vm id
specified
.
i am not sure whether there is any command line filter to achieve this
,i use api instead
here is the ref
http://api.openstack.org/api-ref.html
invoked api is
v2/{tenant_id}/servers/{server_id}/os-volume_attachments
but , this api seems not work properly , it returns a 404 error
openstack response: '404 Not Found#012#012The resource could not be
found.#012#012 '
in cinder's log file '/var/log/cinder/cinder-api.log'
2013-04-26 11:18:11 DEBUG [routes.middleware] No route matched for GET
/82da519b676d400ab24e9ee38d138c3c/servers/cb75bb55-e9ef-4d05-af9f-3ad346fa3eb4/os-volume_attachments
any help is welcomed , thanks for advance
Daniels Cai
http://dnscai.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130426/d7d11f4f/attachment.html>
More information about the Openstack
mailing list