← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1385225] [NEW] typo in the policy.json "rule_admin_api"

 

Public bug reported:

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

** Affects: nova
     Importance: Undecided
     Assignee: Attila Fazekas (afazekas)
         Status: In Progress

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1385225

Title:
  typo in the policy.json  "rule_admin_api"

Status in OpenStack Compute (Nova):
  In Progress

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1385225/+subscriptions


Follow ups

References