I switched to Nova API, and it is working now.
Thanks a lot.
John
On Monday, December 7, 2015 8:26 PM, hao wang <[email protected]> wrote:
Hi, Laohu
You shouldn't use cinder attach API to attach a volume to an instance.
Cinder attach API worked with Nova attach API, so you should call Nova
attach API that will attach volume really.
Attach volume is a complex process, it start from Nova side, Nova
will interact with Cinder several times via calling different Cinder
APIs.
BR
WangHao
2015-12-07 21:41 GMT+08:00 Laohu <[email protected]>:
> I called cinderclient.volumes.attach(...) to attach a block volume to an
> instance, the volume is in 'In-Use' status and attached to the volume.
> However, when I got on Openstack dashboard and clicked on the instance, i
> could not find the volume in the 'Volumes Attached' section.
>
> I use cinder 2.0 client.
>
> Thanks for help!
> John
>
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : [email protected]
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack