]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: keystone: bump up logging when error is received 19077/head
authorAbhishek Lekshmanan <abhishek@suse.com>
Fri, 17 Nov 2017 13:48:17 +0000 (14:48 +0100)
committerNathan Cutler <ncutler@suse.com>
Tue, 21 Nov 2017 15:48:05 +0000 (16:48 +0100)
commit23b3c9de3d3a950eb64ff9a4b77da145f7d1d865
tree11ddfc5db275cee0ed07f458cb2e042079c000f0
parent613634c1da4cea975d6e1da7d258600c454c9400
rgw: keystone: bump up logging when error is received

When keystone engine is used and there is an error (often due to
misconfigured urls etc) these do not show up at the final logs as we
just return  -1 at the final stage. Adding logs at level 5 for these
cases, as they can help identify a possible misconfigured url or admin
token. Eg:

```
5 Failed keystone auth from http://localhost:5000/v3/v3/auth/tokens with 404
```

Fixes: http://tracker.ceph.com/issues/22151
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
(cherry picked from commit 347c5148a57de9007d6c1293add6bf27004fce41)
src/rgw/rgw_auth_keystone.cc