No one can help me with this? My cinder-volume process is completely down. I don't know what I can do to fix this issue...
Thanks! Thiago On 1 February 2013 19:49, Martinx - ジェームズ <thiagocmarti...@gmail.com> wrote: > Guys, > > At first, tgt was running after one "controller.teste.com" reboot but, I > know I'm using ietd, so, I stop tgt and remove the init script of if and > started ietd manually... > > But cinder doesn't start up anymore... :( > > I really appreciate any kind of help here... > > 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" ? > > Best, > Thiago > > On 1 February 2013 19:20, Martinx - ジェームズ <thiagocmarti...@gmail.com>wrote: > >> Guys, >> >> At my Cinder logs, I'm seeing this when I run "/etc/init.d/cinder-volume >> start": >> >> ---- >> 2013-02-01 18:16:20 1075 AUDIT cinder.service [-] Starting cinder-volume >> node (version 2012.2.1-LOCALBRANCH:LOCALREVISION) >> 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 >> 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 >> 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 >> 2013-02-01 18:16:23 1075 CRITICAL cinder [-] Got unknown keyword args to >> utils.execute: {'old_name': None} >> 2013-02-01 18:16:23 1075 TRACE cinder Traceback (most recent call last): >> 2013-02-01 18:16:23 1075 TRACE cinder File "/usr/bin/cinder-volume", >> line 48, in <module> >> 2013-02-01 18:16:23 1075 TRACE cinder service.wait() >> 2013-02-01 18:16:23 1075 TRACE cinder File >> "/usr/lib/python2.7/dist-packages/cinder/service.py", line 422, in wait >> 2013-02-01 18:16:23 1075 TRACE cinder _launcher.wait() >> 2013-02-01 18:16:23 1075 TRACE cinder File >> "/usr/lib/python2.7/dist-packages/cinder/service.py", line 127, in wait >> 2013-02-01 18:16:23 1075 TRACE cinder service.wait() >> 2013-02-01 18:16:23 1075 TRACE cinder File >> "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 166, in >> wait >> 2013-02-01 18:16:23 1075 TRACE cinder return self._exit_event.wait() >> 2013-02-01 18:16:23 1075 TRACE cinder File >> "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 116, in wait >> 2013-02-01 18:16:23 1075 TRACE cinder return hubs.get_hub().switch() >> 2013-02-01 18:16:23 1075 TRACE cinder File >> "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 177, in switch >> 2013-02-01 18:16:23 1075 TRACE cinder return self.greenlet.switch() >> 2013-02-01 18:16:23 1075 TRACE cinder File >> "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 192, in >> main >> 2013-02-01 18:16:23 1075 TRACE cinder result = function(*args, >> **kwargs) >> 2013-02-01 18:16:23 1075 TRACE cinder File >> "/usr/lib/python2.7/dist-packages/cinder/service.py", line 88, in run_server >> 2013-02-01 18:16:23 1075 TRACE cinder server.start() >> 2013-02-01 18:16:23 1075 TRACE cinder File >> "/usr/lib/python2.7/dist-packages/cinder/service.py", line 159, in start >> 2013-02-01 18:16:23 1075 TRACE cinder self.manager.init_host() >> 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 >> 2013-02-01 18:16:23 1075 TRACE cinder self.driver.ensure_export(ctxt, >> volume) >> 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 >> 2013-02-01 18:16:23 1075 TRACE cinder old_name=old_name) >> 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 >> 2013-02-01 18:16:23 1075 TRACE cinder self._new_target(name, tid, >> **kwargs) >> 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 >> 2013-02-01 18:16:23 1075 TRACE cinder **kwargs) >> 2013-02-01 18:16:23 1075 TRACE cinder File >> "/usr/lib/python2.7/dist-packages/cinder/volume/iscsi.py", line 60, in _run >> 2013-02-01 18:16:23 1075 TRACE cinder self._execute(self._cmd, *args, >> run_as_root=True, **kwargs) >> 2013-02-01 18:16:23 1075 TRACE cinder File >> "/usr/lib/python2.7/dist-packages/cinder/utils.py", line 142, in execute >> 2013-02-01 18:16:23 1075 TRACE cinder 'to utils.execute: %r') % >> kwargs) >> 2013-02-01 18:16:23 1075 TRACE cinder Error: Got unknown keyword args to >> utils.execute: {'old_name': None} >> 2013-02-01 18:16:23 1075 TRACE cinder >> ---- >> >> My cinder.conf contains: >> >> ---- >> [DEFAULT] >> sql_connection = mysql:// >> cinderUser:cinderp...@controller.teste.com/cinder >> rootwrap_config = /etc/cinder/rootwrap.conf >> api_paste_confg = /etc/cinder/api-paste.ini >> iscsi_helper = ietadm >> volume_name_template = volume-%s >> volume_group = cinder-volumes >> verbose = True >> auth_strategy = keystone >> #osapi_volume_listen_port=5900 >> --- >> >> My /etc/cinder/api-paste.ini relevant parts: >> >> ---- >> [filter:authtoken] >> paste.filter_factory = keystone.middleware.auth_token:filter_factory >> service_protocol = http >> service_host = controller.teste.com >> service_port = 5000 >> auth_host = controller.teste.com >> auth_port = 35357 >> auth_protocol = http >> admin_tenant_name = service >> admin_user = cinder >> admin_password = service_pass >> ---- >> >> The "controller.teste.com" host resolution is okay (IP 10.32.14.232). >> It was working yesterday, volumes creation, attaching, deleting, etc... >> =( >> >> I'm using Openstack Folsom on top of Ubuntu 12.04. >> >> Thanks, >> Thiago >> > >
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp