Guys,<div><br></div><div> At first, tgt was running after one "<a href="http://controller.teste.com">controller.teste.com</a>" reboot but, I know I'm using ietd, so, I stop tgt and remove the init script of if and started ietd manually...</div>

<div><br></div><div> But cinder doesn't start up anymore...   :(</div><div><br></div><div> I really appreciate any kind of help here...</div><div><br></div><div> Someone on IRC channel told me that Cinder is trying to use "_get_target" function in the TargetAdmin class but, how can Cinder use tgt if "iscsi_helper = ietadm" ?</div>

<div><br></div><div>Best,</div><div>Thiago<br><br><div class="gmail_quote">On 1 February 2013 19:20, Martinx - ジェームズ <span dir="ltr"><<a href="mailto:thiagocmartinsc@gmail.com" target="_blank">thiagocmartinsc@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Guys,<div><br></div><div> At my Cinder logs, I'm seeing this when I run "/etc/init.d/cinder-volume start":</div>

<div><br></div><div>----</div><div><div>2013-02-01 18:16:20 1075 AUDIT cinder.service [-] Starting cinder-volume node (version 2012.2.1-LOCALBRANCH:LOCALREVISION)</div>

<div>2013-02-01 18:16:21 DEBUG cinder.utils [req-1ebb9638-2300-456a-995e-382c96f6632d None None] Running cmd (subprocess): sudo cinder-rootwrap /etc/cinder/rootwrap.conf vgs --noheadings -o name execute /usr/lib/python2.7/dist-packages/cinder/utils.py:163</div>



<div>2013-02-01 18:16:22 DEBUG cinder.utils [req-1ebb9638-2300-456a-995e-382c96f6632d None None] backend <module 'cinder.db.sqlalchemy.api' from '/usr/lib/python2.7/dist-packages/cinder/db/sqlalchemy/api.pyc'> __get_backend /usr/lib/python2.7/dist-packages/cinder/utils.py:477</div>



<div>2013-02-01 18:16:23 DEBUG cinder.volume.manager [req-1ebb9638-2300-456a-995e-382c96f6632d None None] Re-exporting 1 volumes init_host /usr/lib/python2.7/dist-packages/cinder/volume/manager.py:98</div><div>2013-02-01 18:16:23 1075 CRITICAL cinder [-] Got unknown keyword args to utils.execute: {'old_name': None}</div>



<div>2013-02-01 18:16:23 1075 TRACE cinder Traceback (most recent call last):</div><div>2013-02-01 18:16:23 1075 TRACE cinder   File "/usr/bin/cinder-volume", line 48, in <module></div><div>2013-02-01 18:16:23 1075 TRACE cinder     service.wait()</div>



<div>2013-02-01 18:16:23 1075 TRACE cinder   File "/usr/lib/python2.7/dist-packages/cinder/service.py", line 422, in wait</div><div>2013-02-01 18:16:23 1075 TRACE cinder     _launcher.wait()</div><div>2013-02-01 18:16:23 1075 TRACE cinder   File "/usr/lib/python2.7/dist-packages/cinder/service.py", line 127, in wait</div>



<div>2013-02-01 18:16:23 1075 TRACE cinder     service.wait()</div><div>2013-02-01 18:16:23 1075 TRACE cinder   File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 166, in wait</div><div>2013-02-01 18:16:23 1075 TRACE cinder     return self._exit_event.wait()</div>



<div>2013-02-01 18:16:23 1075 TRACE cinder   File "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 116, in wait</div><div>2013-02-01 18:16:23 1075 TRACE cinder     return hubs.get_hub().switch()</div>


<div>
2013-02-01 18:16:23 1075 TRACE cinder   File "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 177, in switch</div><div>2013-02-01 18:16:23 1075 TRACE cinder     return self.greenlet.switch()</div><div>



2013-02-01 18:16:23 1075 TRACE cinder   File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 192, in main</div><div>2013-02-01 18:16:23 1075 TRACE cinder     result = function(*args, **kwargs)</div>



