Volume attach doesn't check vm states correctly

Bug #1539490 reported by Huang Yi Chun
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nova-zvm-virt-driver
Fix Released
Undecided
Unassigned

Bug Description

On z/VM platform, a volume could only be attached to an Active or Stopped instance. The plugin didn't check other states which is allowed for API but not z/VM.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova-zvm-virt-driver (stable/liberty)

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/274038

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

Reviewed: https://review.openstack.org/273375
Committed: https://git.openstack.org/cgit/openstack/nova-zvm-virt-driver/commit/?id=09e2a8fce63c99ef2cc5d0738db78c8730a3aaf4
Submitter: Jenkins
Branch: master

commit 09e2a8fce63c99ef2cc5d0738db78c8730a3aaf4
Author: Yi Chun Huang <email address hidden>
Date: Thu Jan 28 14:45:38 2016 +0800

    Restrict acceptable states of the instance when attaching volumes

    Raise an error if the state of the instance is not ACTIVE or
    SHUTDOWN when attaching a volume to it.

    Closes-Bug: 1539490

    Change-Id: Id9d784d783b572a8be879ae7ec46bca3611a015d

Changed in nova-zvm-virt-driver:
status: New → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova-zvm-virt-driver (stable/liberty)

Reviewed: https://review.openstack.org/274038
Committed: https://git.openstack.org/cgit/openstack/nova-zvm-virt-driver/commit/?id=2c315e64894ef7782d99a854eb80f9b6a4e0a547
Submitter: Jenkins
Branch: stable/liberty

commit 2c315e64894ef7782d99a854eb80f9b6a4e0a547
Author: Yi Chun Huang <email address hidden>
Date: Thu Jan 28 14:45:38 2016 +0800

    Restrict acceptable states of the instance when attaching volumes

    Raise an error if the state of the instance is not ACTIVE or
    SHUTDOWN when attaching a volume to it.

    Closes-Bug: 1539490

    Change-Id: Id9d784d783b572a8be879ae7ec46bca3611a015d

tags: added: in-stable-liberty
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.