Comment 2 for bug 1578722

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/313124
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=01c6f681f9f4c0e81c1c1ece61ad812f4cb7e6bc
Submitter: Jenkins
Branch: master

commit 01c6f681f9f4c0e81c1c1ece61ad812f4cb7e6bc
Author: Mitsuhiro Tanino <email address hidden>
Date: Thu May 5 12:31:00 2016 -0400

    Add Cheesecake APIs to policy.json file

    These replication v2.1 APIs are not enforced by the
    cinder policy.json file. This patch adds policy and
    the code to support applying this policy action.

      "volume:failover_host": "rule:admin_api",
      "volume:freeze_host": "rule:admin_api",
      "volume:thaw_host": "rule:admin_api",

    Also these methods create a completely new context
    instead of doing context.elevated(). It's better
    to preserve the information that already there.

    Change-Id: Ib577e902cda634ae2bd813edd9e39e022f23fde1
    Closes-Bug: #1578722