<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<style>
    font{
        line-height: 1.6;
    }
    ul,ol{
        padding-left: 20px;
        list-style-position: inside;
    }
</style>
<div style="font-family:微软雅黑,Verdana,"Microsoft Yahei",SimSun,sans-serif;font-size:14px; line-height:1.6;">
    <div></div><div>
    <div>
        <span>Yes, Alex, this command does confuse me a bit. 
        </span></div><div><br></div><div>Hope we can support bind/unbind accelerators in the future.</div><div><br></div><div>I also found some errors in kolla-ansible when deploying cyborg. I want to know how active is the cyborg project? </div><div><br></div><div>Shall we fix the deploy bug in kolla-ansible and backport the bug fixes to released branches?</div><div><br></div>
    <div>
        <span>
            <br>
        </span>
    </div>
    <div id="ntes-pcmac-signature" style="font-family:'微软雅黑'">
         <div style="font-size:14px; padding: 0;  margin:0;">
        <div style="padding-bottom:10px;margin-bottom:10px;display:inline-block;">
            <div><p style="MARGIN: 0cm 0cm 0pt" class="MsoNormal"><br></p><p style="MARGIN: 0cm 0cm 0pt" class="MsoNormal"><span lang="EN-US"><font face="Calibri"></font></span></p></div>
        </div>
    </div>
     </div>
</div><div class="J-reply" style="background-color:#f2f2f2;color:black;padding-top:6px;padding-bottom:6px;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;margin-top:45px;margin-bottom:20px;font-family:'微软雅黑';">
    <div style="font-size:12px;line-height:1.5;word-break:break-all;margin-left:10px;margin-right:10px">在<span class="mail-date">2021年12月13日 16:35</span>,<a class="mail-to" style="text-decoration:none;color:#2a83f2;" href="mailto:songwenping@inspur.com">Alex Song (宋文平)<songwenping@inspur.com></a> 写道: </div>
</div>
<blockquote id="ntes-pcmail-quote" style="margin: 0; padding: 0; font-size: 14px; font-family: '微软雅黑';">
<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">Anyway, we should shield this cmd to avoid misoperation of arq and lead the instance start error for now.<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"> 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 data-auto-link="1" href="mailto:xiaolihope1008@163.com">xiaolihope1008@163.com</a>' <<a data-auto-link="1" href="mailto:xiaolihope1008@163.com">xiaolihope1008@163.com</a>>; '<a data-auto-link="1" href="mailto:openstack-discuss@lists.openstack.org">openstack-discuss@lists.openstack.org</a>' <<a data-auto-link="1" 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<o:p></o:p></span></span></p></div></div><p class="MsoNormal"><span lang="EN-US"><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">Emm, the arq unbind cmd is used of deleting instance.<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">Recently we donot support hot-plug/unplug device for instance. We only support binding devices when create instance and unbinding devices when delete instance.<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">Best Regards.<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 [<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<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">hi, Cyborg and nova team:<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 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. <o:p></o:p></span></p></div><div><p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"微软雅黑",sans-serif">Here are my questions:<o:p></o:p></span></p></div><div><p class="MsoNormal"><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 ?<o:p></o:p></span></p></div><div><p class="MsoNormal"><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 lang="EN-US"><o:p></o:p></span></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">Here are my steps:<o:p></o:p></span></p></div><div><p class="MsoNormal"><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>+---------------------+--------------------------------------+<o:p></o:p></span></p></div><div><p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"微软雅黑",sans-serif"> step2: login vm and check the device, but it still here.<o:p></o:p></span></p></div><div><p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"微软雅黑",sans-serif">step3: stop vm and start vm, met the following error:<o:p></o:p></span></p></div><div><p class="MsoNormal"><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"<o:p></o:p></span></p></div><div><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></div></blockquote><!--😀-->
</div>
</body>
</html>