Repository navigation
Commit ea52e77
Remove IP address dependency for management server communication
Allows the management.server.address config to be a list of hostnames instead of static IPs.
Rebalancing, cluster propagation, alerts, and stats collection all detect the format at runtime via ManagementServerAddressUtil and use the matching lookup (listNonUpStateMsHostnames vs listNonUpStateMsIPs) when computing the "avoid" list sent to agents.
Hostnames survive MS restarts and IP reassignments where static IPs do not, which is required in deployment environments where management server instances can be rescheduled or replaced.1 parent 85a63bf commit ea52e77
15 files changed
Lines changed: 810 additions & 88 deletions
File tree
- api/src/main/java/org/apache/cloudstack/management
- engine
- components-api/src/main/java/com/cloud/agent
- orchestration/src/main/java/com/cloud/agent/manager
- framework/cluster/src
- main/java/com/cloud/cluster
- dao
- test/java/com/cloud/cluster
- plugins/maintenance/src/main/java/org/apache/cloudstack/maintenance
- server/src/main/java
- com/cloud
- alert
- server
- org/apache/cloudstack/agent/lb
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
37 | 49 | | |
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
178 | 179 | | |
179 | 180 | | |
180 | 181 | | |
| 182 | + | |
| 183 | + | |
181 | 184 | | |
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| |||
1859 | 1860 | | |
1860 | 1861 | | |
1861 | 1862 | | |
| 1863 | + | |
| 1864 | + | |
| 1865 | + | |
| 1866 | + | |
| 1867 | + | |
| 1868 | + | |
1862 | 1869 | | |
1863 | 1870 | | |
1864 | 1871 | | |
1865 | | - | |
| 1872 | + | |
1866 | 1873 | | |
1867 | 1874 | | |
1868 | 1875 | | |
| |||
2381 | 2388 | | |
2382 | 2389 | | |
2383 | 2390 | | |
2384 | | - | |
2385 | | - | |
2386 | | - | |
2387 | | - | |
2388 | 2391 | | |
2389 | 2392 | | |
2390 | 2393 | | |
| |||
Lines changed: 41 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
541 | 542 | | |
542 | 543 | | |
543 | 544 | | |
544 | | - | |
545 | | - | |
546 | | - | |
547 | | - | |
548 | | - | |
549 | | - | |
550 | | - | |
551 | | - | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
552 | 548 | | |
553 | 549 | | |
554 | 550 | | |
| |||
557 | 553 | | |
558 | 554 | | |
559 | 555 | | |
560 | | - | |
| 556 | + | |
561 | 557 | | |
562 | 558 | | |
563 | 559 | | |
564 | 560 | | |
565 | 561 | | |
566 | | - | |
| 562 | + | |
567 | 563 | | |
568 | | - | |
| 564 | + | |
569 | 565 | | |
570 | 566 | | |
571 | 567 | | |
572 | 568 | | |
573 | | - | |
| 569 | + | |
574 | 570 | | |
575 | 571 | | |
576 | 572 | | |
| |||
582 | 578 | | |
583 | 579 | | |
584 | 580 | | |
585 | | - | |
| 581 | + | |
586 | 582 | | |
587 | 583 | | |
588 | 584 | | |
| |||
592 | 588 | | |
593 | 589 | | |
594 | 590 | | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
595 | 623 | | |
596 | 624 | | |
597 | 625 | | |
| |||
0 commit comments