I switched to Nova API, and it is working now. Thanks a lot. John
On Monday, December 7, 2015 8:26 PM, hao wang <sxmatch1...@gmail.com> 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 <boston01a2...@yahoo.com>: > 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 : openstack@lists.openstack.org > Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack