<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 Mon, Jun 23, 2014 at 7:48 AM, Ivan Kolodyazhny <span dir="ltr"><<a href="mailto:e0ne@e0ne.info" target="_blank">e0ne@e0ne.info</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Yogesh,</span><br>

<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><font face="arial, sans-serif">Try to modify yours /devstack/local.conf with </font></div>

<div><div style="font-family:arial,sans-serif;font-size:13px">CINDER_DRIVER=cinder.volume.drivers.cloudbyte.ElasticenterISCSIDriver</div></div><div>and run stack.sh. </div><div><br></div><div>rejoin-stack.sh doesn't update anything, it launches OpenStack services in screen and uses existing configuration</div>



</div><div class="gmail_extra"><br clear="all"><div>Regards,<br>Ivan Kolodyazhny,<br>Web Developer,<br><a href="http://blog.e0ne.info/" target="_blank">http://blog.e0ne.info/</a>,<div><a href="http://notacash.com/" target="_blank">http://notacash.com/</a>,</div>



<div><a href="http://kharkivpy.org.ua/" target="_blank">http://kharkivpy.org.ua/</a></div></div><div><div class="h5">
<br><br><div class="gmail_quote">On Mon, Jun 23, 2014 at 1:30 PM, Yogesh Prasad <span dir="ltr"><<a href="mailto:yogesh.prasad@cloudbyte.com" target="_blank">yogesh.prasad@cloudbyte.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">



<div dir="ltr">Hi Lvan,<div><br></div><div>Thanks for reply, but i am still facing same problem.</div><div><br></div><div>I have tried all of these -</div><div><br></div><div>1) Inside /etc/cinder/cinder.conf</div><div>    [DEFAULT]</div>




<div>    volume_driver=cinder.volume.drivers.cloudbyte.ElasticenterISCSIDriver</div><div><br></div><div>    and ran below script</div><div>   ./rejoin-stack.sh</div><div><br></div><div>2) Inside /devstack/local.conf </div>




<div><span style="color:rgb(51,51,51);font-family:'Arial Unicode MS',Arial,sans-serif;font-size:14px;line-height:20px">[[post-config|$CINDER_CONF]]</span></div><span style="color:rgb(51,51,51);font-family:'Arial Unicode MS',Arial,sans-serif;font-size:14px;line-height:20px">    volume_driver = cinder.volume.</span>cloudbyte.ElasticenterISCSIDriver<div>




    </div><div>     and ran below script</div><div>   ./rejoin-stack.sh</div><div><br></div><div>3) Inside /devstack/local.conf </div><div>    [[local|localrc]]</div><div>    CINDER_DRIVER=cinder.volume.drivers.cloudbyte.ElasticenterISCSIDriver</div>




<div>    </div><div>    and ran below script</div><div>   ./rejoin-stack.sh</div><div><br></div><div>4) Inside /devstack/local.conf </div><div>    volume_driver = cinder.volume.drivers.cloudbyte.ElasticenterISCSIDriver</div>




<div><br></div><div>     and ran below script </div><div>   ./rejoin-stack.sh</div><div><br></div><div>But it is not working.</div><div><br></div><div>In addition, what is the py file that reads localrc ?</div><div><br></div>




</div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 23, 2014 at 2:14 PM, Ivan Kolodyazhny <span dir="ltr"><<a href="mailto:e0ne@e0ne.info" target="_blank">e0ne@e0ne.info</a>></span> wrote:<br>




<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi Yogesh,<div><br></div><div>You need to set <span style="color:rgb(0,0,0)">CINDER_DRIVER variable in your localrc file</span></div>




<div class="gmail_extra"><br clear="all"><div>Regards,<br>Ivan Kolodyazhny,<br>

Software Engineer,</div><div>Mirantis, Inc.</div>
<br><br><div class="gmail_quote"><div><div>On Mon, Jun 23, 2014 at 10:38 AM, Yogesh Prasad <span dir="ltr"><<a href="mailto:yogesh.prasad@cloudbyte.com" target="_blank">yogesh.prasad@cloudbyte.com</a>></span> wrote:<br>




</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div>

<div dir="ltr"><br clear="all"><div>Hi All,</div><div><br></div><div>I have devstack setup and i want to put my cinder driver as a default driver.</div><div>How i can do this?</div><div>please guide.</div><span><font color="#888888">-- <br>






<div dir="ltr">
<div style="font-family:arial;font-size:small"><u>Thanks & Regards</u>,</div><div style="font-family:arial;font-size:small">  Yogesh Prasad.</div></div>
</font></span></div>
<br></div></div>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div></div>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div style="font-family:arial;font-size:small"><u>Thanks & Regards</u>,</div><div style="font-family:arial;font-size:small">  Yogesh Prasad.</div>




</div>
</div>
</div></div><br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><div class="gmail_default" style="font-family:'courier new',monospace">​I put this in a wiki a while back [1], might not be the clearest set of instructions but should give you a pretty good hint.  Note the extra variables specific for your driver.  The piece you're still going to need is the lib/cinder_plugins which will interpret the driver settings from your local.conf and populate cinder.conf appropriately.  Without that you'll still get volume_driver set in the cinder.conf but none of your options.</div>

<div class="gmail_default" style="font-family:'courier new',monospace"><br></div><div class="gmail_default" style="font-family:'courier new',monospace">Also, FYI you don't have to deploy devstack with your driver enabled, just build it normally with the default LVM, then edit /etc/cinder/cinder.conf and put your driver parameters in.  Finally, open the screen session and restart c-volume service and your driver will get picked up from the conf file.</div>

<div class="gmail_default" style="font-family:'courier new',monospace"><br></div><div class="gmail_default" style="font-family:'courier new',monospace">[1]: <a href="https://wiki.openstack.org/wiki/Cinder#Configuring_devstack_to_use_your_driver_and_backend">https://wiki.openstack.org/wiki/Cinder#Configuring_devstack_to_use_your_driver_and_backend</a>​</div>

<br></div></div>