keystone policy.json breaks oslo.policy

Bug #1437032 reported by Dan Prince
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Critical
Steve Martinelli
tripleo
Fix Released
Critical
Dan Prince

Bug Description

With the latest keystone policy.json I'm seeing parse errors with oslo.policy:

Mar 26 19:12:55 localhost.localdomain.localdomain keystone[3673]: 2015-03-26 19:12:55,513 ERROR Failed to understand rule DELETE
                                                                  Traceback (most recent call last):
                                                                    File "/opt/stack/venvs/openstack/lib/python2.7/site-packages/oslo_policy/_parser.py", line 200, in _parse_check
                                                                      kind, match = rule.split(':', 1)
                                                                  ValueError: need more than 1 value to unpack

Dan Prince (dan-prince)
Changed in tripleo:
status: New → Triaged
importance: Undecided → Critical
Changed in keystone:
importance: Undecided → Critical
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystone (master)

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

Changed in keystone:
assignee: nobody → Dan Prince (dan-prince)
status: New → In Progress
Revision history for this message
Dan Prince (dan-prince) wrote :
Changed in keystone:
assignee: Dan Prince (dan-prince) → Steve Martinelli (stevemar)
Changed in keystone:
milestone: none → kilo-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/168136
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=59dbaca4061fb9b985514f2ea092c38047bf2a59
Submitter: Jenkins
Branch: master

commit 59dbaca4061fb9b985514f2ea092c38047bf2a59
Author: Steve Martinelli <email address hidden>
Date: Thu Mar 26 20:20:26 2015 +0000

    Revert "Document mapping of policy action to operation"

    Causes issues with oslo.policy and ironic

    This reverts commit 9e845eaae0c20d56d437b48c0dea93ce45833ee0.

    Closes-Bug: 1437032
    Change-Id: I5cd7445a15a5c4f20f7f018eb5b35f111feb8866

Changed in keystone:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on keystone (master)

Change abandoned by Dan Prince (<email address hidden>) on branch: master
Review: https://review.openstack.org/168138

Dan Prince (dan-prince)
Changed in tripleo:
status: Triaged → Fix Committed
assignee: nobody → Dan Prince (dan-prince)
Thierry Carrez (ttx)
Changed in keystone:
status: Fix Committed → Fix Released
Jay Dobies (jdob)
Changed in tripleo:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: kilo-rc1 → 2015.1.0
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.