You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FR77: Improve Management Server Maintenance (apache#480)
* Safely shutdown feature (ref: apache#6755)
* Updated version and some improvements
* Management Server Maintenance - Prepare and Cancel Maintenance changes
This is supported for the Cloudstack deployments with multiple management servers.
- During preparing for maintenance, MS waits for pending jobs to finish, and then Transfer/Migrate the agents to other available MS
- New APIs: prepareForMaintenance, cancelMaintenance
- New MS States: PreparingToMaintenance, Maintenance
* check for single active management server
* refactoring plugin name
* updated version, and cleanup
* code improvements
* support list hosts by management server id
* update ui with ms maintenance apis
* code improvements
* ui changes
* ui icons update
* ui fixes
* cond checks for maintenance and shutdown
* fix for management server not down issue on service stop
* continue with other components on error
* agent transfer fixes
* maintenance window timeout and fixes
* ui changes - added connected agents tab, and updated hosts & management servers fields
* marvin test update
* keep maintenance after shutdown/restart, do not update last_updated time in cluster heartbeat during maintenance (notifies node inactive/down after heartbeat threshold)
* listener for ms maintenance updates
* cleanup
* keep last msid in host table
* review comments
* allow only one mgmt server to prepare for maintenance
* added ms uuid in logs
* minor code improvements
* ui fields update
* fix systemvm navigation in connected agents
* algorithm check and input from ui
* check for active ms from host setting
* agent migration code improvements
* minor ui label fix
* fixes & code improvements
* agent reconnect fixes, consider avoid list
* ui fixes
* direct agents transfer and pending jobs timer task fixes
* close unclosed socket channels if any
* Updated pending jobs check timer task with ScheduledExecutorService
* fixes
* keep maintenance state on trigger shutdown call when ms is in maintenance
* direct agent transfer fixes
* 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 4ebbea71ef20a65286bed41a517f03e253a8fe90.
* removed duplicate schema changes from schema-41800to41810.sql (already defined at schema-41811to41812.sql)
@@ -107,6 +108,9 @@ public class ListHostsCmd extends BaseListCmd {
107
108
@Parameter(name = ApiConstants.HYPERVISOR, type = CommandType.STRING, description = "hypervisor type of host: XenServer,KVM,VMware,Hyperv,BareMetal,Simulator")
108
109
privateStringhypervisor;
109
110
111
+
@Parameter(name = ApiConstants.MANAGEMENT_SERVER_ID, type = CommandType.UUID, entityType = ManagementServerResponse.class, description = "the id of the management server", since="4.18.1")
0 commit comments