<div dir="ltr"><div class="gmail_default" style="font-family:courier new,monospace"><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 16, 2013 at 12:41 AM, zan tosh <span dir="ltr"><<a href="mailto:ztosh71@gmail.com" target="_blank">ztosh71@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">Thanks for all your responses. I didn't realize that stack.sh actually copies the cinder.conf.sample instead of cinder.conf to /etc/cinder every time it runs. So, it was overwriting my entries. I fixed it by making changes to the script. The issue is resolved. </div>

<div class="HOEnZb"><div class="h5">
<div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 15, 2013 at 4:54 PM, Unmesh Gurjar <span dir="ltr"><<a href="mailto:unmesh.gurjar@gmail.com" target="_blank">unmesh.gurjar@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">Hi,<div><br></div><div>AFAIK, there are no additional changes required (other than restarting the service so that it loads the new conf settings). Assuming you have done that, can you check what is the 'volume_driver' from the service start up logs?</div>


<span><font color="#888888">
<div><br></div><div class="gmail_extra"><br>~Unmesh.</div></font></span><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 15, 2013 at 10:44 AM, zan tosh <span dir="ltr"><<a href="mailto:ztosh71@gmail.com" target="_blank">ztosh71@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">Ray<div><br></div><div>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>



<span><font color="#888888">
<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">~z</span></div></font></span></div><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 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 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>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>

<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>
</div></div><br>_______________________________________________<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><br clear="all"><div><br></div></div></div></div></div>
</blockquote></div><br></div>
</div></div><br>_______________________________________________<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">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><div class="gmail_default" style="font-family:'courier new',monospace">Yes, devstack will overwrite each time your run stack.sh.  You can also modify your cinder.conf file and then just resart the cinder-volume service (use screen -x to access the service).</div>

<br></div></div>