[OpenNMS/opennms] 5c9b62: NMS-20109: Read partner identity once per monitor ...
Chandra Gorantla via opennms-cvs <[email protected]>
| Newsgroups | gmane.network.opennms.cvs |
|---|---|
| Message-ID | <OpenNMS/opennms/push/refs/heads/features/ha-management/[email protected]> |
Branch: refs/heads/features/ha-management
Home: https://github.com/OpenNMS/opennms
Commit: 5c9b622b132be40de5cbb43b672346cff35f34e4
https://github.com/OpenNMS/opennms/commit/5c9b622b132be40de5cbb43b672346cff35f34e4
Author: Chandra Gorantla <[email protected]>
Date: 2026-08-04 (Tue, 04 Aug 2026)
Changed paths:
M features/ha-management/ha-daemon/src/main/java/org/opennms/netmgt/ha/HaStartupCoordinator.java
M features/ha-management/ha-rest/src/main/java/org/opennms/netmgt/ha/rest/impl/HaRestServiceImpl.java
M features/ha-management/ha-shell/src/main/java/org/opennms/netmgt/ha/shell/HaFailoverCommand.java
Log Message:
-----------
NMS-20109: Read partner identity once per monitor cycle
- Snapshot partner-instance-id in each monitor path so a cycle reasons about
one partner throughout; a change during the anti-flap wait now restarts the
verification instead of concluding about a different node.
- Reset the missing-row timer when partner-instance-id changes, so a new
partner gets the full threshold before its absence counts toward promotion.
- Invoke the Manager MBean on the platform server instead of the first entry
of MBeanServerFactory.findMBeanServer(null), whose ordering is unspecified;
a miss would turn a planned failover into an immediate halt.
- Do not serve sync files through symlinks, which could otherwise alias an
excluded file; manifests never advertise them.
- Cancel the superseded monitor and sync tasks before releasing the startup
gate on promotion.
Commit: 0ca3517a4fb138730ee055d3834e73425685da9f
https://github.com/OpenNMS/opennms/commit/0ca3517a4fb138730ee055d3834e73425685da9f
Author: Chandra Gorantla <[email protected]>
Date: 2026-08-04 (Tue, 04 Aug 2026)
Changed paths:
M docs/modules/operation/pages/deep-dive/admin/high-availability.adoc
M features/ha-management/ha-api/src/main/java/org/opennms/netmgt/ha/HaConfiguration.java
M features/ha-management/ha-rest/src/main/java/org/opennms/netmgt/ha/rest/dto/HaInstanceStatusDto.java
M features/ha-management/ha-rest/src/main/java/org/opennms/netmgt/ha/rest/impl/HaRestServiceImpl.java
M features/ha-management/ha-shell/src/main/java/org/opennms/netmgt/ha/shell/HaStatusCommand.java
Log Message:
-----------
NMS-20109: Report heartbeat staleness separately from role and state
- Rename the derived status flag from "degraded" to heartbeat-stale (STALE in
the shell table) and compute it from heartbeat age alone. It also flagged a
SECONDARY holding ACTIVE and the DEGRADED state, so both rows read
DEGRADED=YES after a healthy failover, which reads as total failure.
- Align the class defaults with the shipped template — failover threshold 60s,
sync interval 60s — and name the enforced minimums in the javadoc.
Commit: 64485d528c579d3082bf8d3a3fa65fa321382471
https://github.com/OpenNMS/opennms/commit/64485d528c579d3082bf8d3a3fa65fa321382471
Author: Chandra Gorantla <[email protected]>
Date: 2026-08-04 (Tue, 04 Aug 2026)
Changed paths:
M docs/modules/operation/pages/deep-dive/admin/high-availability.adoc
M features/ha-management/ha-api/src/main/java/org/opennms/netmgt/ha/HaConfiguration.java
M features/ha-management/ha-daemon/src/main/java/org/opennms/netmgt/ha/HaConfigSyncer.java
M features/ha-management/ha-daemon/src/main/java/org/opennms/netmgt/ha/HaHeartbeatWriter.java
M features/ha-management/ha-daemon/src/main/java/org/opennms/netmgt/ha/HaStartupCoordinator.java
M features/ha-management/ha-daemon/src/main/java/org/opennms/netmgt/ha/HaSyncFiles.java
M features/ha-management/ha-daemon/src/test/java/org/opennms/netmgt/ha/HaConfigSyncerTest.java
M features/ha-management/ha-daemon/src/test/java/org/opennms/netmgt/ha/HaStartupCoordinatorTest.java
M opennms-base-assembly/src/main/filtered-meridian/etc/ha-configuration.xml
M opennms-webapp/src/main/webapp/WEB-INF/applicationContext-spring-security.xml
Log Message:
-----------
NMS-20109: Handle some more edge case and docs
- Manifest self-identification (#ha-manifest 1) refusing unmarked responses before any fetch or delete
- partner-rest-url restart-only, with tests on both the REST and reload paths
- Template defaults to https, plus a WARN when sync runs over http
- Loud ERROR when a node's own status row has vanished
- ROLE_REST dropped from the template, javadoc, and docs; this comment condensed
- Docs: STANDBY vs DEGRADED distinction, automatic return as DEGRADED with a restart policy, and systemctl stop for maintenance
Compare: https://github.com/OpenNMS/opennms/compare/73a91847b808...64485d528c57
To unsubscribe from these emails, change your notification settings at https://github.com/OpenNMS/opennms/settings/notifications
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/wiki/index.php?page=MailingListFaq
opennms-cvs mailing list
To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-cvs