Re: change OSD IP it uses

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

 



I just tried that, it already had a restart done as I fully deleted the old OSD and re-created using the correct hostname after zapping the disk and restarting the server itself.

Just somewhere it still seems to have stored the external IP's of the other hosts for just this OSD, after restarting it's still full of log lines like :  no reply from externalip:6801 osd.21, which is a OSD on another node and trying to connect via the external IP of that node.

The 3 other OSD's i created on the same node after the first issue one all are fine and communicating via the internal network correctly, so I know its not a node wide config issue.

Hope that makes sense!

,Ashley

On Fri, Feb 8, 2019 at 3:58 PM Wido den Hollander <wido@xxxxxxxx> wrote:


On 2/8/19 8:38 AM, Ashley Merrick wrote:
> So I was adding a new host using ceph-deploy, for the first OSD I
> accidentally run it against the hostname of the external IP and not the
> internal network.
>
> I stopped / deleted the OSD from the new host and then re-created the
> OSD using the internal hostname along with the rest of the OSD's.
>
> They are all running fine however the one that has the same ID as the
> original OSD I created is trying to communicate with the other OSD's
> over the external interface, the OSD is working it seem's however unable
> to control it via any ceph commands.
>
> "heartbeat_check: no reply from external IP of another host:6801 osd.21
> ever on either front or back, first ping sent "
>
> Is it possible to update somewhere for this OSD to use the internet
> network, or is there something else compared to the normal ceph osd
> removal process I should do before re-adding it.
>

When you stop/start an OSD it will re-register itself with the cluster
and update it's IP.

No need to remove it. Just a stop/start should be sufficient.

Wido

> Thanks
>
> _______________________________________________
> 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