]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: keystone: bump up logging when error is received
authorAbhishek Lekshmanan <abhishek@suse.com>
Fri, 17 Nov 2017 13:48:17 +0000 (14:48 +0100)
committerAbhishek Lekshmanan <abhishek@suse.com>
Tue, 21 Nov 2017 15:40:00 +0000 (16:40 +0100)
commitc603110f419031a41f06f0b0e17665ec89b7c3f6
treebbbf8de6ca3f3fa94f7c83b2dcaaccb68989127b
parent73fe7ae9bb824df7bd71cdc6bc340fb85a7e0638
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