大橙子网站建设,新征程启航

为企业提供网站建设、域名注册、服务器等服务

active的创建快照报错该怎么办

本篇文章为大家展示了active的创建快照报错该怎么办,内容简明扼要并且容易理解,绝对能使你眼前一亮,通过这篇文章的详细介绍希望你能有所收获。

成都创新互联从2013年创立,是专业互联网技术服务公司,拥有项目网站设计制作、成都做网站网站策划,项目实施与项目整合能力。我们以让每一个梦想脱颖而出为使命,1280元勐腊做网站,已为上家服务,为勐腊各地企业和个人服务,联系电话:18982081108

active的创建快照报错该怎么办

自动删除:

active的创建快照报错该怎么办

nova-compute报错日志:

2014-11-12 23:09:03.233 27810 ERROR oslo.messaging.rpc.dispatcher [-] Exception during message handling: Unexpected error while running command.

Command: qemu-img convert -O raw rbd:nova/21d85da5-4844-418a-9fa8-486e8e6d0800_disk:id=admin:conf=/etc/ceph/ceph.conf /var/lib/nova/instances/snapshots/tmpMmH3LF/0daf483dcaf54f809c57888f98bc8213

Exit code: 1

Stdout: ''

Stderr: "Could not open 'rbd:nova/21d85da5-4844-418a-9fa8-486e8e6d0800_disk:id=admin:conf=/etc/ceph/ceph.conf': No such file or directory\nCould not open 'rbd:nova/21d85da5-4844-418a-9fa8-486e8e6d0800_disk:id=admin:conf=/etc/ceph/ceph.conf'\n"

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last):

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.6/site-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher incoming.message))

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.6/site-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher return self._do_dispatch(endpoint, method, ctxt, args)

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.6/site-packages/oslo/messaging/rpc/dispatcher.py", line 122, in _do_dispatch

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher result = getattr(endpoint, method)(ctxt, **new_args)

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.6/site-packages/nova/exception.py", line 88, in wrapped

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher payload)

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb)

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.6/site-packages/nova/exception.py", line 71, in wrapped

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher return f(self, context, *args, **kw)

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 274, in decorated_function

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher pass

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb)

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 260, in decorated_function

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher return function(self, context, *args, **kwargs)

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 303, in decorated_function

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher e, sys.exc_info())

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb)

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 290, in decorated_function

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher return function(self, context, *args, **kwargs)

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 353, in decorated_function

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher % image_id, instance=instance)

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb)

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 343, in decorated_function

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher *args, **kwargs)

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 2712, in snapshot_instance

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher task_states.IMAGE_SNAPSHOT)

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 2743, in _snapshot_instance

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher update_task_state)

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 1570, in snapshot

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher snapshot_backend.snapshot_extract(out_path, image_format)

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/imagebackend.py", line 687, in snapshot_extract

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher images.convert_image(self.path, target, out_format)

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.6/site-packages/nova/virt/images.py", line 61, in convert_image

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher utils.execute(*cmd, run_as_root=run_as_root)

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.6/site-packages/nova/utils.py", line 164, in execute

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher return processutils.execute(*cmd, **kwargs)

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.6/site-packages/nova/openstack/common/processutils.py", line 193, in execute

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher cmd=' '.join(cmd))

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher ProcessExecutionError: Unexpected error while running command.

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher Command: qemu-img convert -O raw rbd:nova/21d85da5-4844-418a-9fa8-486e8e6d0800_disk:id=admin:conf=/etc/ceph/ceph.conf /var/lib/nova/instances/snapshots/tmpMmH3LF/0daf483dcaf54f809c57888f98bc8213

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher Exit code: 1

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher Stdout: ''

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher Stderr: "Could not open 'rbd:nova/21d85da5-4844-418a-9fa8-486e8e6d0800_disk:id=admin:conf=/etc/ceph/ceph.conf': No such file or directory\nCould not open 'rbd:nova/21d85da5-4844-418a-9fa8-486e8e6d0800_disk:id=admin:conf=/etc/ceph/ceph.conf'\n"

