<div dir="ltr">I've already tried restarting all cinder services and tgt, the error still remains.<div><br></div><div style>Thanks for the help though.</div><div style><br></div><div style>Regards,</div><div style><br>
Leander</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jan 2, 2013 at 11:08 AM, Balamurugan V G <span dir="ltr"><<a href="mailto:balamuruganvg@gmail.com" target="_blank">balamuruganvg@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Try restarting your 'tgt' and other cinder services. That is all I can think of.<br><br>I had similar issue and after I set the path right and restarted the services, it worked fine.<br>
<br>Regards,<br>Balu<div class="HOEnZb"><div class="h5"><br><br>
<div class="gmail_quote">On Wed, Jan 2, 2013 at 4:23 PM, Leander Bessa Beernaert <span dir="ltr"><<a href="mailto:leanderbb@gmail.com" target="_blank">leanderbb@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"><br><div class="gmail_extra">Reply is inlined below.<br><br><div class="gmail_quote">On Wed, Jan 2, 2013 at 10:41 AM, Balamurugan V G <span dir="ltr"><<a href="mailto:balamuruganvg@gmail.com" target="_blank">balamuruganvg@gmail.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">Is that a typo in your configuration or a copy pase error:<br>


<br><div># /etc/tgt/conf.d/cinder_tgt.conf</div><div>nclude /var/lib/cinder/volumes/*<br><br>The 'i' is missing in 'include'. If its only a copy paste error in the mail, make sure you have the following running:<br>


</div></blockquote><div><br></div><div>That was a copy & paste typo, the original file is correct.</div><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>
<br>root@openstack-vm:~# ps -ef | grep cinder<br>root      3636     1  0 06:53 ?        00:00:33 /usr/bin/python /usr/local/bin/cinder-volume<br>root     25433     1  0 06:46 ?        00:00:01 /usr/bin/python /usr/local/bin/cinder-api --config-file /etc/cinder/cinder.conf<br>



root     25937     1  0 06:46 ?        00:00:32 /usr/bin/python /usr/local/bin/cinder-scheduler --config-file /etc/cinder/cinder.conf<br>root@openstack-vm:~# ps -ef | grep tgt<br>root     31176 31174  0 06:49 ?        00:00:03 tgtd<br>



root@openstack-vm:~# <br></div></blockquote><div># ps -ef | grep cinder:</div><div><div>cinder   14315     1  0 10:12 ?        00:00:00 su -s /bin/sh -c exec cinder-volume --config-file=/etc/cinder/cinder.conf --log-file=/var/log/cinder/cinder-volume.log cinder</div>


<div>cinder   14316 14315  0 10:12 ?        00:00:01 /usr/bin/python /usr/bin/cinder-volume --config-file=/etc/cinder/cinder.conf --log-file=/var/log/cinder/cinder-volume.log</div><div>cinder   14336     1  0 10:12 ?        00:00:00 su -s /bin/sh -c exec cinder-api --config-file=/etc/cinder/cinder.conf --log-file=/var/log/cinder/cinder-api.log cinder</div>


<div>cinder   14337 14336  0 10:12 ?        00:00:00 /usr/bin/python /usr/bin/cinder-api --config-file=/etc/cinder/cinder.conf --log-file=/var/log/cinder/cinder-api.log</div><div>cinder   14358     1  0 10:12 ?        00:00:00 su -s /bin/sh -c exec cinder-scheduler --config-file=/etc/cinder/cinder.conf --log-file=/var/log/cinder/cinder-scheduler.log cinder</div>


<div>cinder   14359 14358  0 10:12 ?        00:00:01 /usr/bin/python /usr/bin/cinder-scheduler --config-file=/etc/cinder/cinder.conf --log-file=/var/log/cinder/cinder-scheduler.log</div><div>root     21026  6073  0 10:49 pts/2    00:00:00 grep --color=auto cinder</div>


</div><div> </div><div># ps -ef | grep tgt</div><div><div>root     13648     1  0 10:09 ?        00:00:00 tgtd</div><div>root     13650 13648  0 10:09 ?        00:00:00 tgtd</div><div>root     21369  6073  0 10:51 pts/2    00:00:00 grep --color=auto tgt</div>


</div><div><br></div><div># cinder.conf: [user] and [pass] omitted</div><div><div>[DEFAULT]</div><div>rootwrap_config = /etc/cinder/rootwrap.conf</div><div>api_paste_confg = /etc/cinder/api-paste.ini</div><div>
sql_connection = mysql://[user]:[pass]@<a href="http://192.168.111.218/cinder" target="_blank">192.168.111.218/cinder</a></div><div>iscsi_helper = tgtadm</div><div>volume_name_template = volume-%s</div><div>volume_group = cinder-volumes</div>


<div>verbose = True</div><div>auth_strategy = keystone</div><div>state_path = /var/lib/cinder</div><div>volumes_dir = /var/lib/cinder/volumes</div></div><div><br></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><br>Also, in my case(devstack install), the path is '/opt/stack/data/cinder/volumes/*' and not ' /var/lib/cinder/volumes/*'. So make sure your path is right.<br><br></div></blockquote><div><br></div>

<div>
I'm using a custom install script to setup a single install of OpenStack using the packages provided by Ubuntu 12.04.</div><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>Hope this helps.<br>
<br>Regards,<br>Balu<br></div><br><br><div class="gmail_quote">On Wed, Jan 2, 2013 at 3:47 PM, Leander Bessa Beernaert <span dir="ltr"><<a href="mailto:leanderbb@gmail.com" target="_blank">leanderbb@gmail.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># /etc/tgt/conf.d/cinder_tgt.conf</div><div>nclude /var/lib/cinder/volumes/*</div>


</blockquote></div><br></blockquote><div><br></div><div><br>Regards,</div><div><br>Leander </div></div><br></div></div>
</blockquote></div><br>
</div></div></blockquote></div><br></div>