<div>2013-02-01 18:16:23 1075 TRACE cinder   File "/usr/lib/python2.7/dist-packages/cinder/service.py", line 88, in run_server</div><div>2013-02-01 18:16:23 1075 TRACE cinder     server.start()</div><div>2013-02-01 18:16:23 1075 TRACE cinder   File "/usr/lib/python2.7/dist-packages/cinder/service.py", line 159, in start</div>



<div>2013-02-01 18:16:23 1075 TRACE cinder     self.manager.init_host()</div><div>2013-02-01 18:16:23 1075 TRACE cinder   File "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py", line 101, in init_host</div>



<div>2013-02-01 18:16:23 1075 TRACE cinder     self.driver.ensure_export(ctxt, volume)</div><div>2013-02-01 18:16:23 1075 TRACE cinder   File "/usr/lib/python2.7/dist-packages/cinder/volume/driver.py", line 352, in ensure_export</div>



<div>2013-02-01 18:16:23 1075 TRACE cinder     old_name=old_name)</div><div>2013-02-01 18:16:23 1075 TRACE cinder   File "/usr/lib/python2.7/dist-packages/cinder/volume/iscsi.py", line 198, in create_iscsi_target</div>



<div>2013-02-01 18:16:23 1075 TRACE cinder     self._new_target(name, tid, **kwargs)</div><div>2013-02-01 18:16:23 1075 TRACE cinder   File "/usr/lib/python2.7/dist-packages/cinder/volume/iscsi.py", line 211, in _new_target</div>



<div>2013-02-01 18:16:23 1075 TRACE cinder     **kwargs)</div><div>2013-02-01 18:16:23 1075 TRACE cinder   File "/usr/lib/python2.7/dist-packages/cinder/volume/iscsi.py", line 60, in _run</div><div>2013-02-01 18:16:23 1075 TRACE cinder     self._execute(self._cmd, *args, run_as_root=True, **kwargs)</div>



<div>2013-02-01 18:16:23 1075 TRACE cinder   File "/usr/lib/python2.7/dist-packages/cinder/utils.py", line 142, in execute</div><div>2013-02-01 18:16:23 1075 TRACE cinder     'to utils.execute: %r') % kwargs)</div>



<div>2013-02-01 18:16:23 1075 TRACE cinder Error: Got unknown keyword args to utils.execute: {'old_name': None}</div><div>2013-02-01 18:16:23 1075 TRACE cinder </div></div><div>----</div><div><br></div><div> My cinder.conf contains:</div>



<div><br></div><div>----</div><div><div>[DEFAULT]</div><div>sql_connection = mysql://<a href="http://cinderUser:cinderPass@controller.teste.com/cinder" target="_blank">cinderUser:cinderPass@controller.teste.com/cinder</a></div>


<div>rootwrap_config = /etc/cinder/rootwrap.conf</div>
<div>api_paste_confg = /etc/cinder/api-paste.ini</div><div>iscsi_helper = ietadm</div><div>volume_name_template = volume-%s</div><div>volume_group = cinder-volumes</div><div>verbose = True</div><div>auth_strategy = keystone</div>



<div>#osapi_volume_listen_port=5900</div></div><div>---</div><div><br></div><div> My /etc/cinder/api-paste.ini relevant parts:</div><div><br></div><div>----</div><div><div>[filter:authtoken]</div><div>paste.filter_factory = keystone.middleware.auth_token:filter_factory</div>


<div>service_protocol = http</div><div>service_host = <a href="http://controller.teste.com" target="_blank">controller.teste.com</a></div><div>service_port = 5000</div><div>auth_host = <a href="http://controller.teste.com" target="_blank">controller.teste.com</a></div>


<div>auth_port = 35357</div><div>auth_protocol = http</div><div>admin_tenant_name = service</div><div>admin_user = cinder</div><div>admin_password = service_pass</div></div><div>----</div><div><br></div><div> The "<a href="http://controller.teste.com" target="_blank">controller.teste.com</a>" host resolution is okay (IP 10.32.14.232). It was working yesterday, volumes creation, attaching, deleting, etc...    =(</div>


<div><br></div><div> I'm using Openstack Folsom on top of Ubuntu 12.04.</div><div><br></div><div>Thanks,</div><div>Thiago</div>
</blockquote></div><br></div>