attach and detach interface should check lock

Bug #1275741 reported by jichenjc
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
jichenjc

Bug Description

attach_interface and detach_interface will modify the instance, so it should check the lock state first

jichenjc (jichenjc)
Changed in nova:
assignee: nobody → jichencom (jichenjc)
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/71526

Changed in nova:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/71526
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=9583b35b426bba50c1c81f18b39e120f54e6b691
Submitter: Jenkins
Branch: master

commit 9583b35b426bba50c1c81f18b39e120f54e6b691
Author: jichenjc <email address hidden>
Date: Sun Jan 26 21:37:25 2014 +0800

    attach/detach interface should raise exception when instance is locked

    when instance is locked, exception should be raised if attach and
    detach an interface operation is performed. This patch add instance
    lock check for the 2 APIs, catch and process the exception at API layer.

    Change-Id: I6c0b05dafb9d480c8f0002bcc8306cb65a32aaf7
    Closes-Bug: #1275741

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