<div style="font-family:Verdana;font-size:14px;color:#000;"><div>Thank you,<font face="lucida Grande, Verdana"><span style="font-size: 14px;">Mathieu.Do you know how to use metadata RESTful service to inject password?</span></font></div><div style="font:Verdana normal 14px;color:#000;padding:8px 0px;"><div> </div><div> </div><div style="FONT-SIZE: 12px;FONT-FAMILY: Arial Narrow;padding:2px 0 2px 0;">------------------ Original ------------------</div><div style="FONT-SIZE: 12px;background:#efefef;padding:8px;"><div><b>From:</b> "Mathieu Gagné"<mgagne@calavera.ca>; </div><div><b>Date:</b> 2018年1月30日(星期二) 凌晨3:05</div><div><b>To:</b> "OpenStack Developmen"<openstack-dev@lists.openstack.org>; </div><div><b>Subject:</b> Re: [openstack-dev] [nova]Nova rescue inject pasword failed</div></div><div> </div>On Mon, Jan 29, 2018 at 4:57 AM, Matthew Booth <<a href="mailto:mbooth@redhat.com" target="_blank">mbooth@redha<wbr>t.com</a>> wrote:<br>> On 29 January 2018 at 09:27, 李杰 <<a href="mailto:lijie@unitedstack.com" target="_blank">lijie@united<wbr>stack.com</a>> wrote:<br>>><br>>>  Hi,all:<br>>>           I want to access to my instance under rescue state using<br>>> temporary password which nova rescue gave me.But this password doesn't work.<br>>> Can I ask how this password is injected to instance? I can't find any<br>>> specification how is it done.I saw the code about rescue,But it displays the<br>>> password has inject.<br>>>           I use the libvirt as the virt driver. The web said to<br>>> set"[libvirt]inject_password=true",but it didn't work. Is it a bug?Can you<br>>> give me some advice?Help in troubleshooting this issue will be appreciated.<br>><br>><br>> Ideally your rescue image will support cloud-init and you would use a config<br>> disk.<br>><br>> But to reiterate, ideally your rescue image would support cloud-init and you<br>> would use a config disk.<br>><br>> Matt<br>> --<br>> Matthew Booth<br>> Red Hat OpenStack Engineer, Compute DFG<br>><br><br>Just so you know, cloud-init does not read/support the admin_pass<br>injected in the config-drive:<br><a href="https://bugs.launchpad.net/cloud-init/+bug/1236883" target="_blank">https://bugs<wbr>.launchpad.n<wbr>et/cloud-ini<wbr>t/+bug/12368<wbr>83</a><br><br>Known bug for years and no fix has been approved yet for various<br>non-technical reasons.<br><br>--<br>Mathieu<br><br>__________________________________________________________________________<br>OpenStack Development Mailing List (not for usage questions)<br>Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org" target="_blank">OpenStack-de<wbr>v-request@li<wbr>sts.openstac<wbr>k.org</a>?subject:unsubscribe<br><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists<wbr>.openstack.o<wbr>rg/cgi-bin/m<wbr>ailman/listi<wbr>nfo/openstac<wbr>k-dev</a><br>  <!--<![endif]--><style></style></div></div>