[sheepdog-users] Testing sheepdog with OpenStack

Liu Yuan namei.unix at gmail.com
Sat Jan 19 11:47:18 CET 2013


On 01/19/2013 06:38 PM, MORITA Kazutaka wrote:
> I ran as a normal user, too.
> 
> Which daemon did throw the exception?  Can you give me the error
> output.

This is what I see mostly:

2013-01-19 18:44:09.922 ERROR nova.service [-] Unhandled exception
2013-01-19 18:44:09.922 TRACE nova.service Traceback (most recent call
last):
2013-01-19 18:44:09.922 TRACE nova.service   File
"/opt/stack/nova/nova/service.py", line 305, in _start_child
2013-01-19 18:44:09.922 TRACE nova.service
self._child_process(wrap.server)
2013-01-19 18:44:09.922 TRACE nova.service   File
"/opt/stack/nova/nova/service.py", line 282, in _child_process
2013-01-19 18:44:09.922 TRACE nova.service     launcher.run_server(server)
2013-01-19 18:44:09.922 TRACE nova.service   File
"/opt/stack/nova/nova/service.py", line 145, in run_server
2013-01-19 18:44:09.922 TRACE nova.service     server.start()
2013-01-19 18:44:09.922 TRACE nova.service   File
"/opt/stack/nova/nova/service.py", line 622, in start
2013-01-19 18:44:09.922 TRACE nova.service     self.manager.init_host()
2013-01-19 18:44:09.922 TRACE nova.service   File
"/opt/stack/nova/nova/api/manager.py", line 39, in init_host
2013-01-19 18:44:09.922 TRACE nova.service
self.network_driver.metadata_accept()
2013-01-19 18:44:09.922 TRACE nova.service   File
"/opt/stack/nova/nova/network/linux_net.py", line 558, in metadata_accept
2013-01-19 18:44:09.922 TRACE nova.service     iptables_manager.apply()
2013-01-19 18:44:09.922 TRACE nova.service   File
"/opt/stack/nova/nova/network/linux_net.py", line 358, in apply
2013-01-19 18:44:09.922 TRACE nova.service     self._apply()
2013-01-19 18:44:09.922 TRACE nova.service   File
"/opt/stack/nova/nova/openstack/common/lockutils.py", line 221, in inner
2013-01-19 18:44:09.922 TRACE nova.service     retval = f(*args, **kwargs)
2013-01-19 18:44:09.922 TRACE nova.service   File
"/opt/stack/nova/nova/network/linux_net.py", line 384, in _apply
2013-01-19 18:44:09.922 TRACE nova.service     attempts=5)
2013-01-19 18:44:09.922 TRACE nova.service   File
"/opt/stack/nova/nova/network/linux_net.py", line 1040, in _execute
2013-01-19 18:44:09.922 TRACE nova.service     return
utils.execute(*cmd, **kwargs)
2013-01-19 18:44:09.922 TRACE nova.service   File
"/opt/stack/nova/nova/utils.py", line 232, in execute
2013-01-19 18:44:09.922 TRACE nova.service     cmd=' '.join(cmd))
2013-01-19 18:44:09.922 TRACE nova.service ProcessExecutionError:
Unexpected error while running command.
2013-01-19 18:44:09.922 TRACE nova.service Command: sudo nova-rootwrap
/etc/nova/rootwrap.conf iptables-restore -c
2013-01-19 18:44:09.922 TRACE nova.service Exit code: 1
2013-01-19 18:44:09.922 TRACE nova.service Stdout: ''
2013-01-19 18:44:09.922 TRACE nova.service Stderr: 'iptables-restore:
line 1 failed\n'
2013-01-19 18:44:09.922 TRACE nova.service

And for cinder servcie:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line
336, in fire_timers
    timer()
  File "/usr/lib/python2.7/dist-packages/eventlet/hubs/timer.py", line
56, in __call__
    cb(*args, **kw)
  File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line
192, in main
    result = function(*args, **kwargs)
  File "/opt/stack/cinder/cinder/service.py", line 87, in run_server
    server.start()
  File "/opt/stack/cinder/cinder/service.py", line 158, in start
    self.manager.init_host()
  File "/opt/stack/cinder/cinder/volume/manager.py", line 130, in init_host
    self.driver.check_for_setup_error()
  File "/opt/stack/cinder/cinder/volume/drivers/sheepdog.py", line 39,
in check_for_setup_error
    (out, err) = self._execute('collie', 'cluster', 'info')
  File "/opt/stack/cinder/cinder/utils.py", line 171, in execute
    shell=shell)
  File "/usr/lib/python2.7/dist-packages/eventlet/green/subprocess.py",
line 25, in __init__
    subprocess_orig.Popen.__init__(self, args, 0, *argss, **kwds)
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory




More information about the sheepdog-users mailing list