Skip to contentSkip to conversation

ceph-deploy mon create / gatherkeys problems

DISCUSSION Eric Eastman 2 participants 2 messages Aug 18, 2013 – Aug 19, 2013

lore
Share & tools
lore
#0 lore raw

It may be overkill, but my notes on starting over with loading ceph on my test clusters is:

From ceph00 (my admin node)
ceph-deploy -v purge ceph00 ceph01 ceph02 ceph03 ceph04 ...

Then on each system
rm -rf /var/lib/ceph /etc/ceph

Then reinstall the ceph software and configure it with ceph-deploy.

With ceph-deploy version 1.0-1 this solved problems with re-installing ceph with ceph-deploy, as these directories were not fully cleaned with the purge option. Maybe we need a "distclean" option.

I am installing my first cluster built with ceph-deploy version 1.2.1 and I really like debug being the default, so I can see what its doing. I will report if I find any issues with it.

* If you previously had a problem here and then realized you were doing something not quite right and got it working, please reply and share what it was so we can make sure others avoid the problem!

#1 lore raw
Quoted 8 lines · Eric Eastman

It may be overkill, but my notes on starting over with loading ceph on my test clusters is:

Quoted 1 line

From ceph00 (my admin node)

ceph-deploy -v purge ceph00 ceph01 ceph02 ceph03 ceph04 ...

Then on each system
rm -rf /var/lib/ceph /etc/ceph

This is what

ceph-deploy purgedata HOST1 ...

does, FWIW.

Quoted 5 lines

Then reinstall the ceph software and configure it with ceph-deploy.

With ceph-deploy version 1.0-1 this solved problems with re-installing ceph with ceph-deploy, as these directories were not fully cleaned with the purge option. Maybe we need a "distclean" option.

Is that what distclean means in other contexts? We could make it an alias for the same command.

Quoted 7 lines

I am installing my first cluster built with ceph-deploy version 1.2.1 and I really like debug being the default, so I can see what its doing. I will report if I find any issues with it.

* If you previously had a problem here and then realized you were doing something not quite right and got it working, please reply and share what it was so we can make sure others avoid the problem!

Thanks!
sage