I'm trying to deploy Ceph on a group of Raspberry Pis using the procedure documented in: http://ceph.com/docs/master/start/quick-ceph-deploy/
There used to be a site: http://ceph.com/docs/master/start/quick-start/ but that page is no longer valid. The first thing I noticed is that the command lsb_release -sc specified in the Ceph Deploy setup provides n/a even though the answer should be wheezy. I manually changed the /etc/apt/sources.list.d/ceph.list to specify wheezy. I've installed ceph-deploy and setup the keys to communicate between the deploy Raspberry Pi and all the Raspberry Pis including the system reunning ceph-deploy. When I tried to run ceph-deploy install <node1> the installation failed. I went to each node and installed ceph manually and I see the versions are: $ ceph-deploy --version 1.3.3 $ ceph --version ceph version 0.43 (commit:9fa8781c0147d66fcef7c2dd0e09cd3c69747d37) All the nodes have the same ceph version. When I try to run a command, I get errors: $ ceph-deploy mon create baxter [ceph_deploy.cli][INFO ] Invoked (1.3.3): /usr/bin/ceph-deploy mon create baxter [ceph_deploy.mon][DEBUG ] Deploying mon, cluster ceph hosts baxter [ceph_deploy.mon][DEBUG ] detecting platform for host baxter ... [baxter][DEBUG ] connected to host: baxter [baxter][DEBUG ] detect platform information from remote host [baxter][DEBUG ] detect machine type [ceph_deploy.mon][INFO ] distro info: debian 7.0 wheezy [baxter][DEBUG ] determining if provided host has same hostname in remote [baxter][DEBUG ] get remote short hostname [baxter][DEBUG ] deploying mon to baxter [baxter][DEBUG ] get remote short hostname [baxter][DEBUG ] remote hostname: baxter [baxter][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf [baxter][DEBUG ] create the mon path if it does not exist [baxter][DEBUG ] checking for done path: /var/lib/ceph/mon/ceph-baxter/done [baxter][DEBUG ] done path does not exist: /var/lib/ceph/mon/ceph-baxter/done [baxter][INFO ] creating keyring file: /var/lib/ceph/tmp/ceph-baxter.mon.keyring [baxter][DEBUG ] create the monitor keyring file [baxter][INFO ] Running command: sudo ceph-mon --cluster ceph --mkfs -i baxter --keyring /var/lib/ceph/tmp/ceph-baxter.mon.keyring [baxter][WARNIN] too many arguments: [--cluster,ceph] [baxter][WARNIN] usage: ceph-mon -i monid [--mon-data=pathtodata] [flags] [baxter][WARNIN] --debug_mon n [baxter][WARNIN] debug monitor level (e.g. 10) [baxter][WARNIN] --mkfs [baxter][WARNIN] build fresh monitor fs [baxter][DEBUG ] --conf/-c Read configuration from the given configuration file [baxter][DEBUG ] -d Run in foreground, log to stderr. [baxter][DEBUG ] -f Run in foreground, log to usual location. [baxter][DEBUG ] --id/-i set ID portion of my name [baxter][DEBUG ] --name/-n set name (TYPE.ID) [baxter][DEBUG ] --version show version and quit [baxter][DEBUG ] [baxter][DEBUG ] --debug_ms N [baxter][DEBUG ] set message debug level (e.g. 1) [baxter][ERROR ] RuntimeError: command returned non-zero exit status: 1 [ceph_deploy.mon][ERROR ] Failed to execute command: ceph-mon --cluster ceph --mkfs -i baxter --keyring /var/lib/ceph/tmp/ceph-baxter.mon.keyring [ceph_deploy][ERROR ] GenericError: Failed to create 1 monitors If I try to run the same command as the user ceph on the local machine, I get the same error: $ ceph-mon --cluster ceph --mkfs -i baxter --keyring /var/lib/ceph/tmp/ceph-baxter.mon.keyring failed to open log file '/var/log/ceph/mon.baxter.log': (13) Permission denied too many arguments: [--cluster,ceph] usage: ceph-mon -i monid [--mon-data=pathtodata] [flags] --debug_mon n debug monitor level (e.g. 10) --mkfs build fresh monitor fs --conf/-c Read configuration from the given configuration file -d Run in foreground, log to stderr. -f Run in foreground, log to usual location. --id/-i set ID portion of my name --name/-n set name (TYPE.ID) --version show version and quit --debug_ms N set message debug level (e.g. 1) This makes me think that the ceph-deploy installed doesn't work with the ceph installed on each node. So I guess I have 2 questions: 1. How can I determine which ceph-deploy goes with which ceph and how can I correct this apparent mismatch? 2. Should I be looking at just using local ceph commands to configure this by hand? Are there instructions on how to do this by hand? Thank you. Shlomo ----------------------------- Shlomo Dubrowin The Solution to the water crisis in Israel: # According to WikiPedia, the Kinneret can hold # 4 km^3, so FULL here is in cubit meters FULL="4000" while [ "$LEVEL" -lt "$FULL" ]; do cat /sea/med /sea/red |\ grep -vi "salt" |\ tee /sea/dead /lake/kinneret LEVEL=`du -c /sea/dead /lake/kinneret | grep total | awk '{print $1}'` done
_______________________________________________ ceph-users mailing list [email protected] http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
