<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1449597459915_4033" dir="ltr">I switched to Nova API, and it is working now.  <br></div><div id="yui_3_16_0_1_1449597459915_4035" dir="ltr"><br></div><div dir="ltr">Thanks a lot.</div><div dir="ltr"><br></div><div id="yui_3_16_0_1_1449597459915_4041" dir="ltr">John<br></div><div id="yui_3_16_0_1_1449597459915_4032"><span></span></div> <br><div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> On Monday, December 7, 2015 8:26 PM, hao wang <sxmatch1986@gmail.com> wrote:<br></font></div>  <br><br> <div class="y_msg_container">Hi, Laohu<br clear="none">You shouldn't use cinder attach API to attach a volume to an instance.<br clear="none">Cinder attach API worked with Nova attach API, so you should call Nova<br clear="none">attach API that will attach volume really.<br clear="none"><br clear="none">Attach volume is a complex process, it start from Nova side,  Nova<br clear="none">will interact with Cinder several times via calling different Cinder<br clear="none">APIs.<br clear="none"><br clear="none">BR<br clear="none">WangHao<br clear="none"><div class="yqt7463842499" id="yqtfd78902"><br clear="none">2015-12-07 21:41 GMT+08:00 Laohu <<a shape="rect" ymailto="mailto:boston01a2000@yahoo.com" href="mailto:boston01a2000@yahoo.com">boston01a2000@yahoo.com</a>>:<br clear="none">> I called cinderclient.volumes.attach(...)  to attach a block volume to an<br clear="none">> instance, the volume is in  'In-Use' status and attached to the volume.<br clear="none">> However, when I got on Openstack dashboard and clicked on the instance, i<br clear="none">> could not find the volume in the 'Volumes Attached' section.<br clear="none">><br clear="none">> I use cinder 2.0 client.<br clear="none">><br clear="none">> Thanks for help!<br clear="none">> John</div><br clear="none">><br clear="none">><br clear="none">> _______________________________________________<br clear="none">> Mailing list: <a shape="rect" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br clear="none">> Post to     : <a shape="rect" ymailto="mailto:openstack@lists.openstack.org" href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br clear="none">> Unsubscribe : <a shape="rect" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><div class="yqt7463842499" id="yqtfd26832"><br clear="none">><br clear="none"></div><br><br></div>  </div> </div>  </div></div></body></html>