← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1127514] Re: unable to update port as non admin NVP

 

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

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

Title:
  unable to update port as non admin NVP

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

Bug description:
  2013-02-16 12:31:35.887 31931 TRACE quantum.api.v2.resource Traceback (most recent call last):
  2013-02-16 12:31:35.887 31931 TRACE quantum.api.v2.resource   File "/opt/stack/quantum/quantum/api/v2/resource.py", line 82, in resource
  2013-02-16 12:31:35.887 31931 TRACE quantum.api.v2.resource     result = method(request=request, **args)
  2013-02-16 12:31:35.887 31931 TRACE quantum.api.v2.resource   File "/opt/stack/quantum/quantum/api/v2/base.py", line 399, in update
  2013-02-16 12:31:35.887 31931 TRACE quantum.api.v2.resource     obj = obj_updater(request.context, id, **kwargs)
  2013-02-16 12:31:35.887 31931 TRACE quantum.api.v2.resource   File "/opt/stack/quantum/quantum/plugins/nicira/nicira_nvp_plugin/QuantumPlugin.py", line 1159, in update_port
  2013-02-16 12:31:35.887 31931 TRACE quantum.api.v2.resource     self.port_security_enabled_update)
  2013-02-16 12:31:35.887 31931 TRACE quantum.api.v2.resource   File "/opt/stack/quantum/quantum/plugins/nicira/nicira_nvp_plugin/QuantumPlugin.py", line 574, in _enforce_set_auth
  2013-02-16 12:31:35.887 31931 TRACE quantum.api.v2.resource     return policy.enforce(context, action, resource)
  2013-02-16 12:31:35.887 31931 TRACE quantum.api.v2.resource   File "/opt/stack/quantum/quantum/policy.py", line 201, in enforce
  2013-02-16 12:31:35.887 31931 TRACE quantum.api.v2.resource     exceptions.PolicyNotAuthorized, action=action)
  2013-02-16 12:31:35.887 31931 TRACE quantum.api.v2.resource   File "/opt/stack/quantum/quantum/openstack/common/policy.py", line 182, in check
  2013-02-16 12:31:35.887 31931 TRACE quantum.api.v2.resource     raise exc(*args, **kwargs)
  2013-02-16 12:31:35.887 31931 TRACE quantum.api.v2.resource PolicyNotAuthorized: Policy doesn't allow update_port:port_security_enabled to be performed.

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