<div dir="ltr">Hi Eduard,<div><br></div><div>What extra_specs do you configured in this volume_type?</div><div>Yes you can force a volume to an specific node, or backend. You must configure the volume_backend_name on cinder.conf, and add an extra spec "volume_backend_name='same_as_in_cinder_conf'" on the volume type  you created.</div><div><br></div><div>For example:</div><div>[lvm1]</div><div><div>volume_driver = cinder.volume.drivers.lvm.LVMVolumeDriver<br></div><div>volume_backend_name = lvm</div></div><div><br></div><div><div>[lvm2]</div><div><div>volume_driver = cinder.volume.drivers.lvm.LVMVolumeDriver<br></div><div>volume_backend_name = lvm</div></div></div><div><br></div><div>Then:</div><div><div>cinder type-create lvm</div><div>$ cinder type-key lvm_node set volume_backend_name=lvm</div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 10, 2015 at 5:36 AM, Eduard Matei <span dir="ltr"><<a href="mailto:eduard.matei@cloudfounders.com" target="_blank">eduard.matei@cloudfounders.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>We've been testing a multi-node setup with our driver and ended up in a strange situation:</div><div>- having a driver configured on multiple cinder nodes (But not all)</div><div>- having a volume type (available)</div><div>- creating a volume with specified volume type causes the volume to be created (attempted) on a node where the driver is not configured.</div><div><br></div><div>We found something called "storage_availability_zone" but not quite understood it, and it looks like an extra choice in the "Create volume wizard" (which can be skipped/forgotten).</div><div><br></div><div>So, question:</div><div>- can we "force" a volume type to be tied to specific nodes? (something like availability zones, but determined based on volume type, not a separate setting)<br clear="all"><div><br></div><div><br></div><div>Thanks,</div><span class="HOEnZb"><font color="#888888"><div><br></div>-- </font></span></div><span class="HOEnZb"><font color="#888888"><div><div><div dir="ltr"><pre style="white-space:pre-wrap;font-size:10px;word-wrap:break-word;margin-top:0px;margin-bottom:0px"><div style="font-family:arial,sans-serif;font-size:13px;text-align:-webkit-auto;white-space:normal;margin:0px"><b><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">Eduard Biceri Matei, Senior Software Developer</span></b></div><div style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px;text-align:-webkit-auto;white-space:normal;margin:0px"><span style="font-size:13.5pt;font-family:Helvetica,sans-serif"><a href="http://www.cloudfounders.com/" style="color:rgb(17,85,204)" target="_blank"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif"><font color="#0045a3">www.cloudfounders.com</font></span></a><div style="display:inline-block;width:16px;min-height:16px"></div><div style="display:inline-block;width:16px;min-height:16px"></div></span><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif"><font color="#1f497d"> | </font><a href="mailto:eduard.matei@cloudfounders.com" style="color:rgb(17,85,204)" target="_blank"><font color="#0045a3">eduard.matei@cloudfounders.com</font></a></span></div><div style="font-family:arial,sans-serif;font-size:13px;text-align:-webkit-auto;white-space:normal;margin:0px"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></div><br></pre></div></div>
</div></font></span></div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>