Newton / Launch Instance Create new Volume RBD fails.

asked 2016-10-17 12:39:18 -0500

devinacosta gravatar image

updated 2016-10-18 13:21:15 -0500

rbowen gravatar image

I'm down to my very last issue with my upgrade to OpenStack, I am using Ceph for all my services for my backend and I notice that if i go to launch and instance and for the source I choose Image, and Create New Volume, then select the volume when it goes to launch it dies, and i see this error in my cinder logs?

400 Bad Request: Unknown scheme 'rbd' found in URI

I am able as my user from the command line to create volumes using: cinder create --display-name sample 1, and it will create a volume of 1GB in size.

 2016-10-17 10:10:09.111 431547 ERROR cinder.scheduler.filter_scheduler [req-f92812a9-9a23-47e0-bea0-a398af043e19 65463328d60a4e7bb16b84f5adfb4636 bb33fb34be514d21878c424cfe2e1ce7 - default default] Error scheduling None from last vol-service: jupiter.lnx.ninja@rbd#RBD : [u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.7/site-packages/taskflow/engines/action_engine/executor.py", line 53, in _execute_task\n    result = task.execute(**arguments)\n', u'  File "/usr/lib/python2.7/site-packages/cinder/volume/flows/manager/create_volume.py", line 842, in execute\n    **volume_spec)\n', u'  File "/usr/lib/python2.7/site-packages/cinder/volume/flows/manager/create_volume.py", line 761, in _create_from_image\n    image_service, context, image_id) as tmp_image:\n', u'  File "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__\n    return self.gen.next()\n', u'  File "/usr/lib/python2.7/site-packages/cinder/image/image_utils.py", line 567, in fetch\n    fetch_verify_image(context, image_service, image_id, tmp)\n', u'  File "/usr/lib/python2.7/site-packages/cinder/image/image_utils.py", line 212, in fetch_verify_image\n    None, None)\n', u'  File "/usr/lib/python2.7/site-packages/cinder/image/image_utils.py", line 190, in fetch\n    image_service.download(context, image_id, image_file)\n', u'  File "/usr/lib/python2.7/site-packages/cinder/image/glance.py", line 335, in download\n    _reraise_translated_image_exception(image_id)\n', u'  File "/usr/lib/python2.7/site-packages/cinder/image/glance.py", line 572, in _reraise_translated_image_exception\n    six.reraise(type(new_exc), new_exc, exc_trace)\n', u'  File "/usr/lib/python2.7/site-packages/cinder/image/glance.py", line 333, in download\n    image_chunks = self._client.call(context, \'data\', image_id)\n', u'  File "/usr/lib/python2.7/site-packages/cinder/image/glance.py", line 197, in call\n    return getattr(controller, method)(*args, **kwargs)\n', u'  File "/usr/lib/python2.7/site-packages/glanceclient/v1/images.py", line 148, in data\n    % urlparse.quote(str(image_id)))\n', u'  File "/usr/lib/python2.7/site-packages/glanceclient/common/http.py", line 287, in get\n    return self._request(\'GET\', url, **kwargs)\n', u'  File "/usr/lib/python2.7/site-packages/glanceclient/common/http.py", line 279, in _request\n    resp, body_iter = self._handle_response(resp)\n', u'  File "/usr/lib/python2.7/site-packages/glanceclient/common/http.py", line 107, in _handle_response\n    raise exc.from_response(resp, resp.content)\n', u"Invalid: 400 Bad Request: Unknown scheme 'rbd' found in URI (HTTP 400)\n"]
2016-10-17 10:10:10.017 431547 ERROR cinder.scheduler.filter_scheduler [req-f92812a9-9a23-47e0-bea0-a398af043e19 65463328d60a4e7bb16b84f5adfb4636 bb33fb34be514d21878c424cfe2e1ce7 - default default] Error scheduling None from last vol-service: jupiter.lnx.ninja ...
(more)
edit retag flag offensive close merge delete

Comments

The Cinder backend seems to be OK, but perhaps it's a misconfiguration in Nova or Glance. What do the relevant parts of nova,conf and glance-api.conf look like?

Bernd Bausch gravatar imageBernd Bausch ( 2016-10-18 04:36:25 -0500 )edit