← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1817313] [NEW] RBAC Enforcer Programming Error raised for malformed federation protocol request

 

Public bug reported:

On devstack, I mistakenly tried to create a federation protocol without
providing its name in the request path:

curl -H "x-auth-token: $token" -H "content-type: application/json"
http://localhost/identity/v3/OS-
FEDERATION/identity_providers/myidp/protocols -X PUT -d '{"protocol":
{"mapping_id": "myidp_mapping"}}'

This caused the RBACEnforcer programming error to be raised:

http://paste.openstack.org/show/745721/

Also, the error message spells RBACEnforcer incorrectly.

Expected behavior: this should result in a 404, not a 500.

** Affects: keystone
     Importance: Undecided
         Status: New

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

Title:
  RBAC Enforcer Programming Error raised for malformed federation
  protocol request

Status in OpenStack Identity (keystone):
  New

Bug description:
  On devstack, I mistakenly tried to create a federation protocol
  without providing its name in the request path:

  curl -H "x-auth-token: $token" -H "content-type: application/json"
  http://localhost/identity/v3/OS-
  FEDERATION/identity_providers/myidp/protocols -X PUT -d '{"protocol":
  {"mapping_id": "myidp_mapping"}}'

  This caused the RBACEnforcer programming error to be raised:

  http://paste.openstack.org/show/745721/

  Also, the error message spells RBACEnforcer incorrectly.

  Expected behavior: this should result in a 404, not a 500.

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


Follow ups