Re: Ceph deployment issue in physical hosts

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

 



On Wed, Sep 25, 2013 at 9:31 AM, Guang <yguang11@xxxxxxxxx> wrote:
> Thanks for the reply!
>
> I don't know the reason, but I work-around this issue by add a new entry in the /etc/hosts with something like 'web2   {id_address_of_web2}' and it can work.
>
> I am not sure if that is due to some mis-config by my end of the deployment script, will further investigate.
>

That is certainly not ideal, but still very curious if you were able
to ssh to the 'web2' host normally without doing anything
to /etc/hosts.

Hope you can find what was missing so we can fix it on our end :)

> Thanks all for the help!
>
> Guang
>
> On Sep 25, 2013, at 8:38 PM, Alfredo Deza wrote:
>
>> On Wed, Sep 25, 2013 at 5:08 AM, Guang <yguang11@xxxxxxxxx> wrote:
>>> Thanks Wolfgang.
>>>
>>> -bash-4.1$ ping web2
>>> PING web2 (10.193.244.209) 56(84) bytes of data.
>>> 64 bytes from web2 (10.193.244.209): icmp_seq=1 ttl=64 time=0.505 ms
>>> 64 bytes from web2 (10.193.244.209): icmp_seq=2 ttl=64 time=0.194 ms
>>> ...
>>>
>>> [I omit part of the host name].
>>>
>>> It can ping to the host and I actually used ceph-deploy to install ceph onto
>>> the web2 remote host…
>>>
>>
>> This is very unexpected, it most definitely sounds like at some point
>> web2 is not resolvable (as the
>> error says) but you are also right in that you initiate the deployment
>> correctly with ceph-deploy doing work
>> on the remote end.
>>
>> Are you able to SSH directly to this host from where you are executing
>> ceph-deploy? (same user/login)
>>
>>
>>
>>> Thanks,
>>> Guang
>>>
>>>
>>> Date: Wed, 25 Sep 2013 10:29:14 +0200
>>> From: Wolfgang Hennerbichler <wolfgang.hennerbichler@xxxxxxxxxxxxxxxx>
>>> To: <ceph-users@xxxxxxxxxxxxxx>
>>> Subject: Re:  Ceph deployment issue in physical hosts
>>> Message-ID: <52429EDA.8070604@xxxxxxxxxxxxxxxx>
>>> Content-Type: text/plain; charset="ISO-8859-1"
>>>
>>>
>>>
>>>
>>> On 09/25/2013 10:03 AM, Guang wrote:
>>>
>>> Hi ceph-users,
>>>
>>> I deployed a cluster successfully in VMs, and today I tried to deploy a
>>> cluster in physical nodes. However, I came across a problem when I started
>>> creating a monitor.
>>>
>>>
>>> -bash-4.1$ ceph-deploy mon create xxxxx
>>>
>>> ....
>>>
>>> ssh: Could not resolve hostname web2: Name or service not known
>>>
>>> Does anyone come across the same issue? Looks like I mis-configured the
>>> network environment?
>>>
>>>
>>> The machine you run ceph-deploy on doesn't know "who" web2 is. If this
>>> command succeeds: "ping web2" then ceph deploy will at least be able to
>>> contact that host.
>>>
>>> hint: look at your /etc/hosts file.
>>>
>>> Thanks,
>>>
>>> Guang
>>>
>>>
>>> Wolfgang
>>>
>>> _______________________________________________
>>> 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





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


  Powered by Linux