<div dir="ltr">This sort of question comes up every six months or so it seems.<div><br>The issue is that for config drive users we don't have a way of rebuilding all of the config drive (for example, the root password is gone). That's probably an issue for rescue because its presumably one of the things you might reset.</div><div><br></div><div>I'm not opposed to exploring options, but I think we need someone to come up with a proposal which addresses previous concerns. I'd recommend a quick search of the mailing list archives for previous discussions.</div><div><br></div><div>Hope this helps,</div><div>Michael</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 9, 2017 at 5:04 PM, Pawel Suder <span dir="ltr"><<a href="mailto:pawel.suder@corp.ovh.com" target="_blank">pawel.suder@corp.ovh.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div id="m_-2042253721236968244divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<p>Hello,</p>
<p><br>
</p>
<p>I would like to raise a topic regarding possibilities when metadata could be modified on instance.</p>
<p><br>
</p>
<p>We noticed that instance metadata could be modified only when vm_state is set to following values:</p>
<p></p>
<ul>
<li>active</li><li>paused</li><li>suspended</li><li>stopped</li></ul>
<div>Found:</div>
<div><br>
</div>
<div><a href="https://github.com/openstack/nova/blob/master/nova/compute/api.py#L3916-L3920" class="m_-2042253721236968244OWAAutoLink" id="m_-2042253721236968244LPlnk308390" target="_blank">https://github.com/openstack/<wbr>nova/blob/master/nova/compute/<wbr>api.py#L3916-L3920</a><br>
</div>
<div><a href="https://github.com/openstack/nova/blob/master/nova/compute/api.py#L3905-L3908" class="m_-2042253721236968244OWAAutoLink" id="m_-2042253721236968244LPlnk875011" target="_blank">https://github.com/openstack/<wbr>nova/blob/master/nova/compute/<wbr>api.py#L3905-L3908</a><br>
</div>
<div><br>
</div>
<div>From time to time it is needed to have instance in rescued state.</div>
<div><br>
</div>
<div>Scenario: VM is rescued and special metadata attributes need to be set to allow cloud-init to act specifically for rescue mode. Metadata data should be available only during rescue mode.</div>
<div><br>
</div>
<div>Question: what kind of impact could be observed when checks for instance state will be modified for methods:</div>
<div><br>
</div>
<div>update_instance_metadata</div>
<div>delete_instance_metadata</div>
<div><br>
</div>
<div>Thank you,</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Pawel</div>
<p></p>
</div>
</div>

<br>______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.<wbr>openstack.org?subject:<wbr>unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Rackspace Australia</div>
</div>