Re: [ceph-users] change OSD IP it uses

2019-02-08 Thread Ashley Merrick
All fixed was partly with the above, and partly me just missing something. Thanks all for your help! ,Ash On Fri, Feb 8, 2019 at 10:46 PM Sage Weil wrote: > The IP that an OSD (or other non-monitor daemon) uses normally depends on > what IP is used by the local host to reach the monitor(s).

Re: [ceph-users] change OSD IP it uses

2019-02-08 Thread Sage Weil
The IP that an OSD (or other non-monitor daemon) uses normally depends on what IP is used by the local host to reach the monitor(s). If you want your OSDs to be on a different network, generally the way to do that is to move the monitors to that network too. You can also try the

Re: [ceph-users] change OSD IP it uses

2019-02-08 Thread Ashley Merrick
I just tried that, nothing showing in ceph osd ls or ceph osd tree. Run the purge command, wiped the disk. However after re-creating the OSD it's still trying to connect via the external IP, I've looked to see if there is an option to specify the osd ID in ceph-deploy to try and use another ID

Re: [ceph-users] change OSD IP it uses

2019-02-08 Thread Hector Martin
On 08/02/2019 20.54, Ashley Merrick wrote: > Yes that is all fine, the other 3 OSD's on the node work fine as expected, > > When I did the orginal OSD via ceph-deploy i used the external hostname > at the end of the command instead of the internal hostname, I then > deleted the OSD and zap'd the

Re: [ceph-users] change OSD IP it uses

2019-02-08 Thread Ashley Merrick
Yes that is all fine, the other 3 OSD's on the node work fine as expected, When I did the orginal OSD via ceph-deploy i used the external hostname at the end of the command instead of the internal hostname, I then deleted the OSD and zap'd the disk and re-added using the internal hostname + the

Re: [ceph-users] change OSD IP it uses

2019-02-08 Thread Hector Martin
On 08/02/2019 17.05, Ashley Merrick wrote: > 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

Re: [ceph-users] change OSD IP it uses

2019-02-08 Thread Ashley Merrick
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

Re: [ceph-users] change OSD IP it uses

2019-02-07 Thread Wido den Hollander
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

[ceph-users] change OSD IP it uses

2019-02-07 Thread Ashley Merrick
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