How to solve "Unknown protocol sheepdog" in Cinder

asked 2014-09-04 22:00:59 -0500

yyc gravatar image

updated 2014-09-05 23:51:32 -0500

Unknown protocol sheepdog:volume-9004dc7c-6e8e-4470-944b-e55afe1cdcaf

  1. I set volume_driver=cinder.volume.drivers.sheepdog.SheepdogDriver in cinder.conf file whether controller node or compute node
  2. i have installed the sheepdog , and I manually execute "qemu-img create sheepdog:volume-9004dc7c-6e8e-4470-944b-e55afe1cdcaf 1G" on compute node , it's ok.

this is the error log below:

ERROR cinder.scheduler.filter_scheduler [req-3fe455dd-5726-4461-9349-cd6a38252332 22af777e28b84a78b234b387282a387e 07c7e89d7ca44315a7b12d5723f3e320 - - -] Error scheduling None from last vol-service: compute1 : [u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.6/site-packages/taskflow/engines/action_engine/executor.py", line 36, in _execute_task\n    # NOTE(imelnikov): wrap current exception with Failure\n', u'  File "/usr/lib/python2.6/site-packages/cinder/volume/flows/manager/create_volume.py", line 594, in execute\n    image_meta=image_meta)\n', u'  File "/usr/lib/python2.6/site-packages/cinder/volume/flows/manager/create_volume.py", line 564, in _create_raw_volume\n    #\n', u'  File "/usr/lib/python2.6/site-packages/cinder/volume/drivers/sheepdog.py", line 74, in create_volume\n    "sheepdog:%s" % volume[\'name\'],\n', u'  File "/usr/lib/python2.6/site-packages/cinder/volume/driver.py", line 186, in _try_execute\n    if self.configuration:\n', u'  File "/usr/lib/python2.6/site-packages/cinder/utils.py", line 136, in execute\n', u'  File "/usr/lib/python2.6/site-packages/cinder/openstack/common/processutils.py", line 173, in execute\n    preexec_fn=preexec_fn,\n', u'ProcessExecutionError: Unexpected error while running command.\nCommand: qemu-img create sheepdog:volume-9004dc7c-6e8e-4470-944b-e55afe1cdcaf 1G\nExit code: 1\nStdout: \'\'\nStderr: "Unknown protocol \'sheepdog:volume-9004dc7c-6e8e-4470-944b-e55afe1cdcaf\'\\n"\n']
edit retag flag offensive close merge delete