On Wed, Feb 5, 2014 at 2:02 AM, Sahana <shnal12@xxxxxxxxx> wrote: > Hi > > I am trying to form ceph cluster using ceph-deploy. > > I generated ssh-keygen, copied key to all ceph nodes, then added user and > hostname in ~/.ssh/config file : > > cat /home/ems/.ssh/config > Host host1 > Hostname aa.bbb.cc.d #ip > User user > > For sample I ran purge command, I get this error: > > ceph-deploy purge host1 > [ceph_deploy.cli][INFO ] Invoked (1.3.4): /usr/bin/ceph-deploy purge host1 > [ceph_deploy.install][DEBUG ] Purging from cluster ceph hosts host1 > [ceph_deploy.install][DEBUG ] Detecting platform for host host1... > /home/ems/.ssh/config line 2: garbage at end of line; "#ip". > [ceph_deploy][ERROR ] RuntimeError: connecting to host: host1 resulted in > errors: HostNotFound host1 The log output above does show that your ssh config file has 'garbage at the end of the line' You need to clean that config file so that it works correctly and make sure that 'host1' is resolvable, that for ceph-deploy means that you can ping or that you can actually ssh into it. > > When i tried with other ips like aa.bbb.cc.dd /hostname it worked. > > Example: 192.168.25.1 didnot work, but 192.168.25.11 worked. > > thanks > Sahana > > > > > _______________________________________________ > ceph-users mailing list > ceph-users@xxxxxxxxxxxxxx > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com