Synchronize power ops

Bug #1664720 reported by Eric Fried
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nova-powervm
Fix Released
Medium
Eric Fried

Bug Description

When separate threads are issuing power on/off requests on a VM (possibly through spawns, deletes, power_on, power_off, reboot, etc.), timing issues can arise when threads are retrieving and acting on the VM state. nova-powervm should synchronize power on/off operations (per instance) to avoid this.

Eric Fried (efried)
Changed in nova-powervm:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Eric Fried (efried)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova-powervm (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova-powervm (master)

Reviewed: https://review.openstack.org/433935
Committed: https://git.openstack.org/cgit/openstack/nova-powervm/commit/?id=5ada538559142a1cf26ac30c05d238b12084bf72
Submitter: Jenkins
Branch: master

commit 5ada538559142a1cf26ac30c05d238b12084bf72
Author: Eric Fried <email address hidden>
Date: Tue Feb 14 15:30:10 2017 -0600

    Synchronize power ops

    When separate threads are issuing power on/off requests on a VM
    (possibly through spawns, deletes, power_on, power_off, reboot, etc.),
    timing issues can arise when threads are retrieving and acting on the VM
    state. This change set synchronizes power on/off operations per
    instance to avoid this.

    A side-effect of this change is that the PowerOn Task no longer requires
    the lpar_wrap from prior Tasks.

    Change-Id: Ia21a3f98f51f338115d3728702881bc747f67b9f
    Closes-Bug: #1664720

Changed in nova-powervm:
status: In Progress → Fix Released
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.