2014-11-12 23:09:03.233 27810 TRACE oslo.messaging.rpc.dispatcher

2014-11-12 23:09:03.237 27810 ERROR oslo.messaging._drivers.common [-] Returning exception Unexpected error while running command.

Command: qemu-img convert -O raw rbd:nova/21d85da5-4844-418a-9fa8-486e8e6d0800_disk:id=admin:conf=/etc/ceph/ceph.conf /var/lib/nova/instances/snapshots/tmpMmH3LF/0daf483dcaf54f809c57888f98bc8213

Exit code: 1

Stdout: ''

Stderr: "Could not open 'rbd:nova/21d85da5-4844-418a-9fa8-486e8e6d0800_disk:id=admin:conf=/etc/ceph/ceph.conf': No such file or directory\nCould not open 'rbd:nova/21d85da5-4844-418a-9fa8-486e8e6d0800_disk:id=admin:conf=/etc/ceph/ceph.conf'\n" to caller

2014-11-12 23:09:03.238 27810 ERROR oslo.messaging._drivers.common [-] ['Traceback (most recent call last):\n', ' File "/usr/lib/python2.6/site-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply\n incoming.message))\n', ' File "/usr/lib/python2.6/site-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch\n return self._do_dispatch(endpoint, method, ctxt, args)\n', ' File "/usr/lib/python2.6/site-packages/oslo/messaging/rpc/dispatcher.py", line 122, in _do_dispatch\n result = getattr(endpoint, method)(ctxt, **new_args)\n', ' File "/usr/lib/python2.6/site-packages/nova/exception.py", line 88, in wrapped\n payload)\n', ' File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', ' File "/usr/lib/python2.6/site-packages/nova/exception.py", line 71, in wrapped\n return f(self, context, *args, **kw)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 274, in decorated_function\n pass\n', ' File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 260, in decorated_function\n return function(self, context, *args, **kwargs)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 303, in decorated_function\n e, sys.exc_info())\n', ' File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 290, in decorated_function\n return function(self, context, *args, **kwargs)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 353, in decorated_function\n % image_id, instance=instance)\n', ' File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 343, in decorated_function\n *args, **kwargs)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 2712, in snapshot_instance\n task_states.IMAGE_SNAPSHOT)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 2743, in _snapshot_instance\n update_task_state)\n', ' File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 1570, in snapshot\n snapshot_backend.snapshot_extract(out_path, image_format)\n', ' File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/imagebackend.py", line 687, in snapshot_extract\n images.convert_image(self.path, target, out_format)\n', ' File "/usr/lib/python2.6/site-packages/nova/virt/images.py", line 61, in convert_image\n utils.execute(*cmd, run_as_root=run_as_root)\n', ' File "/usr/lib/python2.6/site-packages/nova/utils.py", line 164, in execute\n return processutils.execute(*cmd, **kwargs)\n', ' File "/usr/lib/python2.6/site-packages/nova/openstack/common/processutils.py", line 193, in execute\n cmd=\' \'.join(cmd))\n', 'ProcessExecutionError: Unexpected error while running command.\nCommand: qemu-img convert -O raw rbd:nova/21d85da5-4844-418a-9fa8-486e8e6d0800_disk:id=admin:conf=/etc/ceph/ceph.conf /var/lib/nova/instances/snapshots/tmpMmH3LF/0daf483dcaf54f809c57888f98bc8213\nExit code: 1\nStdout: \'\'\nStderr: "Could not open \'rbd:nova/21d85da5-4844-418a-9fa8-486e8e6d0800_disk:id=admin:conf=/etc/ceph/ceph.conf\': No such file or directory\\nCould not open \'rbd:nova/21d85da5-4844-418a-9fa8-486e8e6d0800_disk:id=admin:conf=/etc/ceph/ceph.conf\'\\n"\n']

