]> git.apps.os.sepia.ceph.com Git - ceph-ci.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>
Fri, 17 Nov 2017 14:31:19 +0000 (15:31 +0100)
commit347c5148a57de9007d6c1293add6bf27004fce41
treecd6bf78167f0cfd09196099f669ff8b473c89694
parent51c8b804d642aa8699bb8660806e50447640040d
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>
src/rgw/rgw_auth_keystone.cc