Fail to suspend a unshelved server

Bug #1237868 reported by Ken'ichi Ohmichi
28
This bug affects 4 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
fujioka yuuichi
Havana
Fix Released
Undecided
Unassigned

Bug Description

After unshelved a shelved server(status: ACTIVE), it fails to suspend the server like the following:

$ nova list
+--------------------------------------+------+-------------------+------------+-------------+------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+------+-------------------+------------+-------------+------------------+
| 152a323d-6309-48ef-9c4a-2b02aaf1a58c | vm01 | SHELVED_OFFLOADED | None | Shutdown | private=10.0.0.2 |
+--------------------------------------+------+-------------------+------------+-------------+------------------+
$ nova unshelve vm01
$ nova list
+--------------------------------------+------+--------+------------+-------------+------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+------+--------+------------+-------------+------------------+
| 152a323d-6309-48ef-9c4a-2b02aaf1a58c | vm01 | ACTIVE | None | Running | private=10.0.0.2 |
+--------------------------------------+------+--------+------------+-------------+------------------+
$ nova suspend vm01
ERROR: Unable to process the contained instructions (HTTP 422) (Request-ID: req-5c8edaf3-abb7-4d00-af96-e8a6d9777910)
$

Changed in nova:
assignee: nobody → Ken'ichi Ohmichi (oomichi)
Changed in nova:
assignee: Ken'ichi Ohmichi (oomichi) → fujioka yuuichi (fujioka-yuuichi-d)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/50884

Changed in nova:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/50884
Committed: http://github.com/openstack/nova/commit/9532e4ed969e47826801b14aff40dd9e356f2677
Submitter: Jenkins
Branch: master

commit 9532e4ed969e47826801b14aff40dd9e356f2677
Author: fujioka yuuichi <email address hidden>
Date: Thu Oct 10 18:13:42 2013 +0900

    fix missing host when unshelving

    An instance has the hostname of the host on which it is running.
    The hostname is deleted when shelving. However, the hostname is not
    recreated when unshelving.

    This patch sets the hostname when unshelving.

    Change-Id: I2e431718198321c46b9335e6fb7ab7be3943fab6
    Closes-Bug: #1237868

Changed in nova:
status: In Progress → Fix Committed
Changed in nova:
milestone: none → icehouse-1
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Hans Lindgren (hanlind)
tags: added: havana-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/havana)

Fix proposed to branch: stable/havana
Review: https://review.openstack.org/72521

Thierry Carrez (ttx)
Changed in nova:
milestone: icehouse-1 → 2014.1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/havana)

Reviewed: https://review.openstack.org/72521
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=298f052f1f32c7920ed6cb146a7abc35ed371ae2
Submitter: Jenkins
Branch: stable/havana

commit 298f052f1f32c7920ed6cb146a7abc35ed371ae2
Author: fujioka yuuichi <email address hidden>
Date: Thu Oct 10 18:13:42 2013 +0900

    fix missing host when unshelving

    An instance has the hostname of the host on which it is running.
    The hostname is deleted when shelving. However, the hostname is not
    recreated when unshelving.

    This patch sets the hostname when unshelving.

    Change-Id: I2e431718198321c46b9335e6fb7ab7be3943fab6
    Closes-Bug: #1237868
    (cherry picked from commit 9532e4ed969e47826801b14aff40dd9e356f2677)

tags: added: in-stable-havana
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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