In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article shows you how to create a snapshot and report errors in active. The content is concise and easy to understand, and it will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
Automatically delete:
Nova-compute error log:
2014-11-12 23 Unexpected error while running command 09 ERROR oslo.messaging.rpc.dispatcher 03.233 27810 Exception during message handling.
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 diskVeld0800 EtcAccording adminza confession Enceph.confession: No such file or directory\ nCould not open' rbd:nova/21d85da5-4844-418a-9fa8-486e8e6d0800diskRank adminster confession etcUnip cepher. Confession\ n"
2014-11-12 23 09 TRACE oslo.messaging.rpc.dispatcher Traceback 03.233 27810 (most recent call last):
27810 TRACE oslo.messaging.rpc.dispatcher File "/ usr/lib/python2.6/site-packages/oslo/messaging/rpc/dispatcher.py", line 27810, in _ dispatch_and_reply
2014-11-12 23 TRACE oslo.messaging.rpc.dispatcher incoming.message 09 purl 03.233 27810)
2014-11-12 23 line 09 TRACE oslo.messaging.rpc.dispatcher File 03.233 27810 "/ usr/lib/python2.6/site-packages/oslo/messaging/rpc/dispatcher.py", line _ dispatch
2014-11-12 23 method 09 TRACE oslo.messaging.rpc.dispatcher return self._do_dispatch 03.233 27810 (endpoint, method, ctxt, args)
2014-11-12 23 line 0915 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 endpoint 09V 03.233 27810 TRACE oslo.messaging.rpc.dispatcher result = getattr (endpoint, method) (ctxt, * * new_args)
2014-11-12 23 27810 TRACE oslo.messaging.rpc.dispatcher File "/ usr/lib/python2.6/site-packages/nova/exception.py", line 88, in wrapped
2014-11-12 23 TRACE oslo.messaging.rpc.dispatcher payload 09 03.233 27810)
2014-11-12 23 line 09 TRACE oslo.messaging.rpc.dispatcher File 03.233 27810 "/ usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in _ _ exit__
2014-11-12 23 self.tb 09 TRACE oslo.messaging.rpc.dispatcher six.reraise 03.233 27810 (self.type_, self.value)
2014-11-12 23 27810 TRACE oslo.messaging.rpc.dispatcher File "/ usr/lib/python2.6/site-packages/nova/exception.py", line 71, in wrapped
2014-11-12 23 27810 TRACE oslo.messaging.rpc.dispatcher return f (self, context, * args, * * kw)
2014-11-12 23 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 TRACE oslo.messaging.rpc.dispatcher pass 09 purl 03.233 27810
2014-11-12 23 line 09 TRACE oslo.messaging.rpc.dispatcher File 03.233 27810 "/ usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in _ _ exit__
2014-11-12 23 self.tb 09 TRACE oslo.messaging.rpc.dispatcher six.reraise 03.233 27810 (self.type_, self.value)
2014-11-12 23 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 context 09 TRACE oslo.messaging.rpc.dispatcher return function 03.233 27810 (self, context, * args, * * kwargs)
2014-11-12 23 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 TRACE oslo.messaging.rpc.dispatcher 03.233 27810, sys.exc_info ()
2014-11-12 23 line 09 TRACE oslo.messaging.rpc.dispatcher File 03.233 27810 "/ usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in _ _ exit__
2014-11-12 23 self.tb 09 TRACE oslo.messaging.rpc.dispatcher six.reraise 03.233 27810 (self.type_, self.value)
2014-11-12 23 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 context 09 TRACE oslo.messaging.rpc.dispatcher return function 03.233 27810 (self, context, * args, * * kwargs)
2014-11-12 23 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 instance=instance 09 TRACE oslo.messaging.rpc.dispatcher 03.233 27810 image_id)
2014-11-12 23 line 09 TRACE oslo.messaging.rpc.dispatcher File 03.233 27810 "/ usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in _ _ exit__
2014-11-12 23 self.tb 09 TRACE oslo.messaging.rpc.dispatcher six.reraise 03.233 27810 (self.type_, self.value)
2014-11-12 23 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 kwargs 09 kwargs 03.233 27810 TRACE oslo.messaging.rpc.dispatcher * args)
2014-11-12 23 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 TRACE oslo.messaging.rpc.dispatcher task_states.IMAGE_SNAPSHOT 09 03.233 27810)
2014-11-12 23 line 09 TRACE oslo.messaging.rpc.dispatcher File 03.233 27810 "/ usr/lib/python2.6/site-packages/nova/compute/manager.py", line 2743, in _ snapshot_instance
2014-11-12 23 TRACE oslo.messaging.rpc.dispatcher update_task_state 09 03.233 27810)
2014-11-12 23 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 image_format 09 TRACE oslo.messaging.rpc.dispatcher snapshot_backend.snapshot_extract 03.233 27810 (out_path)
2014-11-12 23 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 target 09 TRACE oslo.messaging.rpc.dispatcher images.convert_image 03.233 27810 (self.path, target, out_format)
2014-11-12 23 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 run_as_root=run_as_root 09 TRACE oslo.messaging.rpc.dispatcher utils.execute 03.233 27810 (* cmd)
2014-11-12 23 27810 TRACE oslo.messaging.rpc.dispatcher File "/ usr/lib/python2.6/site-packages/nova/utils.py", line 164, in execute
2014-11-12 23 kwargs 09 kwargs 03.233 27810 TRACE oslo.messaging.rpc.dispatcher return processutils.execute (* cmd)
2014-11-12 23 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 TRACE oslo.messaging.rpc.dispatcher cmd=' '.join (cmd))
2014-11-12 23 TRACE oslo.messaging.rpc.dispatcher ProcessExecutionError 09 TRACE oslo.messaging.rpc.dispatcher ProcessExecutionError 03.233 27810.
2014-11-12 23 raw rbd:nova/21d85da5 09V 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 TRACE oslo.messaging.rpc.dispatcher Exit code 09 purl 03.233 27810
2014-11-12 23 TRACE oslo.messaging.rpc.dispatcher Stdout 0915 TRACE oslo.messaging.rpc.dispatcher Stdout 03.233 27810:'
2014-11-12 23 rbd:nova/21d85da5 09 418a-9fa8 03.233 27810 TRACE oslo.messaging.rpc.dispatcher Stderr: "Could not open 'rbd:nova/21d85da5-4844-418a-9fa8-486e8e6d0800 confessing rbd:nova/21d85da5 admin confession No such file or directory\ nCould not open' rbd:nova/21d85da5-4844-418a-9fa8-486e8e6d0800 diskhandladminus confession
2014-11-12 23 TRACE oslo.messaging.rpc.dispatcher 09 purl 03.233 27810
2014-11-12 23 ERROR oslo.messaging._drivers.common 09 ERROR oslo.messaging._drivers.common 03.237 27810 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 diskbank adminster confession to caller cepher ceph.confession: No such file or directory\ nCould not open'cepher-4844-418a-9fa8-486e8e6d0800 diskbank adminster confession
2014-11-12 23 most recent call last 09V 03.238 27810 ERROR oslo.messaging._drivers.common [-] ['Traceback (most recent call last):\ nQing,' File "/ usr/lib/python2.6/site-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _ dispatch_and_reply\ n incoming.message))\ nGovernor, 'File "/ usr/lib/python2.6/site-packages/oslo/messaging/rpc/dispatcher.py", line 176 In _ dispatch\ nreturn self._do_dispatch (endpoint, method, ctxt, args)\ nThe File "/ usr/lib/python2.6/site-packages/oslo/messaging/rpc/dispatcher.py", line 122, in _ do_dispatch\ nresult = getattr (endpoint, method) (ctxt, * * new_args)\ nThe File "/ usr/lib/python2.6/site-packages/nova/exception.py", line 88, in wrapped\ npayload)\ n' 'File "/ usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in _ exit__\ nsix.reraise (self.type_, self.value, self.tb)\ nFor,' 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\ npass\ nfolk,' File "/ usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in _ _ exit__\ nsix.reraise (self.type_, self.value, self.tb)\ nsix.reraise, 'File "/ usr/lib/python2.6/site-packages/nova/compute/manager.py", line 260 In decorated_function\ n return function (self, context, * args, * * kwargs)\ n return function, 'File "/ usr/lib/python2.6/site-packages/nova/compute/manager.py", line 303, in decorated_function\ ne, sys.exc_info ()\ nThe six.reraise (self.type_, self.value),' File "/ usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py, line 68, in _ _ exit__\ n Self.tb), 'File "/ usr/lib/python2.6/site-packages/nova/compute/manager.py", line 290, in decorated_function\ n return function (self, context, * args, * * kwargs)\ ncause,' 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__\ nsix.reraise (self.type_, self.value, self.tb)\ nThe 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\ ntask_states.IMAGE_SNAPSHOT)\ nfarmer,' File "/ usr/lib/python2.6/site-packages/nova/compute/manager.py", line 2743, in _ snapshot_instance\ nupdate_task_state)\ nfarmer, 'File "/ usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 1570 In snapshot\ nsnapshot_backend.snapshot_extract (out_path, image_format)\ nsnapshot_backend.snapshot_extract, 'File "/ usr/lib/python2.6/site-packages/nova/virt/libvirt/imagebackend.py", line 687, in snapshot_extract\ nimages.convert_image (self.path, target, out_format)\ nsnapshot_backend.snapshot_extract,' 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)\ njoin, 'File "/ usr/lib/python2.6/site-packages/nova/utils.py, line 164, in execute\ nreturn processutils.execute (* cmd, * * kwargs)\ njoin,' 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 most recent call last 09V 03.238 27810 ERROR oslo.messaging._drivers.common [-] ['Traceback (most recent call last):\ nQing,' File "/ usr/lib/python2.6/site-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _ dispatch_and_reply\ n incoming.message))\ nGovernor, 'File "/ usr/lib/python2.6/site-packages/oslo/messaging/rpc/dispatcher.py", line 176 In _ dispatch\ nreturn self._do_dispatch (endpoint, method, ctxt, args)\ nThe File "/ usr/lib/python2.6/site-packages/oslo/messaging/rpc/dispatcher.py", line 122, in _ do_dispatch\ nresult = getattr (endpoint, method) (ctxt, * * new_args)\ nThe File "/ usr/lib/python2.6/site-packages/nova/exception.py", line 88, in wrapped\ npayload)\ n' 'File "/ usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in _ exit__\ nsix.reraise (self.type_, self.value, self.tb)\ nFor,' 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\ npass\ nfolk,' File "/ usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in _ _ exit__\ nsix.reraise (self.type_, self.value, self.tb)\ nsix.reraise, 'File "/ usr/lib/python2.6/site-packages/nova/compute/manager.py", line 260 In decorated_function\ n return function (self, context, * args, * * kwargs)\ n return function, 'File "/ usr/lib/python2.6/site-packages/nova/compute/manager.py", line 303, in decorated_function\ ne, sys.exc_info ()\ nThe six.reraise (self.type_, self.value),' File "/ usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py, line 68, in _ _ exit__\ n Self.tb), 'File "/ usr/lib/python2.6/site-packages/nova/compute/manager.py", line 290, in decorated_function\ n return function (self, context, * args, * * kwargs)\ ncause,' 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__\ nsix.reraise (self.type_, self.value, self.tb)\ nThe 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\ ntask_states.IMAGE_SNAPSHOT)\ nfarmer,' File "/ usr/lib/python2.6/site-packages/nova/compute/manager.py", line 2743, in _ snapshot_instance\ nupdate_task_state)\ nfarmer, 'File "/ usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 1570 In snapshot\ nsnapshot_backend.snapshot_extract (out_path, image_format)\ nsnapshot_backend.snapshot_extract, 'File "/ usr/lib/python2.6/site-packages/nova/virt/libvirt/imagebackend.py", line 687, in snapshot_extract\ nimages.convert_image (self.path, target, out_format)\ nsnapshot_backend.snapshot_extract,' 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)\ njoin, 'File "/ usr/lib/python2.6/site-packages/nova/utils.py, line 164, in execute\ nreturn processutils.execute (* cmd, * * kwargs)\ njoin,' 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']
Execute commands directly on the machine:
Qemu-img info rbd:nova/21d85da5-4844-418a-9fa8-486e8e6d0800_disk
Then execute the qemu-img:
No support for rbd was found.
Then execute:
/ usr/local/qemu/bin/qemu-img
This means that you can compile and upgrade the qemu-img with rbd by yourself. It is not used, and the system comes with it.
Back up the original, cp to the system default location:
Mv / usr/bin/qemu-img / usr/bin/qemu-img.bak
Cp / usr/local/qemu/bin/qemu-img / usr/bin/
Try again:
Success.
Continue to create snapshots:
Success
The above content is the creation of active snapshot report error how to do, have you learned the knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.