<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>
<div>
<div>So the volume type error will require a copy of your cinder.conf.  Or you can just verify you have a [SATA] section in it.  </div>
<div><br>
</div>
<div>Also, volume type to my knowledge won’t change how libvirt presents the volume to the instance.  I am not sure it can be changed, or at least never had to explore trying to do what you are needing to do.  </div>
<div><br>
</div>
<div><br>
</div>
<div>
<div id="MAC_OUTLOOK_SIGNATURE">
<div><font class="Apple-style-span" color="#000000"><font class="Apple-style-span" face="Calibri"><span class="Apple-style-span" style="font-size: 14px;">Craig DeLatte</span></font></font></div>
<div>Cloud Engineering & Operations – OpenStack DevOps</div>
<div><span style="font-family: Calibri;">Charter</span></div>
<div><font class="Apple-style-span" color="#000000"><font class="Apple-style-span" face="Calibri">704-731-3356</font></font></div>
<div><font class="Apple-style-span" color="#000000"><font class="Apple-style-span" face="Calibri">610-306-4816</font></font></div>
<div><br>
</div>
</div>
</div>
</div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:12pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Alexandra Kisin<br>
<span style="font-weight:bold">Date: </span>Wednesday, July 20, 2016 at 9:02 AM<br>
<span style="font-weight:bold">To: </span>"<a href="mailto:openstack-operators@lists.openstack.org">openstack-operators@lists.openstack.org</a>"<br>
<span style="font-weight:bold">Subject: </span>[Openstack-operators] Cinder attach volume<br>
<span style="font-weight:bold">Resent-From: </span>Time Warner Cable<br>
</div>
<div><br>
</div>
<div>
<div><font size="2" face="sans-serif">Hello. </font><br>
<font size="2" face="sans-serif">I'm working on Liberty Openstack environment using
<b>ibm.storwize_svc.StorwizeSVCDriver </b>as volume_drivert. </font><br>
<font size="2" face="sans-serif">When I'm creating a new volume and attaching it to the VM - by default it will be /dev/vdX on the instance using virtio driver.
</font><br>
<font size="2" face="sans-serif">And this way everything is working fine.</font><br>
<font size="2" face="sans-serif"> </font><br>
<font size="2" face="sans-serif">But I need it to be <b>/dev/sdX </b>for my application needs.
</font><br>
<font size="2" face="sans-serif">I tried to create a new type of the volume by running :</font><br>
<font size="2" face="sans-serif"><b>        cinder type-create SATA</b></font><br>
<font size="2" face="sans-serif"><b>        cinder type-key SATA set volume_backend_name=sata</b></font><br>
<font size="2" face="sans-serif">But when I start a volume create process , it fails - the new volume has error state and the error in cinder-scheduler.log is :</font><br>
<font size="2" color="#0000e0" face="sans-serif">         ERROR cinder.scheduler.flows.create_volume Failed to run task cinder.scheduler.flows.create_volume.ScheduleCreateVolumeTask;volume:create: No valid host was found. No weighed hosts available</font><br>
<br>
<font size="2" face="sans-serif">Please advise how a volume can be attached as /dev/sdX device and not /dev/vdX.
</font><br>
<font size="2" face="sans-serif">The solution of stop the VM first and only then attach a volume can also be taken in account.
</font><br>
<br>
<font size="2" face="sans-serif">Thank you. </font><br>
<br>
<font size="2" face="sans-serif">Regards,</font><br>
<br>
<font size="2" face="sans-serif">Alexandra Kisin<br>
Servers & Network group, IBM R&D Labs in Israel<br>
Unix & Virtualization Team</font><br>
<table width="738" style="border-collapse:collapse;">
<tbody>
<tr height="8">
<td width="738" colspan="3" style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<hr>
</td>
</tr>
<tr valign="top" height="8">
<td width="529" style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<font size="1" color="#4181c0" face="Arial"><b>Phone:</b></font><font size="1" color="#5f5f5f" face="Arial"> +972-48296172</font><font size="1" color="#4181c0" face="Arial"> | <b>Mobile:</b></font><font size="1" color="#5f5f5f" face="Arial"> +972-54-6976172</font><font size="1" color="#4181c0" face="Arial"> | <b>Fax:</b></font><font size="1" color="#5f5f5f" face="Arial"> +972-4-8296111</font><br>
<img src="cid:_2_0731BB300731B8C4004795A8C2257FF6" style="border:0px solid;"></td>
<td width="12" style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
</td>
<td width="196" style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<div align="right"><img src="cid:_1_0731C6000731C22C004795A8C2257FF6" width="83" height="30" alt="IBM" style="border:0px solid;"><font size="1" color="#5f5f5f" face="Arial"><br>
<br>
</font></div>
</td>
</tr>
</tbody>
</table>
<br>
<br>
<br>
<br>
</div>
</div>
</span><br>
<hr>
<font face="Arial" color="Gray" size="1"><br>
This E-mail and any of its attachments may contain Time Warner Cable proprietary information, which is privileged, confidential, or subject to copyright belonging to Time Warner Cable. This E-mail is intended solely for the use of the individual or entity to
 which it is addressed. If you are not the intended recipient of this E-mail, you are hereby notified that any dissemination, distribution, copying, or action taken in relation to the contents of and attachments to this E-mail is strictly prohibited and may
 be unlawful. If you have received this E-mail in error, please notify the sender immediately and permanently delete the original and any copy of this E-mail and any printout.<br>
</font>
</body>
</html>