<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:宋体;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@宋体";
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:微软雅黑;
panose-1:2 11 5 3 2 2 4 2 2 4;}
@font-face
{font-family:"\@微软雅黑";
panose-1:2 11 5 3 2 2 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:宋体;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.mail-date
{mso-style-name:mail-date;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=ZH-CN link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri",sans-serif;color:#1F497D'>About the bind/unbind feature, we have discussed on the nova PTG[1], they are in our task list. Welcome to join us if you have interest.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri",sans-serif;color:#1F497D'>We also use kolla-ansible to deploy cyborg, but found no problem right now, if you meet error, pls report bugs on the launchpad[2] and fix them if you have time.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri",sans-serif;color:#1F497D'>[1] https://etherpad.opendev.org/p/nova-xena-ptg#L375<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri",sans-serif;color:#1F497D'>[2] https://bugs.launchpad.net/openstack-cyborg<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"微软雅黑",sans-serif'>发件人<span lang=EN-US>:</span></span></b><span lang=EN-US style='font-size:11.0pt;font-family:"微软雅黑",sans-serif'> Di XiaoLi [mailto:xiaolihope1008@163.com] <br></span><b><span style='font-size:11.0pt;font-family:"微软雅黑",sans-serif'>发送时间<span lang=EN-US>:</span></span></b><span lang=EN-US style='font-size:11.0pt;font-family:"微软雅黑",sans-serif'> 2021</span><span style='font-size:11.0pt;font-family:"微软雅黑",sans-serif'>年<span lang=EN-US>12</span>月<span lang=EN-US>13</span>日<span lang=EN-US> 16:46<br></span><b>收件人<span lang=EN-US>:</span></b><span lang=EN-US> Alex Song (</span>宋文平<span lang=EN-US>) <songwenping@inspur.com><br></span><b>抄送<span lang=EN-US>:</span></b><span lang=EN-US> openstack-discuss@lists.openstack.org<br></span><b>主题<span lang=EN-US>:</span></b><span lang=EN-US> </span>回复:答复<span lang=EN-US>: [lists.openstack.org</span>代发<span lang=EN-US>][cyborg][nova][qa]Question about Accelerator unbinding<o:p></o:p></span></span></p></div></div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><div><div><div><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"微软雅黑",sans-serif'>Yes, Alex, this command does confuse me a bit. <o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"微软雅黑",sans-serif'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"微软雅黑",sans-serif'>Hope we can support bind/unbind accelerators in the future.<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"微软雅黑",sans-serif'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"微软雅黑",sans-serif'>I also found some errors in kolla-ansible when deploying cyborg. I want to know how active is the cyborg project? <o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"微软雅黑",sans-serif'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"微软雅黑",sans-serif'>Shall we fix the deploy bug in kolla-ansible and backport the bug fixes to released branches?<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"微软雅黑",sans-serif'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"微软雅黑",sans-serif'><o:p> </o:p></span></p></div><div id=ntes-pcmac-signature><div><div style='margin-bottom:7.5pt;display:inline-block'><div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div></div></div></div></div><div style='margin-top:33.75pt;margin-bottom:15.0pt;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px'><div style='margin-left:7.5pt;margin-right:7.5pt'><p class=MsoNormal style='background:#F2F2F2;word-break:break-all'><span style='font-size:9.0pt;font-family:"微软雅黑",sans-serif;color:black'>在<span class=mail-date><span lang=EN-US>2021</span>年<span lang=EN-US>12</span>月<span lang=EN-US>13</span>日<span lang=EN-US> 16:35</span></span>,<span lang=EN-US><a href="mailto:songwenping@inspur.com"><span style='color:#2A83F2;text-decoration:none'>Alex Song (</span><span lang=EN-US style='color:#2A83F2;text-decoration:none'><span lang=EN-US>宋文平)<songwenping@inspur.com></span></span></a> </span>写道: <span lang=EN-US><o:p></o:p></span></span></p></div></div><blockquote id=ntes-pcmail-quote><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri",sans-serif;color:#1F497D'> </span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri",sans-serif;color:#1F497D'>Anyway, we should shield this cmd to avoid misoperation of arq and lead the instance start error for now.</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri",sans-serif;color:#1F497D'> </span><span lang=EN-US><o:p></o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span style='font-size:11.0pt;font-family:"微软雅黑",sans-serif'>发件人<span lang=EN-US>:</span></span></b><span lang=EN-US style='font-size:11.0pt;font-family:"微软雅黑",sans-serif'> Alex Song (</span><span style='font-size:11.0pt;font-family:"微软雅黑",sans-serif'>宋文平<span lang=EN-US>) <br></span><b>发送时间<span lang=EN-US>:</span></b><span lang=EN-US> 2021</span>年<span lang=EN-US>12</span>月<span lang=EN-US>13</span>日<span lang=EN-US> 16:27<br></span><b>收件人<span lang=EN-US>:</span></b><span lang=EN-US> '<a href="mailto:xiaolihope1008@163.com">xiaolihope1008@163.com</a>' <<a href="mailto:xiaolihope1008@163.com">xiaolihope1008@163.com</a>>; '<a href="mailto:openstack-discuss@lists.openstack.org">openstack-discuss@lists.openstack.org</a>' <<a href="mailto:openstack-discuss@lists.openstack.org">openstack-discuss@lists.openstack.org</a>><br></span><b>主题<span lang=EN-US>:</span></b><span lang=EN-US> </span>答复<span lang=EN-US>: [lists.openstack.org</span>代发<span lang=EN-US>][cyborg][nova][qa]Question about Accelerator unbinding</span></span><span lang=EN-US><o:p></o:p></span></p></div></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US> <o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri",sans-serif;color:#1F497D'>Emm, the arq unbind cmd is used of deleting instance.</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri",sans-serif;color:#1F497D'>Recently we donot support hot-plug/unplug device for instance. We only support binding devices when create instance and unbinding devices when delete instance.</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri",sans-serif;color:#1F497D'> </span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri",sans-serif;color:#1F497D'>Best Regards.</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri",sans-serif;color:#1F497D'> </span><span lang=EN-US><o:p></o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span style='font-size:11.0pt;font-family:"微软雅黑",sans-serif'>发件人<span lang=EN-US>:</span></span></b><span lang=EN-US style='font-size:11.0pt;font-family:"微软雅黑",sans-serif'> Di XiaoLi [<a href="mailto:xiaolihope1008@163.com">mailto:xiaolihope1008@163.com</a>] <br></span><b><span style='font-size:11.0pt;font-family:"微软雅黑",sans-serif'>发送时间<span lang=EN-US>:</span></span></b><span lang=EN-US style='font-size:11.0pt;font-family:"微软雅黑",sans-serif'> 2021</span><span style='font-size:11.0pt;font-family:"微软雅黑",sans-serif'>年<span lang=EN-US>12</span>月<span lang=EN-US>13</span>日<span lang=EN-US> 9:54<br></span><b>收件人<span lang=EN-US>:</span></b><span lang=EN-US> openstack-discuss <<a href="mailto:openstack-discuss@lists.openstack.org">openstack-discuss@lists.openstack.org</a>><br></span><b>主题<span lang=EN-US>:</span></b><span lang=EN-US> [lists.openstack.org</span>代发<span lang=EN-US>][cyborg][nova][qa]Question about Accelerator unbinding</span></span><span lang=EN-US><o:p></o:p></span></p></div></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US> <o:p></o:p></span></p><div><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:10.5pt;font-family:"微软雅黑",sans-serif'>hi, Cyborg and nova team:</span><span lang=EN-US><o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:10.5pt;font-family:"微软雅黑",sans-serif'>I am using cyborg with "Wallaby" release to manage my accelerator devices, while I'm trying to unbind the accelerator I found that the device was not actually unbound from the virtual machine. </span><span lang=EN-US><o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:10.5pt;font-family:"微软雅黑",sans-serif'>Here are my questions:</span><span lang=EN-US><o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:10.5pt;font-family:"微软雅黑",sans-serif'>1. What is the function of the arq unbind command in cyborg ?</span><span lang=EN-US><o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:10.5pt;font-family:"微软雅黑",sans-serif'>2. How to unbind the accelerator which bounded to vm? Does nova or cyborg support this function now</span><span style='font-size:10.5pt;font-family:"微软雅黑",sans-serif'>?</span><span lang=EN-US><o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:10.5pt;font-family:"微软雅黑",sans-serif'> </span><span lang=EN-US><o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:10.5pt;font-family:"微软雅黑",sans-serif'>Here are my steps:</span><span lang=EN-US><o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:10.5pt;font-family:"微软雅黑",sans-serif'>step1: openstack accelerator arq unbind ed205084-f58d-4fad-99b4-327a1398858f<br>+---------------------+--------------------------------------+<br>| Field | Value |<br>+---------------------+--------------------------------------+<br>| uuid | ed205084-f58d-4fad-99b4-327a1398858f |<br>| state | Unbound |<br>| device_profile_name | ssd |<br>| hostname | None |<br>| device_rp_uuid | None |<br>| instance_uuid | None |<br>| attach_handle_type | |<br>| attach_handle_info | {} |<br>+---------------------+--------------------------------------+</span><span lang=EN-US><o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:10.5pt;font-family:"微软雅黑",sans-serif'> step2: login vm and check the device, but it still here.</span><span lang=EN-US><o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:10.5pt;font-family:"微软雅黑",sans-serif'>step3: stop vm and start vm, met the following error:</span><span lang=EN-US><o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:10.5pt;font-family:"微软雅黑",sans-serif'>"nova.exception.AcceleratorRequestOpFailed: Failed to get accelerator requests: Cyborg returned no accelerator requests for instance ca77ef4e-421c-4c6c-9d76-7618a90ec921"</span><span lang=EN-US><o:p></o:p></span></p></div><div><div><div style='margin-bottom:7.5pt;display:inline-block'><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US> <o:p></o:p></span></p></div></div></div></div></div></div></div></blockquote></div></div></body></html>