<div dir="ltr">Ray<div><br></div><div style>I am wondering why I see the default driver even after I changed the entry in cinder.conf. I un-commented the line for volume_driver and changed the driver name. I tried to print volume driver in the __init__ and I see it still pointing to <span style="font-family:arial,sans-serif;font-size:13px">LVMISCSIDriver. It seems I am missing something and its not loading values from cinder.conf.</span></div>
<div style><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div style><span style="font-family:arial,sans-serif;font-size:13px">~z</span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Mon, Jul 15, 2013 at 10:33 AM, Ray Sun <span dir="ltr"><<a href="mailto:xiaoquqi@gmail.com" target="_blank">xiaoquqi@gmail.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"><div class="gmail_default" style="font-size:small;display:inline">Yes, that's the default driver. See cinder/volume/manager.py</div><div>volume_manager_opts = [</div><div>    cfg.StrOpt('volume_driver',</div>


<div>               default='cinder.volume.drivers.lvm.LVMISCSIDriver',</div><div>               help='Driver to use for volume creation'),</div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;display:inline">


<span style="font-family:arial">]</span></div></div></div><div class="gmail_extra"><br clear="all"><div><font face="'courier new', monospace">Best Regards<br>-- Ray</font></div>
<br><br><div class="gmail_quote"><div><div class="h5">On Mon, Jul 15, 2013 at 12:51 PM, zan tosh <span dir="ltr"><<a href="mailto:ztosh71@gmail.com" target="_blank">ztosh71@gmail.com</a>></span> wrote:<br></div></div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">

<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">I use devstack (Grizzly/stable). I have been trying to use a different volume driver by muncommenting and modifying the below line in cinder.conf under etc/cinder</span><div style="font-family:arial,sans-serif;font-size:13px">



<div># Driver to use for volume creation (string value)</div><div>#volume_driver=cinder.volume.drivers.lvm.LVMISCSIDriver</div></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">



But when VolumeManager is loaded I see it still refers to the default LVMISCSIDriver. Is there any other change to load cinder.conf? </div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">



Any suggestions?</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Tahnks</div></div>
<br></div></div>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>