Skip to content

Instantly share code, notes, and snippets.

@fghaas
Created March 6, 2014 18:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fghaas/9396338 to your computer and use it in GitHub Desktop.
Save fghaas/9396338 to your computer and use it in GitHub Desktop.
Spurious ceph authentication error
test@ubuntu-ceph2:/etc/ceph$ sudo ceph -s
cluster 07d28faa-48ae-4356-a8e3-19d5b81e159e
health HEALTH_ERR 192 pgs stuck inactive; 192 pgs stuck unclean; no osds
monmap e2: 2 mons at {ubuntu-ceph1=192.168.122.62:6789/0,ubuntu-ceph3=192.168.122.32:6789/0}, election epoch 4, quorum 0,1 ubuntu-ceph1,ubuntu-ceph3
osdmap e1: 0 osds: 0 up, 0 in
pgmap v2: 192 pgs: 192 creating; 0 bytes data, 0 KB used, 0 KB / 0 KB avail
mdsmap e1: 0/0/1 up
test@ubuntu-ceph2:/etc/ceph$ sudo ceph -s
2014-03-06 19:28:30.491264 7f94e8365700 0 librados: client.admin authentication error (1) Operation not permitted
Error connecting to cluster: PermissionError
test@ubuntu-ceph2:/etc/ceph$ sudo ceph -s
cluster 07d28faa-48ae-4356-a8e3-19d5b81e159e
health HEALTH_ERR 192 pgs stuck inactive; 192 pgs stuck unclean; no osds
monmap e2: 2 mons at {ubuntu-ceph1=192.168.122.62:6789/0,ubuntu-ceph3=192.168.122.32:6789/0}, election epoch 4, quorum 0,1 ubuntu-ceph1,ubuntu-ceph3
osdmap e1: 0 osds: 0 up, 0 in
pgmap v2: 192 pgs: 192 creating; 0 bytes data, 0 KB used, 0 KB / 0 KB avail
mdsmap e1: 0/0/1 up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment