Instance show SUSPENDED state but in fact suspend action do not implemented on PowerVM

Bug #1203986 reported by Qing Xin Meng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Qing Xin Meng

Bug Description

The PowerVM don't supported suspend/resume actions now.
But after running 'nova suspend instance-name', the instance state changed to SUSPENDED, and no any notification in compute.log, it's a problem, the state should be still ACTIVE and will explain the reason in compute.log.

+--------------------------------------+----------------------------+--------+------------------+
| ID | Name | Status | Networks |
+--------------------------------------+----------------------------+--------+------------------+
| 42687c37-b0b4-4cf9-ada5-a67688add4be | m2 | SUSPENDED | mqx_net=55.0.0.2 |

Qing Xin Meng (mengqxqx)
Changed in nova:
assignee: nobody → Qing Xin Meng (mengqxqx)
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/38259

Changed in nova:
status: New → In Progress
Changed in nova:
assignee: Qing Xin Meng (mengqxqx) → Matt Riedemann (mriedem)
Matt Riedemann (mriedem)
Changed in nova:
assignee: Matt Riedemann (mriedem) → Qing Xin Meng (mengqxqx)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/38259
Committed: http://github.com/openstack/nova/commit/02ae8a091dc611bc90a7e975c83f53e5fa579fdc
Submitter: Jenkins
Branch: master

commit 02ae8a091dc611bc90a7e975c83f53e5fa579fdc
Author: QingXin Meng <email address hidden>
Date: Wed Jul 17 16:35:59 2013 -0700

    Unimplemented suspend/resume should not change vm state

    When the underlying virt driver does not implement the suspend/resume API
    and raises a NotImplementedError, the compute manager will error out and
    change the instance's vm_state to ERROR. With this change, the compute
    manager will handle the NotImplementedError and keep the instance
    vm_state as it was before the error.

    Change-Id: I8150a898fee91bbe66f1502638baca8050e2dd6d
    Fixes: bug #1203986

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → havana-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: havana-3 → 2013.2
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.