live migrate proceeds if the instance is locked

Bug #1257187 reported by Christopher Yeoh
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Christopher Yeoh

Bug Description

Locking an instance prevents normal migration from occurring, but does not prevent live migration. AFAICT there is no reason not to be consistent here and also stop live migration from occurring if the instance has been locked

Tags: api
Matt Riedemann (mriedem)
tags: added: api
Revision history for this message
Matt Riedemann (mriedem) wrote :
Changed in nova:
status: New → In Progress
assignee: nobody → Christopher Yeoh (cyeoh-0)
Michael Still (mikal)
Changed in nova:
status: In Progress → Triaged
importance: Undecided → Low
assignee: Christopher Yeoh (cyeoh-0) → nobody
Changed in nova:
assignee: nobody → Christopher Yeoh (cyeoh-0)
Changed in nova:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/59614
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=83e1f53a99dc504d95ccac29375dd38210c6acbf
Submitter: Jenkins
Branch: master

commit 83e1f53a99dc504d95ccac29375dd38210c6acbf
Author: Chris Yeoh <email address hidden>
Date: Tue Dec 3 15:01:23 2013 +1030

    Adds instance lock check for live migrate

    Whilst migrate has an instance locked check, live migrate didn't. This patch
    adds a check to see if the instance is locked in the compute api live migrate.

    Adds a testcase for V3 and generic instance lock checking for the V2 API since
    none existed yet.

    Closes-bug: 1257187

    Change-Id: I442abb74fe2a4d5d46b597b0ea24d249d2d03b45

Changed in nova:
status: In Progress → Fix Committed
Revision history for this message
Matt Riedemann (mriedem) wrote :
Revision history for this message
Matt Riedemann (mriedem) wrote :
Changed in nova:
milestone: none → juno-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: juno-2 → 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.