Skip to content

KVM: run the rolling maintenance hooks on plain host maintenance, plus a stage once the host is empty #14776

Open

Description

@bhouse-nexthop

The required feature described as a wish

KVM rolling maintenance (#3610) runs per-host hook scripts from rolling.maintenance.hooks.dir (PreFlight, PreMaintenance, Maintenance, PostMaintenance), but only through startRollingMaintenance. A plain prepareHostForMaintenance / cancelHostMaintenance runs no hooks.

Wanted:

Want Why
Opt-in setting to run the same hooks on plain host maintenance storage or service steps on the host (e.g. a hyperconverged Ceph OSD host: noout, stop/start OSDs) shouldn't be a separate manual step
A stage that runs once the host is empty (after VMs are moved off) so VMs migrate while the host's services are still healthy, and the host-side work happens only afterwards
PostMaintenance before the host is enabled again on cancel so VMs aren't placed on the host while it is still coming back

The same scripts would then serve both plain maintenance and rolling maintenance.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions