[Openstack] Cinder error with Ceph backend, ImageCopyFailure: Failed to copy image to volume

Guillermo Alvarado guillermoalvarado89 at gmail.com
Mon May 11 23:19:25 UTC 2015


Hello, thanks Mike. Here the output:

Controller:

root at ctrl-net01:/var/lib# rbd --user cinder --pool volumes ls
testa1
volume-2b20fca2-752b-4c93-9dd1-600c96b2a6c4
volume-526df27f-f8a5-42c0-96f1-1976ff1cc1a9
volume-a15e66ee-5d9a-4032-a888-74a173584fd0
volume-b49d05bc-07e5-4104-9adf-4d7e2daf7839



Compute:
root at comp01:/etc/ceph# rbd --user cinder --pool volumes ls
testa1
volume-2b20fca2-752b-4c93-9dd1-600c96b2a6c4
volume-526df27f-f8a5-42c0-96f1-1976ff1cc1a9
volume-a15e66ee-5d9a-4032-a888-74a173584fd0
volume-b49d05bc-07e5-4104-9adf-4d7e2daf7839


Storage node(Ceph):

root at stor01:/etc/ceph# rbd --user cinder --pool volumes ls
2015-05-11 18:14:51.469680 7fe859185840 -1 monclient(hunting): ERROR:
missing keyring, cannot use cephx for authentication
2015-05-11 18:14:51.469686 7fe859185840  0 librados: client.cinder
initialization error (2) No such file or directory
rbd: couldn't connect to the cluster!


Also I recreated all the steps above but without glance configurations
because I do not want use RBd or ceph to my glance implementation.

Thanks in advance.




El lun., 11 de may. de 2015 a la(s) 6:06 p. m., Mike Smith <
mismith at overstock.com> escribió:

>  I’ve been playing with Ceph quite a bit the last couple weeks and can
> probably help you out.   The problem on looks to be:
>
>   Image 94dc5715-7ce6-410b-90a9-d9a2f9b2e1e5 could not be found.
>
>  Are you able to create any empty volumes successfully?   If so, and
> assuming you followed the steps from
> http://docs.ceph.com/docs/master/rbd/rbd-openstack/, try this from your
> compute host:
>
>  rbd --user cinder --pool volumes ls
>
>  Also try that from the node where the cinder volume service is running.
>    If you get an error trying that from either host, retrace the steps on
> the document above.  If it works fine, then the issue is likely related to
> the "libvirtd secrets” section and making sure nova and libvirt are set up.
>
>  Let us know what you see and I’ll see if I can help.
>
>  Mike
>
>
>  Mike Smith
> Principal Engineer, Website Systems
> Overstock.com
>
>
>
>
>
>
>  On May 11, 2015, at 4:49 PM, Guillermo Alvarado <
> guillermoalvarado89 at gmail.com> wrote:
>
>  Hello, I have access to a running Ceph Storage Cluster. I am able to
> create volumes with cinder, but not VMs (boot from image, creates new
> volume) Here cinder-volume.log Anybody can help me? Thanks in advance.
> 2015-05-11 17:39:27.879 58175 TRACE oslo.messaging.rpc.dispatcher File
> "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py",
> line 134, in _dispatch_and_reply 2015-05-11 17:39:27.879 58175 TRACE
> oslo.messaging.rpc.dispatcher incoming.message)) 2015-05-11 17:39:27.879
> 58175 TRACE oslo.messaging.rpc.dispatcher File
> "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py",
> line 177, in _dispatch 2015-05-11 17:39:27.879 58175 TRACE
> oslo.messaging.rpc.dispatcher return self._do_dispatch(endpoint, method,
> ctxt, args) 2015-05-11 17:39:27.879 58175 TRACE
> oslo.messaging.rpc.dispatcher File
> "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py",
> line 123, in _do_dispatch 2015-05-11 17:39:27.879 58175 TRACE
> oslo.messaging.rpc.dispatcher result = getattr(endpoint, method)(ctxt,
> **new_args) 2015-05-11 17:39:27.879 58175 TRACE
> oslo.messaging.rpc.dispatcher File
> "/usr/lib/python2.7/dist-packages/osprofiler/profiler.py", line 105, in
> wrapper 2015-05-11 17:39:27.879 58175 TRACE oslo.messaging.rpc.dispatcher
> return f(*args, **kwargs) 2015-05-11 17:39:27.879 58175 TRACE
> oslo.messaging.rpc.dispatcher File
> "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py", line 381, in
> create_volume 2015-05-11 17:39:27.879 58175 TRACE
> oslo.messaging.rpc.dispatcher _run_flow() 2015-05-11 17:39:27.879 58175
> TRACE oslo.messaging.rpc.dispatcher File
> "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py", line 374, in
> _run_flow 2015-05-11 17:39:27.879 58175 TRACE oslo.messaging.rpc.dispatcher
> flow_engine.run() 2015-05-11 17:39:27.879 58175 TRACE
> oslo.messaging.rpc.dispatcher File
> "/usr/lib/python2.7/dist-packages/taskflow/engines/action_engine/engine.py",
> line 89, in run 2015-05-11 17:39:27.879 58175 TRACE
> oslo.messaging.rpc.dispatcher for _state in self.run_iter(): 2015-05-11
> 17:39:27.879 58175 TRACE oslo.messaging.rpc.dispatcher File
> "/usr/lib/python2.7/dist-packages/taskflow/engines/action_engine/engine.py",
> line 137, in run_iter 2015-05-11 17:39:27.879 58175 TRACE
> oslo.messaging.rpc.dispatcher
> misc.Failure.reraise_if_any(failures.values()) 2015-05-11 17:39:27.879
> 58175 TRACE oslo.messaging.rpc.dispatcher File
> "/usr/lib/python2.7/dist-packages/taskflow/utils/misc.py", line 797, in
> reraise_if_any 2015-05-11 17:39:27.879 58175 TRACE
> oslo.messaging.rpc.dispatcher failures[0].reraise() 2015-05-11 17:39:27.879
> 58175 TRACE oslo.messaging.rpc.dispatcher File
> "/usr/lib/python2.7/dist-packages/taskflow/utils/misc.py", line 804, in
> reraise 2015-05-11 17:39:27.879 58175 TRACE oslo.messaging.rpc.dispatcher
> six.reraise(*self._exc_info) 2015-05-11 17:39:27.879 58175 TRACE
> oslo.messaging.rpc.dispatcher File
> "/usr/lib/python2.7/dist-packages/taskflow/engines/action_engine/executor.py",
> line 34, in _execute_task 2015-05-11 17:39:27.879 58175 TRACE
> oslo.messaging.rpc.dispatcher result = task.execute(**arguments) 2015-05-11
> 17:39:27.879 58175 TRACE oslo.messaging.rpc.dispatcher File
> "/usr/lib/python2.7/dist-packages/cinder/volume/flows/manager/create_volume.py",
> line 638, in execute 2015-05-11 17:39:27.879 58175 TRACE
> oslo.messaging.rpc.dispatcher **volume_spec) 2015-05-11 17:39:27.879 58175
> TRACE oslo.messaging.rpc.dispatcher File
> "/usr/lib/python2.7/dist-packages/cinder/volume/flows/manager/create_volume.py",
> line 590, in _create_from_image 2015-05-11 17:39:27.879 58175 TRACE
> oslo.messaging.rpc.dispatcher image_id, image_location, image_service)
> 2015-05-11 17:39:27.879 58175 TRACE oslo.messaging.rpc.dispatcher File
> "/usr/lib/python2.7/dist-packages/cinder/volume/flows/manager/create_volume.py",
> line 504, in _copy_image_to_volume 2015-05-11 17:39:27.879 58175 TRACE
> oslo.messaging.rpc.dispatcher raise exception.ImageCopyFailure(reason=ex)
> 2015-05-11 17:39:27.879 58175 TRACE oslo.messaging.rpc.dispatcher
> ImageCopyFailure: Failed to copy image to volume: Image
> 94dc5715-7ce6-410b-90a9-d9a2f9b2e1e5 could not be found.
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
>
> ------------------------------
>
> CONFIDENTIALITY NOTICE: This message is intended only for the use and
> review of the individual or entity to which it is addressed and may contain
> information that is privileged and confidential. If the reader of this
> message is not the intended recipient, or the employee or agent responsible
> for delivering the message solely to the intended recipient, you are hereby
> notified that any dissemination, distribution or copying of this
> communication is strictly prohibited. If you have received this
> communication in error, please notify sender immediately by telephone or
> return email. Thank you.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150511/d7d4e666/attachment.html>


More information about the Openstack mailing list