Public bug reported: I boot a vm with '--boot-volume volume_id ', then shelve this VM, nova return success, but doesn't upload image to glance, then I unshelve this vm, it will failed and this VM'state is unshelving, so I think a VM which is booted from volume_id is not allowed shelve!
the error log in nova-conductor is bellow: Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/nova/openstack/common/rpc/amqp.py", line 461, in _process_data **args) File "/usr/lib64/python2.6/site-packages/nova/openstack/common/rpc/dispatcher.py", line 172, in dispatch result = getattr(proxyobj, method)(ctxt, **kwargs) File "/usr/lib64/python2.6/site-packages/nova/conductor/manager.py", line 797, in unshelve_instance sys_meta['shelved_image_id']) KeyError: 'shelved_image_id' ** Affects: nova Importance: Undecided Assignee: shihanzhang (shihanzhang) Status: New ** Changed in: nova Assignee: (unassigned) => shihanzhang (shihanzhang) ** Description changed: I boot a vm with '--boot-volume volume_id ', then shelve this VM, nova return success, but doesn't upload image to glance, then I unshelve this vm, it will failed and this VM'state is unshelving, so I think a VM which is booted from volume_id is not allowed shelve! + + the error log in nova-conductor is bellow: + Traceback (most recent call last): + File "/usr/lib64/python2.6/site-packages/nova/openstack/common/rpc/amqp.py", line 461, in _process_data + **args) + File "/usr/lib64/python2.6/site-packages/nova/openstack/common/rpc/dispatcher.py", line 172, in dispatch + result = getattr(proxyobj, method)(ctxt, **kwargs) + File "/usr/lib64/python2.6/site-packages/nova/conductor/manager.py", line 797, in unshelve_instance + sys_meta['shelved_image_id']) + KeyError: 'shelved_image_id' -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1302452 Title: nova unshelve VM failed Status in OpenStack Compute (Nova): New Bug description: I boot a vm with '--boot-volume volume_id ', then shelve this VM, nova return success, but doesn't upload image to glance, then I unshelve this vm, it will failed and this VM'state is unshelving, so I think a VM which is booted from volume_id is not allowed shelve! the error log in nova-conductor is bellow: Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/nova/openstack/common/rpc/amqp.py", line 461, in _process_data **args) File "/usr/lib64/python2.6/site-packages/nova/openstack/common/rpc/dispatcher.py", line 172, in dispatch result = getattr(proxyobj, method)(ctxt, **kwargs) File "/usr/lib64/python2.6/site-packages/nova/conductor/manager.py", line 797, in unshelve_instance sys_meta['shelved_image_id']) KeyError: 'shelved_image_id' To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1302452/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp