Public bug reported: devstack , the newest code, suspend instance, then got exception as follows:
Setting instance vm_state to ERROR^[[00m^[[01;31m2015-05-21 04:48:29.179 TRACE nova.compute.manager Traceback (most recent call last): ^[[01;31m2015-05-21 04:48:29.179 TRACE nova.compute.manager File "/opt/stack/nova/nova/compute/manager.py", line 6089, in _error_out_instance_on_exception^[[01;31m2015-05-21 04:48:29.179 TRACE nova.compute.manager yield ^[[01;31m2015-05-21 04:48:29.179 TRACE nova.compute.manager File "/opt/stack/nova/nova/compute/manager.py", line 4014, in suspend_instance^[[01;31m2015-05-21 04:48:29.179 TRACE nova.compute.manager self.driver.suspend(context, instance) ^[[01;31m2015-05-21 04:48:29.179 TRACE nova.compute.manager File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 2248, in suspend^[[01;31m2015-05-21 04:48:29.179 TRACE nova.compute.manager dom.managedSave(0) ^[[01;31m2015-05-21 04:48:29.179 TRACE nova.compute.manager File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 183, in doit ^[[01;31m2015-05-21 04:48:29.179 TRACE nova.compute.manager result = proxy_call(self._autowrap, f, *args, **kwargs) ^[[01;31m2015-05-21 04:48:29.179 TRACE nova.compute.manager File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 141, in proxy_call rv = execute(f, *args, **kwargs) ^[[01;31m2015-05-21 04:48:29.179 TRACE nova.compute.manager File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 122, in execute six.reraise(c, e, tb) ^[[01;31m2015-05-21 04:48:29.179 TRACE nova.compute.manager File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 80, in tworker rv = meth(*args, **kwargs) ^[[01;31m2015-05-21 04:48:29.179 TRACE nova.compute.manager File "/usr/local/lib/python2.7/dist-packages/libvirt.py", line 1167, in managedSave ^[[01;31m2015-05-21 04:48:29.179 TRACE nova.compute.manager if ret == -1: raise libvirtError ('virDomainManagedSave() failed', dom=self) libvirtError: operation failed: domain save job: unexpectedly failed ubuntu@dev1:~$ nova list +--------------------------------------+-------+-----------+------------+-------------+------------------------------------------------------+ | ID | Name | Status | Task State | Power State | Networks | +--------------------------------------+-------+-----------+------------+-------------+------------------------------------------------------+ | 0096094f-b854-4a56-bb35-c112cdbe20fb | test5 | ERROR | - | Running | private=10.0.0.5, fd3b:f9:a091:0:f816:3eff:fe8e:dc62 | +--------------------------------------+-------+-----------+------------+-------------+------------------------------------------------------+ "virsh list" can see the instance is running ubuntu@dev1:~$ virsh list --all Id Name State ---------------------------------------------------- 2 instance-00000003 running Expected result: Even though occurs excption, the status of instance still should be "ACTIVE". ** Affects: nova Importance: Undecided Assignee: ugvddm (271025598-9) Status: New ** Changed in: nova Assignee: (unassigned) => ugvddm (271025598-9) -- 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/1457329 Title: Error status of instance after suspend exception Status in OpenStack Compute (Nova): New Bug description: devstack , the newest code, suspend instance, then got exception as follows: Setting instance vm_state to ERROR^[[00m^[[01;31m2015-05-21 04:48:29.179 TRACE nova.compute.manager Traceback (most recent call last): ^[[01;31m2015-05-21 04:48:29.179 TRACE nova.compute.manager File "/opt/stack/nova/nova/compute/manager.py", line 6089, in _error_out_instance_on_exception^[[01;31m2015-05-21 04:48:29.179 TRACE nova.compute.manager yield ^[[01;31m2015-05-21 04:48:29.179 TRACE nova.compute.manager File "/opt/stack/nova/nova/compute/manager.py", line 4014, in suspend_instance^[[01;31m2015-05-21 04:48:29.179 TRACE nova.compute.manager self.driver.suspend(context, instance) ^[[01;31m2015-05-21 04:48:29.179 TRACE nova.compute.manager File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 2248, in suspend^[[01;31m2015-05-21 04:48:29.179 TRACE nova.compute.manager dom.managedSave(0) ^[[01;31m2015-05-21 04:48:29.179 TRACE nova.compute.manager File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 183, in doit ^[[01;31m2015-05-21 04:48:29.179 TRACE nova.compute.manager result = proxy_call(self._autowrap, f, *args, **kwargs) ^[[01;31m2015-05-21 04:48:29.179 TRACE nova.compute.manager File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 141, in proxy_call rv = execute(f, *args, **kwargs) ^[[01;31m2015-05-21 04:48:29.179 TRACE nova.compute.manager File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 122, in execute six.reraise(c, e, tb) ^[[01;31m2015-05-21 04:48:29.179 TRACE nova.compute.manager File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 80, in tworker rv = meth(*args, **kwargs) ^[[01;31m2015-05-21 04:48:29.179 TRACE nova.compute.manager File "/usr/local/lib/python2.7/dist-packages/libvirt.py", line 1167, in managedSave ^[[01;31m2015-05-21 04:48:29.179 TRACE nova.compute.manager if ret == -1: raise libvirtError ('virDomainManagedSave() failed', dom=self) libvirtError: operation failed: domain save job: unexpectedly failed ubuntu@dev1:~$ nova list +--------------------------------------+-------+-----------+------------+-------------+------------------------------------------------------+ | ID | Name | Status | Task State | Power State | Networks | +--------------------------------------+-------+-----------+------------+-------------+------------------------------------------------------+ | 0096094f-b854-4a56-bb35-c112cdbe20fb | test5 | ERROR | - | Running | private=10.0.0.5, fd3b:f9:a091:0:f816:3eff:fe8e:dc62 | +--------------------------------------+-------+-----------+------------+-------------+------------------------------------------------------+ "virsh list" can see the instance is running ubuntu@dev1:~$ virsh list --all Id Name State ---------------------------------------------------- 2 instance-00000003 running Expected result: Even though occurs excption, the status of instance still should be "ACTIVE". To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1457329/+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