Comment 8 for bug 1410622

Revision history for this message
Matt Riedemann (mriedem) wrote :

Have some keystone debug output here, the access key is in the credentials dict in keystone, it's the signature check that fails:

http://logs.openstack.org/01/147601/3/check/check-tempest-dsvm-full/96bb05e/logs/apache/keystone.txt.gz#_2015-01-15_22_00_27_046

2015-01-15 22:00:27.046880 26075 ERROR keystone.contrib.ec2.controllers [-] signature check failed; creds_ref: {'access': u'3da5e55bb5234719862d308c72b7c5e2', 'tenant_id': u'f8e946fd1293453eb9c98c266a03d386', 'secret': u'd53885bfa7ce4c57bcad80c9d30d1b71', 'user_id': u'37e655b3cc844a64b5665976127b28a5', 'trust_id': None}; credentials: {u'body_hash': u'915db51f333ae4d2bda6502c2c69278dc9ee90a117fbc0def065c1f7e1724c05', u'access': u'3da5e55bb5234719862d308c72b7c5e2', u'headers': {u'Content-Length': u'150', u'Accept-Encoding': u'identity', u'User-Agent': u'Boto/2.35.1 Python/2.7.6 Linux/3.13.0-44-generic', u'Host': u'127.0.0.1:8773', u'X-Amz-Date': u'20150115T220027Z', u'Content-Type': u'application/x-www-form-urlencoded; charset=UTF-8', u'Authorization': u'AWS4-HMAC-SHA256 Credential=3da5e55bb5234719862d308c72b7c5e2/20150115/0/127/aws4_request,SignedHeaders=host;x-amz-date,Signature=1c314a588a431c92d83b00ca7450195c461857fb78018147065e43089af10788'}, u'host': u'127.0.0.1:8773', u'verb': u'POST', u'params': {u'Action': u'CreateSecurityGroup', u'GroupName': u'securty_group--505956668', u'Version': u'2014-10-01', u'GroupDescription': u'securty_group--505956668 security group description '}, u'signature': u'1c314a588a431c92d83b00ca7450195c461857fb78018147065e43089af10788', u'path': u'/services/Cloud/'}; generated signature: 8189a643a8669802f5e9e09bc835558cc8521b7edebb43d166e6b60469509d11