typo in the policy.json "rule_admin_api"

Bug #1385225 reported by Attila Fazekas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Attila Fazekas

Bug Description

http://logstash.openstack.org/#eyJzZWFyY2giOiInRmFpbGVkIHRvIHVuZGVyc3RhbmQgcnVsZSBydWxlX2FkbWluX2FwaScgQU5EIHRhZ3M6XCJzY3JlZW4tbi1jcHUudHh0XCIiLCJmaWVsZHMiOltdLCJvZmZzZXQiOjAsInRpbWVmcmFtZSI6ImFsbCIsImdyYXBobW9kZSI6ImNvdW50IiwidGltZSI6eyJ1c2VyX2ludGVydmFsIjowfSwic3RhbXAiOjE0MTQxNDg2Nzk5MjMsIm1vZGUiOiIiLCJhbmFseXplX2ZpZWxkIjoiIn0=

 [-] Failed to understand rule rule_admin_api
2014-10-24 10:59:53.921 23349 TRACE nova.openstack.common.policy Traceback (most recent call last):
2014-10-24 10:59:53.921 23349 TRACE nova.openstack.common.policy File "/opt/stack/new/nova/nova/openstack/common/policy.py", line 533, in _parse_check
2014-10-24 10:59:53.921 23349 TRACE nova.openstack.common.policy kind, match = rule.split(':', 1)
2014-10-24 10:59:53.921 23349 TRACE nova.openstack.common.policy ValueError: need more than 1 value to unpack
2014-10-24 10:59:53.921 23349 TRACE nova.openstack.common.policy

https://github.com/openstack/nova/blob/e53cb39c298d84a6a8c505c70bf7ceff43173947/etc/nova/policy.json#L165

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/130753

Changed in nova:
assignee: nobody → Attila Fazekas (afazekas)
status: New → In Progress
Joe Gordon (jogo)
Changed in nova:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

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

commit f1f94c5b913f9d327408f3e11ddad654afbb1266
Author: Attila Fazekas <email address hidden>
Date: Fri Oct 24 13:20:59 2014 +0200

    typo in the policy.json "rule_admin_api"

    policy.json has "rule_admin_api" string instead of
    the "rule:admin_api" which causes ValueError.

    The typo recently introduced by
     4bb34182fe28c89686c8a23ddcfc8e9128d289b5.

    Change-Id: I232adfca033e9365927cf2abd62d391337fae429
    Closes-Bug: #1385225

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