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