Hello!
We got a issue with integration of RadosGW and Keystone. Can you support us?
We have such ceph configuration:
[global]....rgw socket path = /tmp/radosgw.sock....[client.radosgw.gateway]host = fuel-controller-01user = www-datakeyring = /etc/ceph/client.radosgw.gateway.keyringlog file = /var/log/ceph/radosgw.logrgw enable usage log = truergw usage log tick interval = 30rgw usage log flush threshold = 1024rgw usage max shards = 32rgw usage max user shards = 1rgw data = "">rgw dns name = fuel-controller-01rgw keystone url ="" href="http://10.10.10.127:5000/" target="_blank">http://10.10.10.127:5000rgw keystone admin token = novargw keystone accepted roles = admin, SwiftOperatorrgw keystone token cache size = 10rgw keystone revocation interval = 60nss db path = /var/ceph/nss
When we start the RadosGW, we obtain such error in log:
2013-06-26 05:03:52.838089 7f2cc944c700 2 keystone revoke thread: start2013-06-26 05:03:52.838123 7f2cc944c700 20 sending request to http://10.10.10.127:5000/v2.0/tokens/revoked2013-06-26 05:03:53.073184 7f2cc944c700 10 request returned {"signed": "-----BEGIN CMS-----\nMIIBkAYJKoZIhvcNAQcCoIIBgTCCAX0CAQExCTAHBgUrDgMCGjBrBgkqhkiG9w0B\nBwGgXgRceyJyZXZva2VkIjogW3siZXhwaXJlcyI6ICIyMDEzLTA2LTI3VDA3OjQ0\nOjA0WiIsICJpZCI6ICJlNmU4MTJiY2Y1YWM0ZTY4YjM2ODhiM2VlODYwZmY1MCJ9\nXX0xgf8wgfwCAQEwXDBXMQswCQYDVQQGEwJVUzEOMAwGA1UECBMFVW5zZXQxDjAM\nBgNVBAcTBVVuc2V0MQ4wDAYDVQQKEwVVbnNldDEYMBYGA1UEAxMPd3d3LmV4YW1w\nbGUuY29tAgEBMAcGBSsOAwIaMA0GCSqGSIb3DQEBAQUABIGAqbZEjICFOVUz22f3\nqkZ4CcjExMXo2bbgpODFE9J8XFQ+kOwT0X/gp1ALIq8y9gRYjX4LGBXQ0Nd2RqMQ\nkm+vIIHkVzOt5q5nbKhXNSTkTWBGRrPLWdJo3IedAB64F7qfiAdhtqw9FUtwLSxr\n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3qkZ4CcjExMXo2bbgpODFE9J8XFQ+kOwT0X/gp1ALIq8y9gRYjX4LGBXQ0Nd2RqMQkm+vIIHkVzOt5q5nbKhXNSTkTWBGRrPLWdJo3IedAB64F7qfiAdhtqw9FUtwLSxrfSkdijXjyzNgoJbVV2MYAIkV6cE=2013-06-26 05:03:53.073442 7f2cc944c700 0 ERROR: signer 0 status = BadSignature2013-06-26 05:03:53.073451 7f2cc944c700 0 ERROR: problem decoding2013-06-26 05:03:53.073452 7f2cc944c700 0 ceph_decode_cms returned -222013-06-26 05:03:53.073457 7f2cc944c700 0 ERROR: keystone revocation processing returned error r=-222013-06-26 05:04:51.395179 7f82be63a780 0 ceph version 0.61.4 (1669132fcfc27d0c0b5e5bb93ade59d147e23404), process radosgw, pid 231482013-06-26 05:04:51.410852 7f82b1408700 2 garbage collection: start
At the same time we obtain such rows in Keystone's log:
2013-06-26 05:04:53 DEBUG [keystone.common.wsgi] ******************** REQUEST ENVIRON ********************2013-06-26 05:04:53 DEBUG [keystone.common.wsgi] SCRIPT_NAME = /v2.02013-06-26 05:04:53 DEBUG [keystone.common.wsgi] webob.adhoc_attrs = {'response': <Response at 0x3d68150 200 OK>}2013-06-26 05:04:53 DEBUG [keystone.common.wsgi] REQUEST_METHOD = GET2013-06-26 05:04:53 DEBUG [keystone.common.wsgi] PATH_INFO = /tokens/revoked2013-06-26 05:04:53 DEBUG [keystone.common.wsgi] SERVER_PROTOCOL = HTTP/1.02013-06-26 05:04:53 DEBUG [keystone.common.wsgi] HTTP_X_AUTH_TOKEN = nova2013-06-26 05:04:53 DEBUG [keystone.common.wsgi] REMOTE_PORT = 396172013-06-26 05:04:53 DEBUG [keystone.common.wsgi] SERVER_NAME = 10.10.10.2012013-06-26 05:04:53 DEBUG [keystone.common.wsgi] REMOTE_ADDR = 10.10.10.2012013-06-26 05:04:53 DEBUG [keystone.common.wsgi] eventlet.input = <eventlet.wsgi.Input object at 0x3b55dd0>2013-06-26 05:04:53 DEBUG [keystone.common.wsgi] wsgi.url_scheme = http2013-06-26 05:04:53 DEBUG [keystone.common.wsgi] SERVER_PORT = 50002013-06-26 05:04:53 DEBUG [keystone.common.wsgi] wsgi.input = <eventlet.wsgi.Input object at 0x3b55dd0>2013-06-26 05:04:53 DEBUG [keystone.common.wsgi] openstack.context = {'token_id': 'nova', 'is_admin': True}2013-06-26 05:04:53 DEBUG [keystone.common.wsgi] HTTP_HOST = 10.10.10.127:50002013-06-26 05:04:53 DEBUG [keystone.common.wsgi] wsgi.multithread = True2013-06-26 05:04:53 DEBUG [keystone.common.wsgi] eventlet.posthooks = []2013-06-26 05:04:53 DEBUG [keystone.common.wsgi] HTTP_ACCEPT = */*2013-06-26 05:04:53 DEBUG [keystone.common.wsgi] wsgi.version = (1, 0)2013-06-26 05:04:53 DEBUG [keystone.common.wsgi] RAW_PATH_INFO = /v2.0/tokens/revoked2013-06-26 05:04:53 DEBUG [keystone.common.wsgi] GATEWAY_INTERFACE = CGI/1.12013-06-26 05:04:53 DEBUG [keystone.common.wsgi] wsgi.run_once = False2013-06-26 05:04:53 DEBUG [keystone.common.wsgi] wsgi.errors = <open file '<stderr>', mode 'w' at 0x7f083191d270>2013-06-26 05:04:53 DEBUG [keystone.common.wsgi] wsgi.multiprocess = False2013-06-26 05:04:53 DEBUG [keystone.common.wsgi] CONTENT_TYPE = text/plain2013-06-26 05:04:53 DEBUG [keystone.common.wsgi]2013-06-26 05:04:53 DEBUG [keystone.common.wsgi] ******************** REQUEST BODY ********************2013-06-26 05:04:53 DEBUG [keystone.common.wsgi]2013-06-26 05:04:53 DEBUG [keystone.common.wsgi] arg_dict: {}2013-06-26 05:04:53 INFO [sqlalchemy.engine.base.Engine] SELECT token.id AS token_id, token.expires AS token_expires, token.extra AS token_extra, token.valid AS token_valid, token.user_id AS token_user_id, token.trust_id AS token_trust_idFROM tokenWHERE token.expires > %s AND token.valid = %s2013-06-26 05:04:53 INFO [sqlalchemy.engine.base.Engine] (datetime.datetime(2013, 6, 26, 12, 4, 53, 686305), 0)2013-06-26 05:04:53 DEBUG [keystone.common.wsgi] ******************** RESPONSE HEADERS ********************2013-06-26 05:04:53 DEBUG [keystone.common.wsgi] Vary = X-Auth-Token2013-06-26 05:04:53 DEBUG [keystone.common.wsgi] Content-Type = application/json2013-06-26 05:04:53 DEBUG [keystone.common.wsgi] Content-Length = 6122013-06-26 05:04:53 DEBUG [keystone.common.wsgi]2013-06-26 05:04:53 DEBUG [keystone.common.wsgi] ******************** RESPONSE BODY ********************2013-06-26 05:04:53 DEBUG [keystone.common.wsgi] {"signed": "-----BEGIN CMS-----\nMIIBkAYJKoZIhvcNAQcCoIIBgTCCAX0CAQExCTAHBgUrDgMCGjBrBgkqhkiG9w0B\nBwGgXgRceyJyZXZva2VkIjogW3siZXhwaXJlcyI6ICIyMDEzLTA2LTI3VDA3OjQ0\nOjA0WiIsICJpZCI6ICJlNmU4MTJiY2Y1YWM0ZTY4YjM2ODhiM2VlODYwZmY1MCJ9\nXX0xgf8wgfwCAQEwXDBXMQswCQYDVQQGEwJVUzEOMAwGA1UECBMFVW5zZXQxDjAM\nBgNVBAcTBVVuc2V0MQ4wDAYDVQQKEwVVbnNldDEYMBYGA1UEAxMPd3d3LmV4YW1w\nbGUuY29tAgEBMAcGBSsOAwIaMA0GCSqGSIb3DQEBAQUABIGALtqB6OzwGNhcypf6\n33JjLnm0l865R7jh4jz4aYWVOpF20QV3q/j9KZ+4BbG4ctyQ3nAn9hEZPXFOCVKU\nllpfmA/nahlcMLP1RU1ZPHPblBifyth8JOwiPRoSX9In8lr7+NNkCe1sIBxWBmzk\npTOK419MwIXNtsohQ+D5j2RnQA0=\n-----END CMS-----\n"}2013-06-26 05:04:53 DEBUG [eventlet.wsgi.server] 10.10.10.201 - - [26/Jun/2013 05:04:53] "GET /v2.0/tokens/revoked HTTP/1.1" 200 760 0.033900
Can you help us, what are we doing wrong?
Sofware versions:
ceph:
Installed: 0.61.4-1precise
radosgw:
Installed: 0.61.4-1precise
keystone:
Installed: 1:2013.1.1-0ubuntu2~cloud0 (grizzly)
Installed: 1:2013.1.1-0ubuntu2~cloud0 (grizzly)
OS:
Ubuntu 12.04
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com