<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Malik,</p>
<p>Have you created 'mystoragetype' with 'openstack volume type
create' ? If not, I believe the backup behavior is to use
__DEFAULT__ .
<a class="moz-txt-link-freetext" href="https://docs.openstack.org/cinder/latest/admin/blockstorage-volume-number-weigher.html#volume-type">https://docs.openstack.org/cinder/latest/admin/blockstorage-volume-number-weigher.html#volume-type</a></p>
<p>You will need to restart Cinder after creating the volume type
and updating cinder.conf.</p>
<p>Hope this helps.</p>
<p>Jay<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 2/18/2021 5:05 AM, Malik Obaid
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAL8QD6QU1xn9CSfwsuNuM1ynLv-hMkmA4Db5tD9iDNdmdS-sUg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<p style="box-sizing:border-box;margin:0.5em 0px 0px;font-size:13.5px;line-height:1.6em;white-space:pre-wrap;width:1024px;word-break:break-word;color:rgb(61,60,64);font-family:"Open Sans",sans-serif">Hi,</p>
<p style="box-sizing:border-box;margin:0.5em 0px 0px;font-size:13.5px;line-height:1.6em;white-space:pre-wrap;width:1024px;word-break:break-word;color:rgb(61,60,64);font-family:"Open Sans",sans-serif">I am creating nova instance with cinder backed iscsi storage. I have created multiple storage types. But my launched instance from image use storage type __<span style="box-sizing:border-box;font-weight:600">DEFAULT__</span> for flavor's root volume.</p>
<p style="box-sizing:border-box;margin:0.5em 0px 0px;font-size:13.5px;line-height:1.6em;white-space:pre-wrap;width:1024px;word-break:break-word;color:rgb(61,60,64);font-family:"Open Sans",sans-serif">I have changed default_volume_type to mystoragetype in cinder.conf but instances root volume still goes in __<span style="box-sizing:border-box;font-weight:600">DEFAULT__</span> storage type. </p>
<p style="box-sizing:border-box;margin:0.5em 0px 0px;font-size:13.5px;line-height:1.6em;white-space:pre-wrap;width:1024px;word-break:break-word;color:rgb(61,60,64);font-family:"Open Sans",sans-serif">However new volume creation in mystoragetype is successful.</p>
<p style="box-sizing:border-box;margin:0.5em 0px 0px;font-size:13.5px;line-height:1.6em;white-space:pre-wrap;width:1024px;word-break:break-word;color:rgb(61,60,64);font-family:"Open Sans",sans-serif">Need help, how can I set instance root volume storage type during its deployment ?</p>
<p style="box-sizing:border-box;margin:0.5em 0px 0px;font-size:13.5px;line-height:1.6em;white-space:pre-wrap;width:1024px;word-break:break-word;color:rgb(61,60,64);font-family:"Open Sans",sans-serif">Regards,</p>
<p style="box-sizing:border-box;margin:0.5em 0px 0px;font-size:13.5px;line-height:1.6em;white-space:pre-wrap;width:1024px;word-break:break-word;color:rgb(61,60,64);font-family:"Open Sans",sans-serif">Malik Obaid</p>
</div>
</blockquote>
</body>
</html>