ceph version 14.2.1安装Dashboard之后,登录会自动退出
在ceph-mgr日志中会报错401
2019-07-16 06:04:29.496 7f529c62a700 1 mgr[dashboard] [::ffff:192.168.1.125:62706] [GET] [401] [0.006s] [271B] /api/summary
2019-07-16 06:04:29.679 7f529a626700 1 mgr[dashboard] [::ffff:192.168.1.125:62710] [GET] [401] [0.024s] [271B] /api/feature_toggles
2019-07-16 06:04:29.682 7f529b628700 1 mgr[dashboard] [::ffff:192.168.1.125:62708] [GET] [401] [0.031s] [271B] /api/settings/alertmanager-api-host
2019-07-16 06:04:29.683 7f529be29700 1 mgr[dashboard] [::ffff:192.168.1.125:62707] [GET] [401] [0.022s] [271B] /api/health/minimal
2019-07-16 06:04:29.684 7f529c62a700 1 mgr[dashboard] [::ffff:192.168.1.125:62706] [GET] [401] [0.032s] [271B] /api/health/minimal
2019-07-16 06:04:29.809 7f529a626700 0 mgr[dashboard] frontend error (https://192.168.1.186:8443/#/login): Http failure response for https://192.168.1.186:8443/api/summary: 401 Unauthorized
None
该问题是一个bug,解决方法见https://tracker.ceph.com/issues/40051
ceph version 14.2.2版本会解决这个bug。