<div dir="ltr">Checking the bug report you mentioned and seems the best solution will be rely on that BP you mentioned<div>in the report. I sugguest one thing we can do is that we mention that we will not reset the tag but it might<br></div><div>not working. And when we can support assign tag when attach volume to shelved_offloaded instances,</div><div>we then perform the reset and update action. </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 28, 2019 at 10:10 AM Matt Riedemann <<a href="mailto:mriedemos@gmail.com">mriedemos@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2/27/2019 7:41 PM, Zhenyu Zheng wrote:<br>
> There is something I don't quite understand, what will be different for <br>
> the volumes that are newly attached and<br>
> the existing volumes in case you mentioned? I mean, the existing volumes <br>
> could also have tags, and when<br>
> we unshelve,  we still have to handle the tags in bdms, no matter it is <br>
> existing bdms or newly atteched when the<br>
> instance is in ``shelved_offloaded`` status. What is the difference?<br>
<br>
There isn't, it's a bug:<br>
<br>
<a href="https://bugs.launchpad.net/nova/+bug/1817927" rel="noreferrer" target="_blank">https://bugs.launchpad.net/nova/+bug/1817927</a><br>
<br>
Which is why I think we should probably lift the restriction in the API <br>
so that users can attach volumes with tags to a shelved offloaded instance.<br>
<br>
I'm not really comfortable with adding root volume detach/attach support <br>
if the user cannot specify a new tag when attaching a new root volume, <br>
and to do that we have to remove that restriction on tags + shelved <br>
offloaded servers in the API.<br>
<br>
-- <br>
<br>
Thanks,<br>
<br>
Matt<br>
</blockquote></div>