2014-05-26 08:22:01 |
Liyingjun |
description |
2014-05-21 10:16:04.524 22565 ERROR cinder.service [req-cfb8d50d-e0ea-4240-9645-16487dddb455 None None] Unhandled exception
2014-05-21 10:16:04.524 22565 TRACE cinder.service Traceback (most recent call last):
2014-05-21 10:16:04.524 22565 TRACE cinder.service File "/usr/lib/python2.7/dist-packages/cinder/service.py", line 228, in _start_child
2014-05-21 10:16:04.524 22565 TRACE cinder.service self._child_process(wrap.server)
2014-05-21 10:16:04.524 22565 TRACE cinder.service File "/usr/lib/python2.7/dist-packages/cinder/service.py", line 205, in _child_process
2014-05-21 10:16:04.524 22565 TRACE cinder.service launcher.run_server(server)
2014-05-21 10:16:04.524 22565 TRACE cinder.service File "/usr/lib/python2.7/dist-packages/cinder/service.py", line 96, in run_server
2014-05-21 10:16:04.524 22565 TRACE cinder.service server.start()
2014-05-21 10:16:04.524 22565 TRACE cinder.service File "/usr/lib/python2.7/dist-packages/cinder/service.py", line 385, in start
2014-05-21 10:16:04.524 22565 TRACE cinder.service self.manager.init_host()
2014-05-21 10:16:04.524 22565 TRACE cinder.service File "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py", line 230, in init_host
2014-05-21 10:16:04.524 22565 TRACE cinder.service self.delete_volume(ctxt, volume['id'])
2014-05-21 10:16:04.524 22565 TRACE cinder.service File "/usr/lib/python2.7/dist-packages/cinder/utils.py", line 808, in wrapper
2014-05-21 10:16:04.524 22565 TRACE cinder.service return func(self, *args, **kwargs)
2014-05-21 10:16:04.524 22565 TRACE cinder.service File "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py", line 302, in delete_volume
2014-05-21 10:16:04.524 22565 TRACE cinder.service {'status': 'error_deleting'})
2014-05-21 10:16:04.524 22565 TRACE cinder.service File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2014-05-21 10:16:04.524 22565 TRACE cinder.service self.gen.next()
2014-05-21 10:16:04.524 22565 TRACE cinder.service File "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py", line 290, in delete_volume
2014-05-21 10:16:04.524 22565 TRACE cinder.service self.driver.delete_volume(volume_ref)
2014-05-21 10:16:04.524 22565 TRACE cinder.service File "/usr/lib/python2.7/dist-packages/cinder/volume/drivers/rbd.py", line 591, in delete_volume
2014-05-21 10:16:04.524 22565 TRACE cinder.service self._delete_backup_snaps(client, volume_name)
2014-05-21 10:16:04.524 22565 TRACE cinder.service File "/usr/lib/python2.7/dist-packages/cinder/volume/drivers/rbd.py", line 520, in _delete_backup_snaps
2014-05-21 10:16:04.524 22565 TRACE cinder.service rbd_image = self.rbd.Image(client.ioctx, volume_name)
2014-05-21 10:16:04.524 22565 TRACE cinder.service File "/usr/lib/python2.7/dist-packages/rbd.py", line 351, in __init__
2014-05-21 10:16:04.524 22565 TRACE cinder.service raise make_ex(ret, 'error opening image %s at snapshot %s' % (name, snapshot))
2014-05-21 10:16:04.524 22565 TRACE cinder.service ImageNotFound: error opening image volume-4b743fab-60be-4345-b9ca-1fe3c6fed84c at snapshot None
2014-05-21 10:16:04.524 22565 TRACE cinder.service
2014-05-21 10:16:04.545 22558 INFO cinder.service [-] Child 22565 exited with status 2
2014-05-21 10:16:04.545 22558 INFO cinder.service [-] _wait_child 1
2014-05-21 10:16:04.545 22558 INFO cinder.service [-] wait wrap.failed True |
Here is my setup:
rbd backend, Havana.
instance booted from volume, and some snapshots on the instance.
I don't figure out which operation caused this error, but i do think it's bug that cinder do not handle the rbd exception.
2014-05-21 10:16:04.524 22565 ERROR cinder.service [req-cfb8d50d-e0ea-4240-9645-16487dddb455 None None] Unhandled exception
2014-05-21 10:16:04.524 22565 TRACE cinder.service Traceback (most recent call last):
2014-05-21 10:16:04.524 22565 TRACE cinder.service File "/usr/lib/python2.7/dist-packages/cinder/service.py", line 228, in _start_child
2014-05-21 10:16:04.524 22565 TRACE cinder.service self._child_process(wrap.server)
2014-05-21 10:16:04.524 22565 TRACE cinder.service File "/usr/lib/python2.7/dist-packages/cinder/service.py", line 205, in _child_process
2014-05-21 10:16:04.524 22565 TRACE cinder.service launcher.run_server(server)
2014-05-21 10:16:04.524 22565 TRACE cinder.service File "/usr/lib/python2.7/dist-packages/cinder/service.py", line 96, in run_server
2014-05-21 10:16:04.524 22565 TRACE cinder.service server.start()
2014-05-21 10:16:04.524 22565 TRACE cinder.service File "/usr/lib/python2.7/dist-packages/cinder/service.py", line 385, in start
2014-05-21 10:16:04.524 22565 TRACE cinder.service self.manager.init_host()
2014-05-21 10:16:04.524 22565 TRACE cinder.service File "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py", line 230, in init_host
2014-05-21 10:16:04.524 22565 TRACE cinder.service self.delete_volume(ctxt, volume['id'])
2014-05-21 10:16:04.524 22565 TRACE cinder.service File "/usr/lib/python2.7/dist-packages/cinder/utils.py", line 808, in wrapper
2014-05-21 10:16:04.524 22565 TRACE cinder.service return func(self, *args, **kwargs)
2014-05-21 10:16:04.524 22565 TRACE cinder.service File "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py", line 302, in delete_volume
2014-05-21 10:16:04.524 22565 TRACE cinder.service {'status': 'error_deleting'})
2014-05-21 10:16:04.524 22565 TRACE cinder.service File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2014-05-21 10:16:04.524 22565 TRACE cinder.service self.gen.next()
2014-05-21 10:16:04.524 22565 TRACE cinder.service File "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py", line 290, in delete_volume
2014-05-21 10:16:04.524 22565 TRACE cinder.service self.driver.delete_volume(volume_ref)
2014-05-21 10:16:04.524 22565 TRACE cinder.service File "/usr/lib/python2.7/dist-packages/cinder/volume/drivers/rbd.py", line 591, in delete_volume
2014-05-21 10:16:04.524 22565 TRACE cinder.service self._delete_backup_snaps(client, volume_name)
2014-05-21 10:16:04.524 22565 TRACE cinder.service File "/usr/lib/python2.7/dist-packages/cinder/volume/drivers/rbd.py", line 520, in _delete_backup_snaps
2014-05-21 10:16:04.524 22565 TRACE cinder.service rbd_image = self.rbd.Image(client.ioctx, volume_name)
2014-05-21 10:16:04.524 22565 TRACE cinder.service File "/usr/lib/python2.7/dist-packages/rbd.py", line 351, in __init__
2014-05-21 10:16:04.524 22565 TRACE cinder.service raise make_ex(ret, 'error opening image %s at snapshot %s' % (name, snapshot))
2014-05-21 10:16:04.524 22565 TRACE cinder.service ImageNotFound: error opening image volume-4b743fab-60be-4345-b9ca-1fe3c6fed84c at snapshot None
2014-05-21 10:16:04.524 22565 TRACE cinder.service
2014-05-21 10:16:04.545 22558 INFO cinder.service [-] Child 22565 exited with status 2
2014-05-21 10:16:04.545 22558 INFO cinder.service [-] _wait_child 1
2014-05-21 10:16:04.545 22558 INFO cinder.service [-] wait wrap.failed True |
|