Uh oh!
There was an error while loading. Please reload this page.
Improvement: management server peer states - #9885
Conversation
Uh oh!
There was an error while loading. Please reload this page.
weizhouapache
commented
Nov 4, 2024
@blueorangutan package |
blueorangutan
commented
Nov 4, 2024
@weizhouapache a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
ca8a951 to
861da3bCompareweizhouapache
commented
Nov 4, 2024
@blueorangutan package |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@## 4.20 #9885 +/- ##
============================================
+ Coverage 15.80% 15.98% +0.17% - Complexity 12586 12772 +186
============================================
Files 5627 5631 +4 Lines 492294 499767 +7473 Branches 62198 63247 +1049 ============================================
+ Hits 77824 79869 +2045 - Misses 405946 411052 +5106 - Partials 8524 8846 +322
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
blueorangutan
commented
Nov 4, 2024
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 11492 |
weizhouapache
commented
Nov 4, 2024
@blueorangutan package |
blueorangutan
commented
Nov 4, 2024
@weizhouapache a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
blueorangutan
commented
Nov 4, 2024
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 11495 |
weizhouapache
commented
Nov 4, 2024
@blueorangutan test |
blueorangutan
commented
Nov 4, 2024
@weizhouapache a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
blueorangutan
commented
Nov 5, 2024
[SF] Trillian test result (tid-11740)
|
weizhouapache
commented
Nov 5, 2024
@blueorangutan package |
blueorangutan
commented
Nov 5, 2024
@weizhouapache a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
blueorangutan
commented
Nov 5, 2024
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 11507 |
weizhouapache
commented
Nov 5, 2024
@blueorangutan test |
blueorangutan
commented
Nov 5, 2024
@weizhouapache a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
blueorangutan
commented
Nov 6, 2024
[SF] Trillian test result (tid-11747)
|
blueorangutan
commented
Nov 27, 2024
@weizhouapache a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
blueorangutan
commented
Nov 27, 2024
Packaging result [SF]: ✖️ el8 ✖️ el9 ✔️ debian ✖️ suse15. SL-JID 11619 |
weizhouapache
commented
Nov 28, 2024
@blueorangutan package |
blueorangutan
commented
Nov 28, 2024
@weizhouapache a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
blueorangutan
commented
Nov 28, 2024
Packaging result [SF]: ✖️ el8 ✖️ el9 ✖️ debian ✖️ suse15. SL-JID 11627 |
blueorangutan
commented
Nov 28, 2024
Packaging result [SF]: ✖️ el8 ✖️ el9 ✖️ debian ✖️ suse15. SL-JID 11628 |
blueorangutan
commented
Nov 28, 2024
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 11637 |
weizhouapache
commented
Nov 28, 2024
@blueorangutan test |
blueorangutan
commented
Nov 28, 2024
@weizhouapache a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
blueorangutan
commented
Nov 28, 2024
[SF] Trillian Build Failed (tid-11812) |
yadvr
commented
Nov 29, 2024
@blueorangutan package |
blueorangutan
commented
Nov 29, 2024
@rohityadavcloud a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
weizhouapache
commented
Nov 29, 2024
@blueorangutan package |
blueorangutan
commented
Nov 29, 2024
@weizhouapache a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
blueorangutan
commented
Nov 29, 2024
Packaging result [SF]: ✖️ el8 ✖️ el9 ✖️ debian ✖️ suse15. SL-JID 11646 |
blueorangutan
commented
Nov 29, 2024
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 11649 |
weizhouapache
commented
Nov 29, 2024
@blueorangutan test |
blueorangutan
commented
Nov 29, 2024
@weizhouapache a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
blueorangutan
commented
Nov 30, 2024
[SF] Trillian test result (tid-11819)
|
* Improvement: management server peer states * Update pr9885: consider new mgmt server node which has msId=managementServerNodeId * Update pr9885: update global config description * Update pr9885: update label on UI * framework: Do not update mshost_peer when mgmt server is Up as it will be updated by status update * mgmt: Update state to Up when mgmt server writes heartbeat to db * mgmt: change Service IP to Management IP --------- Co-authored-by: Boris Stoyanov - a.k.a Bobby <bss.stoyanov@gmail.com>
Description
This PR improves the peers management servers and provides better peer states based on the mgmt server statistics sync.
Old diagram:

new diagram:

Test results:
mshost_peer.peer_state is Down after 3mins
mshost_peer.peer_state is Up during the period.
There are some leftover peers with old peer_runid.
mshost_peer.peer_state is Up during the period.
records with old peer_runid is removed.
mshost_peer.peer_state is Down after 3 mins.
When link is recovered, exit with code 219
otherwise it should be same as "cannot communicate with other nodes"
New tab "Peers" for each management server on UI.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?