Ask Your Question

Another Cinder Error Message

asked 2013-08-15 08:35:09 -0500

Mathias Ewald gravatar image

Hi posted a thread earlier about an error messages in the logs when I start cinder-volume and could resolve it (I think) by installing sudo on my Debian Wheezy, placing /sbin into the $PATH variable using /etc/profiles and add settin iscsi_helper to ietadm. After that, cinder-volume started an I could create a volume that showed as available. Now, I restarted the services and see a different error message in /var/log/cinder/cinder-volume.log:

root@cinder:~# cat /var/log/cinder/cinder-volume.log 
2013-08-15 09:54:19     INFO [cinder.service] Starting 1 workers
2013-08-15 09:54:19     INFO [cinder.service] Started child 3823
2013-08-15 09:54:19    AUDIT [cinder.service] Starting cinder-volume node (version 2013.1.2)
2013-08-15 09:54:20    ERROR [cinder.service] Unhandled exception
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/cinder/", line 227, in _start_child
  File "/usr/lib/python2.7/dist-packages/cinder/", line 204, in _child_process
  File "/usr/lib/python2.7/dist-packages/cinder/", line 95, in run_server
  File "/usr/lib/python2.7/dist-packages/cinder/", line 355, in start
  File "/usr/lib/python2.7/dist-packages/cinder/volume/", line 149, in init_host
    self.driver.ensure_export(ctxt, volume)
  File "/usr/lib/python2.7/dist-packages/cinder/volume/drivers/", line 391, in ensure_export
  File "/usr/lib/python2.7/dist-packages/cinder/volume/", line 225, in create_iscsi_target
    self._new_target(name, tid, **kwargs)
  File "/usr/lib/python2.7/dist-packages/cinder/volume/", line 284, in _new_target
  File "/usr/lib/python2.7/dist-packages/cinder/volume/", line 73, in _run
    self._execute(self._cmd, *args, run_as_root=True, **kwargs)
  File "/usr/lib/python2.7/dist-packages/cinder/", line 145, in execute
    'to utils.execute: %r') % kwargs)
Error: Got unknown keyword args to utils.execute: {'old_name': None}
2013-08-15 09:54:20     INFO [cinder.service] Child 3823 exited with status 2
2013-08-15 09:54:20     INFO [cinder.service] _wait_child 1
2013-08-15 09:54:20     INFO [cinder.service] wait wrap.failed True

I went through the Python scripts and lines mentioned above, but cannot find out which command it actually tries to execute. I assumed is was the iscsi_helper command which I set to ietadm. So I added /usr/sbin/ to $PATH, too, but still get the message.

Here's my config:

root@cinder:~# cat /etc/cinder/cinder.conf
rootwrap_config = /etc/cinder/rootwrap.conf
sql_connection = mysql://cinder:password@
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
logdir = /var/log/cinder
volumes_dir = /var/lib/cinder/volumes
rabbit_host =
rabbit_port = 5672
rabbit_use_ssl = false
rabbit_userid = guest
rabbit_password = 12346789
rabbit_virtual_host = /

Seems like Cinder on Wheezy is a real pain ^^

Any ideas?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-12-03 06:34:20 -0500

albertomolina gravatar image

updated 2013-12-03 06:35:32 -0500

It seems related to bug #1175207 [1]. I was facing the same issue and this commit [2] solves it

[1] [](

[2] [](

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2013-08-15 08:35:09 -0500

Seen: 405 times

Last updated: Dec 03 '13