← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1220668] Re: lb-healthmonotor-disassociate fails with 'demo' user

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1220668

Title:
  lb-healthmonotor-disassociate fails with 'demo' user

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  "neutron lb-healthmonotor-disassociate  <hm-id> <pool> " fails with
  the following error:

  $ neutron lb-healthmonitor-disassociate d2359016-7dd9-45d8-9394-78540629cf34 p1
  Failed to check policy tenant_id:%(tenant_id)s because Unable to verify match:%(tenant_id)s as the parent resource: tenant was not found

  2013-09-04 19:58:10.316 12283 DEBUG neutron.policy [-] Unable to find ':' as separator in tenant_id. __call__ /opt/stack/neutron/neutron/policy.py:243
  2013-09-04 19:58:10.317 12283 ERROR neutron.policy [-] Unable to verify match:%(tenant_id)s as the parent resource: tenant was not found
  2013-09-04 19:58:10.317 12283 TRACE neutron.policy Traceback (most recent call last):
  2013-09-04 19:58:10.317 12283 TRACE neutron.policy   File "/opt/stack/neutron/neutron/policy.py", line 239, in __call__
  2013-09-04 19:58:10.317 12283 TRACE neutron.policy     parent_res, parent_field = do_split(separator)
  2013-09-04 19:58:10.317 12283 TRACE neutron.policy   File "/opt/stack/neutron/neutron/policy.py", line 234, in do_split
  2013-09-04 19:58:10.317 12283 TRACE neutron.policy     separator, 1)
  2013-09-04 19:58:10.317 12283 TRACE neutron.policy ValueError: need more than 1 value to unpack
  2013-09-04 19:58:10.317 12283 TRACE neutron.policy
  2013-09-04 19:58:10.318 12283 ERROR neutron.api.v2.resource [-] delete failed
  2013-09-04 19:58:10.318 12283 TRACE neutron.api.v2.resource Traceback (most recent call last):
  2013-09-04 19:58:10.318 12283 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/api/v2/resource.py", line 84, in resource
  2013-09-04 19:58:10.318 12283 TRACE neutron.api.v2.resource     result = method(request=request, **args)
  2013-09-04 19:58:10.318 12283 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/api/v2/base.py", line 424, in delete
  2013-09-04 19:58:10.318 12283 TRACE neutron.api.v2.resource     obj)
  2013-09-04 19:58:10.318 12283 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/policy.py", line 379, in enforce
  2013-09-04 19:58:10.318 12283 TRACE neutron.api.v2.resource     exc=exceptions.PolicyNotAuthorized, action=action)
  2013-09-04 19:58:10.318 12283 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/openstack/common/policy.py", line 169, in check
  2013-09-04 19:58:10.318 12283 TRACE neutron.api.v2.resource     result = rule(target, creds)
  2013-09-04 19:58:10.318 12283 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/openstack/common/policy.py", line 732, in __call__
  2013-09-04 19:58:10.318 12283 TRACE neutron.api.v2.resource     return _rules[self.match](target, creds)
  2013-09-04 19:58:10.318 12283 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/openstack/common/policy.py", line 732, in __call__
  2013-09-04 19:58:10.318 12283 TRACE neutron.api.v2.resource     return _rules[self.match](target, creds)
  2013-09-04 19:58:10.318 12283 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/openstack/common/policy.py", line 366, in __call__
  2013-09-04 19:58:10.318 12283 TRACE neutron.api.v2.resource     if rule(target, cred):
  2013-09-04 19:58:10.318 12283 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/policy.py", line 261, in __call__
  2013-09-04 19:58:10.318 12283 TRACE neutron.api.v2.resource     reason=err_reason)
  2013-09-04 19:58:10.318 12283 TRACE neutron.api.v2.resource PolicyCheckError: Failed to check policy tenant_id:%(tenant_id)s because Unable to verify match:%(tenant_id)s as the parent resource:

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