<html><head></head><body><div class="ydpa06e55d1yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div></div>
        <div dir="ltr" data-setdir="false">Hi Jonathan, Alan,</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Thanks for the replies. Yep those are what we tried Alan and also tried yours Jonathan, it showed it actually still had an attachment so I removed that and set it from state "reserved" to "available".</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">We think we figured out after I sent the original mail that it's not an openstack issue, we have it backended on Quobyte and we can interact with all the other volumes there but not this particular one so we believe the issue is there.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Thanks for the help anyway.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Regards,</div><div dir="ltr" data-setdir="false">Derek</div><div><br></div>
        
        </div><div id="yahoo_quoted_9193857556" class="yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Wednesday 30 March 2022, 23:52:30 IST, Alan Bishop <abishop@redhat.com> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id="yiv8139920319"><div><div dir="ltr"><div dir="ltr"><br clear="none"></div><br clear="none"><div class="yiv8139920319gmail_quote"><div dir="ltr" class="yiv8139920319gmail_attr">On Wed, Mar 30, 2022 at 2:42 PM Jonathan Proulx <<a rel="nofollow noopener noreferrer" shape="rect" ymailto="mailto:jon@csail.mit.edu" target="_blank" href="mailto:jon@csail.mit.edu">jon@csail.mit.edu</a>> wrote:<br clear="none"></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;" class="yiv8139920319gmail_quote">On Wed, Mar 30, 2022 at 08:16:12AM +0000, Derek O keeffe wrote:<br clear="none">
:Hi all,<br clear="none">
:We are having an issue with a volume. The volume was created and attached to an instance that was then deleted. We now need to attach the volume to another instance to rescue the data on it but it still thinks it's attached to the deleted instance and we can't "manage attachments" or view the details of the volume.<br clear="none">
<br clear="none">
When you say<br clear="none">
<br clear="none">
:We have tried forcing it from the cli to detach but with no luck. We were thinking of doing it through the DB but said we'd askhere first in case anyone has experienced the same and has a better way of approaching the issue. Thanks in advance.<br clear="none">
<br clear="none">
is this what you tried?<br clear="none">
<br clear="none">
cinder reset-state --attach-status detached <UUID><br clear="none"></blockquote><div><br clear="none"></div><div>Assuming your cloud is based on Queens or later, these commands may also help:</div><div><br clear="none"></div><div> cinder --os-volume-api-version 3.44 attachment-list</div><div>cinder --os-volume-api-version 3.44 attachment-delete <attachment ID></div><div><br clear="none"></div><div>Alan<div id="yiv8139920319yqtfd16324" class="yiv8139920319yqt6114067352"><br clear="none"></div></div><div id="yiv8139920319yqtfd16127" class="yiv8139920319yqt6114067352"><div><br clear="none"></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;" class="yiv8139920319gmail_quote">
<br clear="none">
I've had the stale attachement problem a number of times and that<br clear="none">
one's always worked for me so here's hoping it's not what you tried...<br clear="none">
<br clear="none">
-Jon<br clear="none">
<br clear="none">
</blockquote></div></div></div><div id="yiv8139920319yqtfd76588" class="yiv8139920319yqt6114067352">
</div></div></div></div>
            </div>
        </div></body></html>