instance status turn to ERROR when running instance suspend

Bug #1313707 reported by Yogev Rabl
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
High
Unassigned

Bug Description

Description of problem:
When trying to suspend an instance the instance's status turn to Error.
The instance's flavor details are:

+----------------------------+--------------------------------------+
| Property | Value |
+----------------------------+--------------------------------------+
| name | m1.small |
| ram | 2048 |
| OS-FLV-DISABLED:disabled | False |
| vcpus | 1 |
| extra_specs | {} |
| swap | |
| os-flavor-access:is_public | True |
| rxtx_factor | 1.0 |
| OS-FLV-EXT-DATA:ephemeral | 40 |
| disk | 20 |
| id | 7427e83a-5f96-43af-936b-a054191482ab |
+----------------------------+--------------------------------------+

Version-Release number of selected component (if applicable):

openstack-nova-common-2013.2.3-6.el6ost.noarch
openstack-nova-console-2013.2.3-6.el6ost.noarch
openstack-nova-network-2013.2.3-6.el6ost.noarch
python-novaclient-2.15.0-4.el6ost.noarch
python-nova-2013.2.3-6.el6ost.noarch
openstack-nova-compute-2013.2.3-6.el6ost.noarch
openstack-nova-conductor-2013.2.3-6.el6ost.noarch
openstack-nova-novncproxy-2013.2.3-6.el6ost.noarch
openstack-nova-scheduler-2013.2.3-6.el6ost.noarch
openstack-nova-api-2013.2.3-6.el6ost.noarch
openstack-nova-cert-2013.2.3-6.el6ost.noarch

How reproducible:
100%

Steps to Reproduce:
1. launch an instance from an iso image with the flavor as it is detailed above.
2. suspend the instance.

Actual results:
The instance status turns to ERROR.

Expected results:
The instance should be suspend

Additional info:
The error from the compute log is attached.

Tags: libvirt
Revision history for this message
Yogev Rabl (yrabl) wrote :
Revision history for this message
Thang Pham (thang-pham) wrote :

Have you tried using just virsh suspend <domain>? I wonder if it is just a libvirt bug because I have also noticed it.

Revision history for this message
Yogev Rabl (yrabl) wrote :

Thank you for the reply, I have tried it and the virsh suspend/resume worked properly. Is there anything else I can check?

Revision history for this message
Thang Pham (thang-pham) wrote :

What does /var/log/libvirt/libvirtd.log show? Are there error messages associated witht he suspend/resume?

Revision history for this message
Yogev Rabl (yrabl) wrote :

I've checked the libvirt log and there was no error during the time of the error in the compute log.

Revision history for this message
Thang Pham (thang-pham) wrote :

That is odd. The nova-compute log says it is a libvirt error:
    libvirtError: Requested operation is not valid: cannot do managed save for transient domain

Tracy Jones (tjones-i)
tags: added: libvirt
Solly Ross (sross-7)
Changed in nova:
status: New → Incomplete
status: Incomplete → Confirmed
importance: Undecided → High
Revision history for this message
Nikola Đipanov (ndipanov) wrote :

Copying the discussion from the original bug tracker for completeness - by danpb:

"""
There's not really enough info here to give a good idea of where the bug might lie. To start with we'd really need to capture some verbose debug logs of libvirt APIs that Nova is running. eg set these env vars for nova compute

 LIBVIRT_LOG_FILTERS="1:libvirt 1:qemu" LIBVIRT_LOG_OUTPUTS="1:file:/var/log/nova/libvirt-client.log"

With that info we'd be able to see if Nova was issuing a virDomainUndefine call to cause this situation, or whether libvirt is loosing track of the defined domain.
"""

So we'd need more info from the reporter to rule out the libvirt bug.

Changed in nova:
status: Confirmed → Incomplete
Revision history for this message
Sean Dague (sdague) wrote :

4 months in incomplete status, closing

Changed in nova:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.