rados gateway unable to query revoked tokens

Bug #1520339 reported by Edward Hope-Morley
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ceph-radosgw (Juju Charms Collection)
Fix Released
High
Edward Hope-Morley
keystone (Juju Charms Collection)
Fix Released
High
Edward Hope-Morley

Bug Description

We are not configuring nss as part of the rgw installation when relating with keystone. The consequence is that the RGW is unable to retrieve a list of revoked tokens from keystone and thus cannot remove revoked tokens from its cache. Keystone always encodes and signs the response from .../v2.0/tokens/revoked so we need to configure the 'nss db path'.

More info at http://docs.openstack.org/developer/keystone/api_curl_examples.html#get-tokens-revoked

Also at http://docs.ceph.com/docs/v0.80/radosgw/config/#integrating-with-openstack-keystone

This results in a load of the following in /var/log/ceph/radosgw.log

...
2015-11-26 17:47:39.614313 7f631f7fe700 0 ERROR: signer 0 status = SigningCertNotFound
2015-11-26 17:47:39.614685 7f631f7fe700 0 ERROR: problem decoding
2015-11-26 17:47:39.615043 7f631f7fe700 0 ceph_decode_cms returned -22
2015-11-26 17:47:39.615577 7f631f7fe700 0 ERROR: keystone revocation processing returned error r=-22
...

Related branches

description: updated
Revision history for this message
James Page (james-page) wrote :

Reducing the token cache size will help relieve the immediate problem; however we should get things sorted out so that keystone is passing over its certs to identity-service related services such as ceph-radosgw.

Changed in ceph-radosgw (Juju Charms Collection):
status: New → Triaged
Revision history for this message
Edward Hope-Morley (hopem) wrote :

This is going to require some extra work at the keystone end to ensure that the signing cert is correctly synced across units (currently only done if using pki or https endpoints).

Changed in keystone (Juju Charms Collection):
milestone: none → 16.01
importance: Undecided → High
status: New → Triaged
Changed in ceph-radosgw (Juju Charms Collection):
assignee: nobody → Edward Hope-Morley (hopem)
Changed in keystone (Juju Charms Collection):
assignee: nobody → Edward Hope-Morley (hopem)
status: Triaged → In Progress
Changed in ceph-radosgw (Juju Charms Collection):
status: Triaged → In Progress
Changed in ceph-radosgw (Juju Charms Collection):
status: In Progress → Fix Committed
Changed in keystone (Juju Charms Collection):
status: In Progress → Fix Committed
Mick Gregg (macgreagoir)
tags: added: canonical-bootstack
James Page (james-page)
Changed in ceph-radosgw (Juju Charms Collection):
status: Fix Committed → Fix Released
Changed in keystone (Juju Charms Collection):
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.