Cannot create Initial Monitor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Cephers,

 

I am unable to create the initial monitor during ceph cluster deployment. I do not know what changed since the same recipe used to work until very recently. These are the steps I used:

Ceph-deploy new <hostname> -- works

Dpkg –i –R <path to built deb packages> --works

Ceph-deploy mon create-initial – fails

 

Log:

[ceph_deploy.cli][INFO  ] Invoked (1.5.28): /usr/bin/ceph-deploy mon create-initial

[ceph_deploy.cli][INFO  ] ceph-deploy options:

[ceph_deploy.cli][INFO  ]  username                      : None

[ceph_deploy.cli][INFO  ]  verbose                       : False

[ceph_deploy.cli][INFO  ]  overwrite_conf                : False

[ceph_deploy.cli][INFO  ]  subcommand                    : create-initial

[ceph_deploy.cli][INFO  ]  quiet                         : False

[ceph_deploy.cli][INFO  ]  cd_conf                       : <ceph_deploy.conf.cephdeploy.Conf instance at 0x7fee2e80b7a0>

[ceph_deploy.cli][INFO  ]  cluster                       : ceph

[ceph_deploy.cli][INFO  ]  func                          : <function mon at 0x7fee2e7e5aa0>

[ceph_deploy.cli][INFO  ]  ceph_conf                     : None

[ceph_deploy.cli][INFO  ]  default_release               : False

[ceph_deploy.cli][INFO  ]  keyrings                      : None

[ceph_deploy.mon][DEBUG ] Deploying mon, cluster ceph hosts myhost

[ceph_deploy.mon][DEBUG ] detecting platform for host myhost ...

[Myhost][DEBUG ] connection detected need for sudo

[Myhost][DEBUG ] connected to host: myhost

[Myhost][DEBUG ] detect platform information from remote host

[Myhost][DEBUG ] detect machine type

[Myhost][DEBUG ] find the location of an executable

[ceph_deploy.mon][INFO  ] distro info: Ubuntu 14.04 trusty

[Myhost][DEBUG ] determining if provided host has same hostname in remote

[Myhost][DEBUG ] get remote short hostname

[Myhost][DEBUG ] deploying mon to myhost

[Myhost][DEBUG ] get remote short hostname

[Myhost][DEBUG ] remote hostname: myhost

[Myhost][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf

[Myhost][DEBUG ] create the mon path if it does not exist

[Myhost][DEBUG ] checking for done path: /var/lib/ceph/mon/ceph-myhost/done

[Myhost][DEBUG ] done path does not exist: /var/lib/ceph/mon/ceph-myhost/done

[Myhost][INFO  ] creating keyring file: /var/lib/ceph/tmp/ceph-myhost.mon.keyring

[Myhost][DEBUG ] create the monitor keyring file

[Myhost][INFO  ] Running command: sudo ceph-mon --cluster ceph --mkfs -i myhost --keyring /var/lib/ceph/tmp/ceph-myhost.mon.keyring

[Myhost][DEBUG ] ceph-mon: renaming mon.noname-a xx.xx.xxx.xx:6789/0 to mon.myhost

[Myhost][DEBUG ] ceph-mon: set fsid to 5573b0c6-02fd-4c45-aa89-b88fd08b3b87

[Myhost][DEBUG ] ceph-mon: created monfs at /var/lib/ceph/mon/ceph-myhost for mon.myhost

[Myhost][INFO  ] unlinking keyring file /var/lib/ceph/tmp/ceph-myhost.mon.keyring

[Myhost][DEBUG ] create a done file to avoid re-doing the mon deployment

[Myhost][DEBUG ] create the init path if it does not exist

[Myhost][DEBUG ] locating the `service` executable...

[Myhost][INFO  ] Running command: sudo initctl emit ceph-mon cluster=ceph id=myhost

[Myhost][INFO  ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.myhost.asok mon_status

[Myhost][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory

[Myhost][WARNING] monitor: mon.myhost, might not be running yet

 

I checked the monitor log in /var/log/ceph and it does not have anything unusual, just the pid for the ceph-mon process. However, there is no /var/run/ceph/ceph-mon.myhost.asok. I do not know in which step this file is created; hence I am not able to debug this issue. Any pointers wrt this issue would be appreciated. I am using the BLKIN Ceph branch (wip-blkin) i.e. 9.0.1 Ceph packages built from source and my ceph-deploy version is 1.5.28.

 

Thanks,

Aakanksha

 

 

 

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux