powervm driver needs to support reboot operation

Bug #1205089 reported by Matt Riedemann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Wishlist
Matt Riedemann

Bug Description

The reboot operation is part of the core nova API but the powervm driver doesn't support it:

https://github.com/openstack/nova/blob/master/nova/virt/powervm/driver.py#L126

https://wiki.openstack.org/wiki/HypervisorSupportMatrix

This is a pretty basic operation that should be supported if the driver is to be considered valid.

Looking here:

http://pic.dhe.ibm.com/infocenter/powersys/v3r1m5/topic/iphcg/chsysstate.htm

It should be a pretty straight-forward operation:

"To perform an immediate restart of a partition (operator panel function 3):

chsysstate -r lpar -o shutdown --immed --restart { -n Name | --id PartitionID } [ -m ManagedSystem ]"

Tags: powervm
Mathew Odden (locke105)
Changed in nova:
status: New → Confirmed
Matt Riedemann (mriedem)
Changed in nova:
importance: Undecided → Wishlist
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/40748

Changed in nova:
status: Confirmed → In Progress
Matt Riedemann (mriedem)
Changed in nova:
milestone: none → havana-3
Changed in nova:
assignee: Matt Riedemann (mriedem) → David Peraza (dperaza)
Matt Riedemann (mriedem)
Changed in nova:
assignee: David Peraza (dperaza) → Matt Riedemann (mriedem)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/40748
Committed: http://github.com/openstack/nova/commit/05e0ceb242f16a236f3c793305ed24e1f9a43efb
Submitter: Jenkins
Branch: master

commit 05e0ceb242f16a236f3c793305ed24e1f9a43efb
Author: Matt Riedemann <email address hidden>
Date: Wed Aug 7 14:56:32 2013 -0700

    Implement hard reboot for powervm driver

    Implements the OS reboot API in the powervm driver. Soft reboot is not
    supported as it requires additional configuration on the LPAR when it's
    spawned so this patch simply performs an immediate hard reboot.

    Also adds tests for start_lpar and stop_lpar which didn't exist before.

    Closes-Bug: #1205089

    Change-Id: Iad64dda79f46d18c7aa5bee12ed41e7a01853d34

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