Allow user and admin lock of an instance

Bug #1206724 reported by OpenStack Infra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-api-site
Fix Released
Medium
Tom Fifield
openstack-manuals
Fix Released
Medium
Tom Fifield

Bug Description

https://review.openstack.org/38196
commit b5a01efd7a029fc58a024e992ab35cf3be844531
Author: Jason Dillaman <email address hidden>
Date: Fri Jul 19 16:04:34 2013 -0400

    Allow user and admin lock of an instance

    The existing instance lock capability is currently restricted
    to being an admin-only action in the default policy. This
    introduces additional functionality that allows the lock to be
    used by users (to prevent accidental changes to an instance for
    example), but also allows the lock to taken by an administrator
    with appropriate privileges such that it overrides any lock held
    by the user (for example to block actions on a rouge instance).

    When unlocking an instance, an additional check is made to see if
    the lock is held by user. If it isn't, an additional check is
    made against the unlock_override policy.

    Additionally added the current instance lock status to the
    v3 extended status extension.

    Blueprint mandatory-vm-lock
    Flags: DocImpact

    Change-Id: I5040276c2d9fd42a71c9d8d4529331992abd7538

Tags: nova
Tom Fifield (fifieldt)
Changed in openstack-manuals:
milestone: none → havana
Tom Fifield (fifieldt)
Changed in openstack-manuals:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Tom Fifield (fifieldt) wrote :

policy.json examples need an update

Changed in openstack-api-site:
status: New → Confirmed
importance: Undecided → Medium
milestone: none → havana
status: Confirmed → Fix Released
Revision history for this message
Tom Fifield (fifieldt) wrote :

os-admin-actions was fixed in API site

Changed in openstack-api-site:
assignee: nobody → Tom Fifield (fifieldt)
Changed in openstack-manuals:
assignee: nobody → Tom Fifield (fifieldt)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-manuals (master)

Fix proposed to branch: master
Review: https://review.openstack.org/63282

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

Reviewed: https://review.openstack.org/63282
Committed: https://git.openstack.org/cgit/openstack/openstack-manuals/commit/?id=5f08b66614afb9c19f5a48fb2b332881061bd6bf
Submitter: Jenkins
Branch: master

commit 5f08b66614afb9c19f5a48fb2b332881061bd6bf
Author: Tom Fifield <email address hidden>
Date: Fri Dec 20 11:04:34 2013 +0800

    Unlock/Lock can now be user actions

    Havana allowed lock & unlock to be performed by
    users, in addition to admins. This updates the policy.json
    example to be in line with the sample

    Change-Id: I6a81d1890173672149293ee41bfa9e553cfb9e04
    Closes-Bug: 1206724

Changed in openstack-manuals:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-manuals 15.0.0

This issue was fixed in the openstack/openstack-manuals 15.0.0 release.

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.