Introduction

This feature allows CloudStack administrators to automate the upgrade or patching process on KVM hosts with little manual intervention. Leveraging the use of scripts defined by the administrator, this feature allows the administrator to select multiple zones, pods, clusters or hosts ensuring that hosts will perform the script's execution when hosts are in maintenance. After the tasks defined in the maintenance script are executed, the hosts are back to the previous state to continue being operational.

References

Pull Request

Targeted for ACS master (WIP):
https://github.com/apache/cloudstack/pull/3610

Document History

AuthorDescriptionDate
nvazquezInitial draft19 November 2019



Feature requirements, Architecture and Design description

Target users

API Changes

New API: startRollingMaintenance. Parameters:

DB Changes

N/A

Hypervisors supported

This feature is supported only for KVM.

UI Flow

The Zones, Pods, Clusters, Hosts pages are extended. The table displaying each entity allows multiple selection. Once multiple entities are selected in those pages, a new button is displayed, allowing to start the rolling maintenance process for the hosts in 'Up' state within the selected scope:

The 'Start Rolling Maintenance' button displays a new dialog, in which the administrator can set the parameters described above in the API changes section:

The 'Start Rolling Maintenance' button is also displayed within the detailed view of a zone, pod, cluster and host.

Open Items/Questions