All, Trying to run ceph bobtail on CentOS 6.3 and am having issues with ceph-deploy. ceph-deploy new es-sv01 630 ceph-deploy mon create 634 ceph-deploy gatherkeys es-sv01 I can get a monitor up and running, after doing a “new” and a “mon create” however when I go to gatherkeys, I get the following messages Unable to find /etc/ceph/ceph.client.admin.keyring on ['es-sv01'] Unable to find /var/lib/ceph/bootstrap-osd/ceph.keyring on ['es-sv01'] Unable to find /var/lib/ceph/bootstrap-mds/ceph.keyring on ['es-sv01'] I’ve confirmed on the requisite server that those files do not exist. Which step actually creates them? It looks like maybe ceph-deploy isn’t doing mkdir –p on some things as I’ve had to help things along with a mkdir –p /var/lib/ceph/mon and a /var/lib/ceph/tmp to get things to work. I’ve tried to help it with a mkdir /var/lib/ceph/bootstrap-osd and bootstrap.mds but to no avail. I can confirm that the monitor is actually running: [root@es-sv01 tmp]# ps -ef | grep ceph root 8035 1 0 11:52 ? 00:00:00 /usr/bin/ceph-mon -i es-sv01 --pid-file /var/run/ceph/mon.es-sv01.pid -c /etc/ceph/ceph.conf Is there anyway to have ceph-deploy show exactly what it is doing to help me debug? Here is the ceph.log from this attempt. ceph@s-cl01:~/my-cluster$ cat ceph.log 2013-05-06 12:10:56,067 ceph_deploy.new DEBUG Creating new cluster named ceph 2013-05-06 12:10:56,067 ceph_deploy.new DEBUG Resolving host es-sv01 2013-05-06 12:10:56,070 ceph_deploy.new DEBUG Monitor es-sv01 at 10.10.30.33 2013-05-06 12:10:56,070 ceph_deploy.new DEBUG Monitor initial members are ['es-sv01'] 2013-05-06 12:10:56,070 ceph_deploy.new DEBUG Monitor addrs are ['10.10.30.33'] 2013-05-06 12:10:56,070 ceph_deploy.new DEBUG Creating a random mon key... 2013-05-06 12:10:56,070 ceph_deploy.new DEBUG Writing initial config to ceph.conf... 2013-05-06 12:10:56,097 ceph_deploy.new DEBUG Writing monitor keyring to ceph.conf... 2013-05-06 12:11:20,616 ceph_deploy.mon DEBUG Deploying mon, cluster ceph hosts es-sv01 2013-05-06 12:11:20,616 ceph_deploy.mon DEBUG Deploying mon to es-sv01 2013-05-06 12:11:21,250 ceph_deploy.mon DEBUG Distro CentOS codename Final, will use sysvinit 2013-05-06 12:11:46,345 ceph_deploy.mon DEBUG Deploying mon, cluster ceph hosts es-sv01 2013-05-06 12:11:46,345 ceph_deploy.mon DEBUG Deploying mon to es-sv01 2013-05-06 12:11:46,972 ceph_deploy.mon DEBUG Distro CentOS codename Final, will use sysvinit 2013-05-06 12:12:20,783 ceph_deploy.mon DEBUG Deploying mon, cluster ceph hosts es-sv01 2013-05-06 12:12:20,783 ceph_deploy.mon DEBUG Deploying mon to es-sv01 2013-05-06 12:12:21,410 ceph_deploy.mon DEBUG Distro CentOS codename Final, will use sysvinit 2013-05-06 12:12:40,296 ceph_deploy.mon DEBUG Deploying mon, cluster ceph hosts es-sv01 2013-05-06 12:12:40,296 ceph_deploy.mon DEBUG Deploying mon to es-sv01 2013-05-06 12:12:40,919 ceph_deploy.mon DEBUG Distro CentOS codename Final, will use sysvinit 2013-05-06 12:13:30,432 ceph_deploy.mon DEBUG Deploying mon, cluster ceph hosts es-sv01 2013-05-06 12:13:30,433 ceph_deploy.mon DEBUG Deploying mon to es-sv01 2013-05-06 12:13:31,066 ceph_deploy.mon DEBUG Distro CentOS codename Final, will use sysvinit 2013-05-06 12:14:15,139 ceph_deploy.gatherkeys DEBUG Checking es-sv01 for /etc/ceph/ceph.client.admin.keyring 2013-05-06 12:14:15,682 ceph_deploy.gatherkeys WARNING Unable to find /etc/ceph/ceph.client.admin.keyring on ['es-sv01'] 2013-05-06 12:14:15,683 ceph_deploy.gatherkeys DEBUG Have ceph.mon.keyring 2013-05-06 12:14:15,683 ceph_deploy.gatherkeys DEBUG Checking es-sv01 for /var/lib/ceph/bootstrap-osd/ceph.keyring 2013-05-06 12:14:16,233 ceph_deploy.gatherkeys WARNING Unable to find /var/lib/ceph/bootstrap-osd/ceph.keyring on ['es-sv01'] 2013-05-06 12:14:16,233 ceph_deploy.gatherkeys DEBUG Checking es-sv01 for /var/lib/ceph/bootstrap-mds/ceph.keyring 2013-05-06 12:14:16,783 ceph_deploy.gatherkeys WARNING Unable to find /var/lib/ceph/bootstrap-mds/ceph.keyring on ['es-sv01'] Thanks, Jim |
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com