HttpException: 403 Client Error: Forbidden, At least one role should be specified

Bug #1478423 reported by Cindia-blue
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
senlin
Fix Released
High
Unassigned

Bug Description

2015-07-23 23:50:29.535 19483 ERROR senlin.drivers.openstack.keystone_v3 [req-f67bf664-3f4c-4c43-b5d4-687d00b3899e ] Failed in creating trust: HttpException: 403 Client Error: Forbidden, {"error": {"message": "At least one role should be specified. (Disable debug mode to suppress these details.)", "code": 403, "title": "Forbidden"}}
2015-07-23 23:50:29.535 19483 ERROR senlin.drivers.openstack.keystone_v3 Traceback (most recent call last):
2015-07-23 23:50:29.535 19483 ERROR senlin.drivers.openstack.keystone_v3 File "/opt/stack/senlin/senlin/drivers/openstack/keystone_v3.py", line 154, in trust_create
2015-07-23 23:50:29.535 19483 ERROR senlin.drivers.openstack.keystone_v3 result = self.conn.identity.create_trust(**params)
2015-07-23 23:50:29.535 19483 ERROR senlin.drivers.openstack.keystone_v3 File "/opt/stack/sdk/openstack/identity/v3/_proxy.py", line 668, in create_trust
2015-07-23 23:50:29.535 19483 ERROR senlin.drivers.openstack.keystone_v3 return self._create(trust.Trust, **attrs)
2015-07-23 23:50:29.535 19483 ERROR senlin.drivers.openstack.keystone_v3 File "/opt/stack/sdk/openstack/proxy.py", line 141, in _create
2015-07-23 23:50:29.535 19483 ERROR senlin.drivers.openstack.keystone_v3 return res.create(self.session)
2015-07-23 23:50:29.535 19483 ERROR senlin.drivers.openstack.keystone_v3 File "/opt/stack/sdk/openstack/resource.py", line 568, in create
2015-07-23 23:50:29.535 19483 ERROR senlin.drivers.openstack.keystone_v3 resp = self.create_by_id(session, self._attrs, self.id, path_args=self)
2015-07-23 23:50:29.535 19483 ERROR senlin.drivers.openstack.keystone_v3 File "/opt/stack/sdk/openstack/resource.py", line 551, in create_by_id
2015-07-23 23:50:29.535 19483 ERROR senlin.drivers.openstack.keystone_v3 resp = session.post(url, service=cls.service, **args).body
2015-07-23 23:50:29.535 19483 ERROR senlin.drivers.openstack.keystone_v3 File "/opt/stack/sdk/openstack/session.py", line 146, in post
2015-07-23 23:50:29.535 19483 ERROR senlin.drivers.openstack.keystone_v3 return self._request(path, 'POST', **kwargs)
2015-07-23 23:50:29.535 19483 ERROR senlin.drivers.openstack.keystone_v3 File "/opt/stack/sdk/openstack/session.py", line 134, in _request
2015-07-23 23:50:29.535 19483 ERROR senlin.drivers.openstack.keystone_v3 return self.transport.request(method, url, **kwargs)
2015-07-23 23:50:29.535 19483 ERROR senlin.drivers.openstack.keystone_v3 File "/opt/stack/sdk/openstack/transport.py", line 268, in request
2015-07-23 23:50:29.535 19483 ERROR senlin.drivers.openstack.keystone_v3 status_code=resp.status_code)
2015-07-23 23:50:29.535 19483 ERROR senlin.drivers.openstack.keystone_v3 HttpException: HttpException: 403 Client Error: Forbidden, {"error": {"message": "At least one role should be specified. (Disable debug mode to suppress these details.)", "code": 403, "title": "Forbidden"}}
2015-07-23 23:50:29.535 19483 ERROR senlin.drivers.openstack.keystone_v3
2015-07-23 23:50:29.559 19483 INFO eventlet.wsgi.server [req-f67bf664-3f4c-4c43-b5d4-687d00b3899e ] 10.117.170.157 - - [23/Jul/2015 23:50:29] "GET /v1/45d706a228454f278b5d4bae6b554039/profile_types?paginated=False HTTP/1.1" 500 366 9.659265

Qiming Teng (tengqim)
Changed in senlin:
importance: Undecided → High
milestone: none → liberty-2
status: New → Triaged
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to senlin (master)

Reviewed: https://review.openstack.org/205874
Committed: https://git.openstack.org/cgit/stackforge/senlin/commit/?id=e9f5a19fe7d8b3671191cb0bce8dac1188377d38
Submitter: Jenkins
Branch: master

commit e9f5a19fe7d8b3671191cb0bce8dac1188377d38
Author: Cindia-blue <email address hidden>
Date: Sun Jul 26 18:48:33 2015 -0700

    Transfer roles of context as inputs to create trust

    At least one role is needed by keystone_v3

    Change-Id: I3fa18ff71dcd3191310ab33d9f389983b2714244
    Bug: #1478423

Changed in senlin:
status: Triaged → Fix Committed
Qiming Teng (tengqim)
Changed in senlin:
status: Fix Committed → Fix Released
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.