cloudstack/tools
Suresh Kumar Anaparti 3b108b968f
Support for Management Server Maintenance Mode (#9854)
* Support for Management Server Maintenance

- New APIs: prepareForMaintenance and cancelMaintenance, with required parameter - managementserverid.

- New management server states for maintenance: PreparingForMaintenance, Maintenance.

- listHosts API with optional parameter – managementserverid, to list the hosts connected to the management server.

- Support management server maintenance when more than one active management servers available.

- Triggers transfer agents to other available management servers for maintenance, new agent command MigrateAgentConnectionCommand to initiate transfer of indirect agents.

- New global config 'management.server.maintenance.timeout', to set the timeout (in mins) for the management server maintenance window, default: 60 mins.

- UI changes: Prepare and Cancel Maintenance in Management Server section, Connected Agents tab, New fields for hosts and management servers.

* Updated pending jobs check timer task with ScheduledExecutorService

* keep maintenance state on trigger shutdown call when ms is in maintenance

* add pending jobs count to ms response

* during ms heartbeat, update state to up only when it's down

* allow vm work jobs of async job created before prepare for maintenance

* Revert "keep maintenance state on trigger shutdown call when ms is in maintenance"

This reverts commit 607e13364679eac897f4d146bb3325ea7a61ba17.

* skip maintenance test when multiple management servers are not available, and not configured in host setting for kvm
2025-01-29 13:31:15 +05:30
..
apidoc Support for Management Server Maintenance Mode (#9854) 2025-01-29 13:31:15 +05:30
appliance feature: Dynamic and Static Routing (#9470) 2024-09-06 08:55:17 +05:30
bugs-wiki Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
build Merge branch '4.19' 2024-11-14 15:59:35 +01:00
checkstyle Updating pom.xml version numbers for release 4.21.0.0-SNAPSHOT 2024-11-27 11:47:06 -03:00
devcloud-kvm pre-commit check `.cfg` files with the trailing whitespace hook (#10151) 2025-01-03 09:39:16 +01:00
devcloud4 pre-commit check `.cfg` files with the trailing whitespace hook (#10151) 2025-01-03 09:39:16 +01:00
docker pre-commit: enable markdownlint rule `MD012` (#9364) 2024-12-27 10:25:11 +01:00
eclipse pre-commit: add hook to trim trailing whitespace (#8205) 2024-05-28 09:01:30 +02:00
git text in echo change in git-pr 2024-12-20 16:45:01 +01:00
jira jira-changes.py: generate content for CHANGES.md from jira filter 2014-11-30 21:16:59 -05:00
logo README: happy holidays! 2015-12-23 13:27:40 +05:30
marvin pre-commit check `.cfg` files with the trailing whitespace hook (#10151) 2025-01-03 09:39:16 +01:00
ngui pre-commit: remove trailing-whitespace from more file types (#10131) 2024-12-31 14:55:24 +05:30
transifex pre-commit: check more file types for trailing whitespace (#9352) 2024-07-10 09:22:02 +02:00
utils/database_comparision_during_upgrade pre-commit: add hook to trim trailing whitespace (#8205) 2024-05-28 09:01:30 +02:00
whisker pre-commit: add `XML` files to the `trailing-whitespace` check (#9131) 2024-07-12 09:42:54 +02:00
pom.xml Updating pom.xml version numbers for release 4.21.0.0-SNAPSHOT 2024-11-27 11:47:06 -03:00