Refactor deprecated power_on add_parms

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

Bug Description

https://github.com/powervm/pypowervm/commit/5bd2a28352db55dc564c79aaa285c61d0c1fe135 deprecates the use of an arbitrary dict for the add_parms parameter of pypowervm.tasks.power.power_on/_off. The nova-powervm codebase needs to be refactored accordingly.

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

Reviewed: https://review.openstack.org/433927
Committed: https://git.openstack.org/cgit/openstack/nova-powervm/commit/?id=2c7c69f63c27c81022a0ef9ffd3c4859bf9131f0
Submitter: Jenkins
Branch: master

commit 2c7c69f63c27c81022a0ef9ffd3c4859bf9131f0
Author: Eric Fried <email address hidden>
Date: Tue Feb 14 14:58:30 2017 -0600

    Refactor power ops

    o Consolidate all calls to pypowervm's power_on/_off operations into
    nova_powervm.virt.powervm.vm.power_on/_off and reboot.

    o Replace deprecated arbitrary add_parms dicts with PowerO*Opts
    instances.

    o Clean up parameter lists to eliminate unused variables.

    Closes-Bug: #1664718

    Change-Id: Ia1379be7627e7e2d031cdfe0ceeeb8660392a9c4

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.