Skip to content

Instantly share code, notes, and snippets.

@hesco
Created May 22, 2016 23:24
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 hesco/6429e92f8db1acc808bcae069c05861a to your computer and use it in GitHub Desktop.
Save hesco/6429e92f8db1acc808bcae069c05861a to your computer and use it in GitHub Desktop.
I do not seem able to create a second monitor on the next node. Can anyone here please advise what I may be missing? I've been following the recipe at: https://blog.zhaw.ch/icclab/deploy-ceph-and-start-using-it-end-to-end-tutorial-installation-part-13/
+ ceph-deploy --overwrite-conf --username ceph mon create dessalines011
[ceph_deploy.conf][DEBUG ] found configuration file at: /home/cluster-admin/.cephdeploy.conf
[ceph_deploy.cli][INFO ] Invoked (1.5.33): /usr/bin/ceph-deploy --overwrite-conf --username ceph mon create dessalines011
[ceph_deploy.cli][INFO ] ceph-deploy options:
[ceph_deploy.cli][INFO ] username : ceph
[ceph_deploy.cli][INFO ] verbose : False
[ceph_deploy.cli][INFO ] overwrite_conf : True
[ceph_deploy.cli][INFO ] subcommand : create
[ceph_deploy.cli][INFO ] quiet : False
[ceph_deploy.cli][INFO ] cd_conf : <ceph_deploy.conf.cephdeploy.Conf instance at 0x7f71946c73b0>
[ceph_deploy.cli][INFO ] cluster : ceph
[ceph_deploy.cli][INFO ] mon : ['dessalines011']
[ceph_deploy.cli][INFO ] func : <function mon at 0x7f7194b327d0>
[ceph_deploy.cli][INFO ] ceph_conf : None
[ceph_deploy.cli][INFO ] keyrings : None
[ceph_deploy.cli][INFO ] default_release : False
[ceph_deploy.mon][DEBUG ] Deploying mon, cluster ceph hosts dessalines011
[ceph_deploy.mon][DEBUG ] detecting platform for host dessalines011 ...
[dessalines011][DEBUG ] connection detected need for sudo
[dessalines011][DEBUG ] connected to host: ceph@dessalines011
[dessalines011][DEBUG ] detect platform information from remote host
[dessalines011][DEBUG ] detect machine type
[dessalines011][DEBUG ] find the location of an executable
[ceph_deploy.mon][INFO ] distro info: debian 8.4 jessie
[dessalines011][DEBUG ] determining if provided host has same hostname in remote
[dessalines011][DEBUG ] get remote short hostname
[dessalines011][DEBUG ] deploying mon to dessalines011
[dessalines011][DEBUG ] get remote short hostname
[dessalines011][DEBUG ] remote hostname: dessalines011
[dessalines011][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf
[dessalines011][DEBUG ] create the mon path if it does not exist
[dessalines011][DEBUG ] checking for done path: /var/lib/ceph/mon/ceph-dessalines011/done
[dessalines011][DEBUG ] create a done file to avoid re-doing the mon deployment
[dessalines011][DEBUG ] create the init path if it does not exist
[dessalines011][INFO ] Running command: sudo systemctl enable ceph.target
[dessalines011][WARNIN] Failed to execute operation: No such file or directory
[dessalines011][ERROR ] RuntimeError: command returned non-zero exit status: 1
[ceph_deploy.mon][ERROR ] Failed to execute command: systemctl enable ceph.target
[ceph_deploy][ERROR ] GenericError: Failed to create 1 monitors
+ for node in '$ceph_node_names'
+ deploy_ceph_mon_on_host dessalines014
+ target=dessalines014
+ ceph-deploy --overwrite-conf --username ceph mon create dessalines014
[ceph_deploy.conf][DEBUG ] found configuration file at: /home/cluster-admin/.cephdeploy.conf
[ceph_deploy.cli][INFO ] Invoked (1.5.33): /usr/bin/ceph-deploy --overwrite-conf --username ceph mon create dessalines014
[ceph_deploy.cli][INFO ] ceph-deploy options:
[ceph_deploy.cli][INFO ] username : ceph
[ceph_deploy.cli][INFO ] verbose : False
[ceph_deploy.cli][INFO ] overwrite_conf : True
[ceph_deploy.cli][INFO ] subcommand : create
[ceph_deploy.cli][INFO ] quiet : False
[ceph_deploy.cli][INFO ] cd_conf : <ceph_deploy.conf.cephdeploy.Conf instance at 0x7f9aa37cc3b0>
[ceph_deploy.cli][INFO ] cluster : ceph
[ceph_deploy.cli][INFO ] mon : ['dessalines014']
[ceph_deploy.cli][INFO ] func : <function mon at 0x7f9aa3c377d0>
[ceph_deploy.cli][INFO ] ceph_conf : None
[ceph_deploy.cli][INFO ] keyrings : None
[ceph_deploy.cli][INFO ] default_release : False
[ceph_deploy.mon][DEBUG ] Deploying mon, cluster ceph hosts dessalines014
[ceph_deploy.mon][DEBUG ] detecting platform for host dessalines014 ...
The authenticity of host 'dessalines014 (127.0.1.1)' can't be established.
ECDSA key fingerprint is 62:c4:af:57:01:44:c9:cb:b7:71:bf:70:96:10:81:b6.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'dessalines014' (ECDSA) to the list of known hosts.
ceph@dessalines014's password:
[ceph_deploy.mon][ERROR ] connecting to host: ceph@dessalines014 resulted in errors: IOError cannot send (already closed?)
[ceph_deploy][ERROR ] GenericError: Failed to create 1 monitors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment