Hi everyone!
I have a HA-Cluster with 2 nodes running on 23.1.11.
I am trying to upgrade but I see 2 issues causing me to hesitate:
I noticed time being out of sync on the backup node and network time>Status showing Unreach/Pending for all configured NTP servers.
While troubleshooting this I noticed that the network time service on the backup node uses the VIP of the WAN-interface to send its requests to the ntp servers instead of its own address on WAN. This struck me as stupid, since the replies will go to the master node.
No other service on the backup behaves like this to my knowledge. DNS and other outgoing connections like backup to gitlab/Nextcloud work fine.
If I SSH into the host and use ntpdate it will use its own IP and thus be able to sync time. When I stop the network time service and use ntpdate *ntp-server* I can successfully set the current time.
CARP is running on WAN and on several VLANs on LAN. Additionally there is an alias-IP on WAN used to SNAT some local subnets. I have state-sync and config-sync for network time (and more) configured. Config sync is disabled for static routes, but none are configured.
I can not tell exactly when this started, I just know with certainty that it has not been an issue up until I started upgrading the cluster step-by-step from 21.x onwards.
So far I have tried
Can someone tell me what I could look for? It feels like a bug to me but I see no reports of this behaviour from anyone else.
I have a HA-Cluster with 2 nodes running on 23.1.11.
I am trying to upgrade but I see 2 issues causing me to hesitate:
- NTP not syncing anymore on backup node
- Weird failover after config-sync (see: https://forum.opnsense.org/index.php?topic=34140.msg181801#msg181801
I noticed time being out of sync on the backup node and network time>Status showing Unreach/Pending for all configured NTP servers.
While troubleshooting this I noticed that the network time service on the backup node uses the VIP of the WAN-interface to send its requests to the ntp servers instead of its own address on WAN. This struck me as stupid, since the replies will go to the master node.
No other service on the backup behaves like this to my knowledge. DNS and other outgoing connections like backup to gitlab/Nextcloud work fine.
If I SSH into the host and use ntpdate it will use its own IP and thus be able to sync time. When I stop the network time service and use ntpdate *ntp-server* I can successfully set the current time.
CARP is running on WAN and on several VLANs on LAN. Additionally there is an alias-IP on WAN used to SNAT some local subnets. I have state-sync and config-sync for network time (and more) configured. Config sync is disabled for static routes, but none are configured.
I can not tell exactly when this started, I just know with certainty that it has not been an issue up until I started upgrading the cluster step-by-step from 21.x onwards.
So far I have tried
- restarting the network time service
- rebooting the node
- outbound SNAT rule to SNAT traffic to ntp-server to its own IP
- searching for similar issues
Can someone tell me what I could look for? It feels like a bug to me but I see no reports of this behaviour from anyone else.
"