<div dir="ltr"><br><br><div class="gmail_quote"><div class="gmail_attr">Sorry i forgot to include openstack discuss mailing list with my reply.<br></div><div dir="ltr" class="gmail_attr"><br></div><div dir="ltr" class="gmail_attr">---------- Forwarded message ---------<br>From: <b class="gmail_sendername" dir="auto">Rajat Dhasmana</b> <span dir="auto"><<a href="mailto:rdhasman@redhat.com">rdhasman@redhat.com</a>></span><br>Date: Sun, Oct 18, 2020 at 1:06 PM<br>Subject: Re: [ops] [cinder] __DEFAULT__ volume type<br>To: Eugen Block <<a href="mailto:eblock@nde.ag">eblock@nde.ag</a>><br></div><br><br><div dir="ltr"><div>Hi Eugen,<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Oct 18, 2020 at 12:54 PM Eugen Block <<a href="mailto:eblock@nde.ag" target="_blank">eblock@nde.ag</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">Hi,<br>
<br>
I also was confused about that during our upgrade to Train. I noticed  <br>
that many volumes in our cloud didn't have any volume type defined at  <br>
all, so I had to update the respective table before I could continue  <br>
the upgrade process.</blockquote><div><br></div><div>What do you mean by "updating the respective table"?  The optimal way</div><div>to update a volume with a volume type is:</div><div>1) create a volume type pointing to the backend in which the volume currently is</div><div>2) retype the volume to that volume type<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> I have also defined a different volume type in  <br>
cinder.conf but I don't think you can just delete the __DEFAULT__  <br>
type,</blockquote><div><br></div><div>The functionality to delete the __DEFAULT__ type is only available since cinder train >= 15.4.0</div><div>(See the releasenotes for more info regarding the __DEFAULT__ type[1])<br></div><div>Also you need to have a valid value defined with ``default_volume_type`` in cinder.conf<br></div><div>Let me know if you have respective settings and still not able to delete the __DEFAULT__ type.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> I'm not sure anymore but I think I also tried that. But it  <br>
doesn't really hurt if you have one of your own types as default.<br>
<br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Regards,<br>
Eugen<br>
<br></blockquote><div><br></div><div>[1] <a href="https://docs.openstack.org/releasenotes/cinder/train.html#relnotes-15-4-0-stable-train-bug-fixes" target="_blank">https://docs.openstack.org/releasenotes/cinder/train.html#relnotes-15-4-0-stable-train-bug-fixes</a></div><div><br></div><div>Regards</div><div>Rajat Dhasmana<br> </div></div></div>
</div></div>