输入命令提示如下错误:
[root@node1 ~]# rados -p testpool ls
2017-10-21 06:13:25.743045 7f8f89b6d700 0 -- 192.168.197.154:0/2548055958 >> 192.168.197.157:6800/16701 conn(0x7f8f7c0062d0 :-1 s=STATE_CONNECTING_WAIT_CONNECT_REPLY_AUTH pgs=0 cs=0 l=1).handle_connect_reply connect got BADAUTHORIZER
2017-10-21 06:13:25.744283 7f8f89b6d700 0 -- 192.168.197.154:0/2548055958 >> 192.168.197.157:6800/16701 conn(0x7f8f7c0062d0 :-1 s=STATE_CONNECTING_WAIT_CONNECT_REPLY_AUTH pgs=0 cs=0 l=1).handle_connect_reply connect got BADAUTHORIZER
2017-10-21 06:13:25.949184 7f8f89b6d700 0 -- 192.168.197.154:0/2548055958 >> 192.168.197.157:6800/16701 conn(0x7f8f7c0062d0 :-1
...
出现这种提示会导致无法执行ceph命令,解决办法就是重启所有的ceph节点即可:
[root@node1 ~]# systemctl restart ceph.target