2014-11-12 23:09:03.238 27810 ERROR oslo.messaging._drivers.common [-] ['Traceback (most recent call last):\n', ' File "/usr/lib/python2.6/site-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply\n incoming.message))\n', ' File "/usr/lib/python2.6/site-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch\n return self._do_dispatch(endpoint, method, ctxt, args)\n', ' File "/usr/lib/python2.6/site-packages/oslo/messaging/rpc/dispatcher.py", line 122, in _do_dispatch\n result = getattr(endpoint, method)(ctxt, **new_args)\n', ' File "/usr/lib/python2.6/site-packages/nova/exception.py", line 88, in wrapped\n payload)\n', ' File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', ' File "/usr/lib/python2.6/site-packages/nova/exception.py", line 71, in wrapped\n return f(self, context, *args, **kw)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 274, in decorated_function\n pass\n', ' File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 260, in decorated_function\n return function(self, context, *args, **kwargs)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 303, in decorated_function\n e, sys.exc_info())\n', ' File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 290, in decorated_function\n return function(self, context, *args, **kwargs)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 353, in decorated_function\n % image_id, instance=instance)\n', ' File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 343, in decorated_function\n *args, **kwargs)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 2712, in snapshot_instance\n task_states.IMAGE_SNAPSHOT)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 2743, in _snapshot_instance\n update_task_state)\n', ' File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 1570, in snapshot\n snapshot_backend.snapshot_extract(out_path, image_format)\n', ' File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/imagebackend.py", line 687, in snapshot_extract\n images.convert_image(self.path, target, out_format)\n', ' File "/usr/lib/python2.6/site-packages/nova/virt/images.py", line 61, in convert_image\n utils.execute(*cmd, run_as_root=run_as_root)\n', ' File "/usr/lib/python2.6/site-packages/nova/utils.py", line 164, in execute\n return processutils.execute(*cmd, **kwargs)\n', ' File "/usr/lib/python2.6/site-packages/nova/openstack/common/processutils.py", line 193, in execute\n cmd=\' \'.join(cmd))\n', 'ProcessExecutionError: Unexpected error while running command.\nCommand: qemu-img convert -O raw rbd:nova/21d85da5-4844-418a-9fa8-486e8e6d0800_disk:id=admin:conf=/etc/ceph/ceph.conf /var/lib/nova/instances/snapshots/tmpMmH3LF/0daf483dcaf54f809c57888f98bc8213\nExit code: 1\nStdout: \'\'\nStderr: "Could not open \'rbd:nova/21d85da5-4844-418a-9fa8-486e8e6d0800_disk:id=admin:conf=/etc/ceph/ceph.conf\': No such file or directory\\nCould not open \'rbd:nova/21d85da5-4844-418a-9fa8-486e8e6d0800_disk:id=admin:conf=/etc/ceph/ceph.conf\'\\n"\n']

在机器上直接执行命令:

 qemu-img info rbd:nova/21d85da5-4844-418a-9fa8-486e8e6d0800_disk

active的创建快照报错该怎么办

再执行qemu-img:

active的创建快照报错该怎么办

没有发现支持rbd。

active的创建快照报错该怎么办

再执行:

/usr/local/qemu/bin/qemu-img 

active的创建快照报错该怎么办

这样说明,自己编译升级带rbd的qemu-img,没有使用,使用的事系统自带的

备份原始的,cp到系统默认位置:

mv /usr/bin/qemu-img /usr/bin/qemu-img.bak

cp /usr/local/qemu/bin/qemu-img /usr/bin/

再试:

active的创建快照报错该怎么办

成功。

继续创快照:

active的创建快照报错该怎么办

成功

上述内容就是active的创建快照报错该怎么办,你们学到知识或技能了吗?如果还想学到更多技能或者丰富自己的知识储备,欢迎关注创新互联行业资讯频道。


网站标题:active的创建快照报错该怎么办
地址分享:http://dzwzjz.com/article/pgiojj.html
在线咨询
服务热线
服务热线:028-86922220
TOP