Hi ,

I can actually ping via host1 and do ssh as well.

Ceph-deploy worked when i used host1 instead of ip  in that config file.

What I noticed is, when I used ip format- 192.168.25.1 (last part only 1
digit)  i got above error garbage found in that line.

But when i used for other hosts, ip as 192.168.25.11 ,ceph-deploy worked.

Thanks
Sahana
On Feb 5, 2014 8:22 PM, "Alfredo Deza" <alfredo.d...@inktank.com> wrote:

> On Wed, Feb 5, 2014 at 2:02 AM, Sahana <shna...@gmail.com> 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@lists.ceph.com
> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> >
>
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to