bhouse-nexthop commented on PR #14895: URL: https://github.com/apache/cloudstack/pull/14895#issuecomment-7249278477
Tested on a KVM lab with 4.22 plus this change. Setup: `host.maintenance.local.storage.strategy=ForceStop`, `vm.ha.alerts.enabled=true`. On one host, a VM with a local root disk and a control VM on RBD, then prepare that host for maintenance. | | Without the change | With the change | |---|---|---| | Host reaches Maintenance | yes | yes | | Local-disk VM | Stopped | Stopped | | `VM.STOP` events for it | 0 | 1, WARN, "was stopped by host maintenance" | | Alerts | 0 | 1, `ALERT.USERVM` | | RBD control VM | migrated, no event, no alert | migrated, no event, no alert | Not covered in the lab, unit tests only: the force stop after a failed migration, and the last-host ForceStop with no reason set. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
