The Hyper-V driver should raise a InstanceFaultRollback in case of resize down requests

Bug #1354448 reported by Alessandro Pilotti
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Simona Iuliana Toader
Icehouse
Fix Released
Medium
Alessandro Pilotti

Bug Description

The Hyper-V driver does not support resize down and is currently rising an exception if the user attempts to do that, causing the instance to go in ERROR state.

The driver should use the recently introduced instance faults "exception.InstanceFaultRollback" instead, which will leave the instance in ACTIVE state as expected.

Changed in nova:
status: New → Triaged
importance: Undecided → Medium
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/112894

Changed in nova:
assignee: nobody → Simona Iuliana Toader (itoader)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/112894
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=3a5919fd4af6c3b772397a5e7d90eebdf9b371af
Submitter: Jenkins
Branch: master

commit 3a5919fd4af6c3b772397a5e7d90eebdf9b371af
Author: Simona Iuliana Toader <email address hidden>
Date: Fri Aug 8 16:55:15 2014 +0300

    Fixes Hyper-V resize down exception

    The Hyper-V driver does not support resize down and is currently
    raising an exception if the user attempts to do that, causing the
    instance to go in ERROR state.

    The driver should use the recently introduced instance faults
    "exception.InstanceFaultRollback" instead, which will leave the
    instance in ACTIVE state as expected.

    Closes-Bug: #1354448

    Change-Id: Ibaf8482562094cd2b3165dc62a907fa9e0e56e19

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → juno-3
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/icehouse)

Fix proposed to branch: stable/icehouse
Review: https://review.openstack.org/120371

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/icehouse)

Reviewed: https://review.openstack.org/120371
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=0d3dad790515a16b4452d91b6c9ce42094b800c3
Submitter: Jenkins
Branch: stable/icehouse

commit 0d3dad790515a16b4452d91b6c9ce42094b800c3
Author: Simona Iuliana Toader <email address hidden>
Date: Fri Aug 8 16:55:15 2014 +0300

    Fixes Hyper-V resize down exception

    The Hyper-V driver does not support resize down and is currently
    raising an exception if the user attempts to do that, causing the
    instance to go in ERROR state.

    The driver should use the recently introduced instance faults
    "exception.InstanceFaultRollback" instead, which will leave the
    instance in ACTIVE state as expected.

    Closes-Bug: #1354448

    (cherry picked from commit 3a5919fd4af6c3b772397a5e7d90eebdf9b371af)

    Conflicts:
     nova/virt/hyperv/migrationops.py

    Change-Id: Ibaf8482562094cd2b3165dc62a907fa9e0e56e19

tags: added: in-stable-icehouse
Thierry Carrez (ttx)
Changed in nova:
milestone: juno-3 → 2014.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.