Configure per-instance migration mode

Available since MOSK 25.1 TechPreview

MOSK enables cloud users to mark their instances for LCM to handle them individually during host maintenance operations, such as host reboots or data plane restarts. This can be useful if some instances in your environment are sensitive to live migration, allowing you, as a cloud user, to communicate your requirements effectively to the cloud operator and streamline cluster maintenance.

To mark the instances that require individual handling during host maintenance, assign the openstack.lcm.mirantis.com:maintenance_action=<ACTION-TAG> tag to them using the Nova API:

openstack --os-compute-api-version 2.26 server set <SERVER-ID> \
          --tag openstack.lcm.mirantis.com:maintenance_action=<ACTION-TAG>

Below is the table that describes the supported tag values.

Maintenance action tags for instance migration handling

Tag value

Description

poweroff

The instance can be gracefully powered off during a host reboot. This is equivalent to the skip mode in openstack.lcm.mirantis.com/instance_migration_mode for instance migration configuration for hosts.

live_migrate

The instance can be live-migrated during maintenance. This is equivalent to the live mode in openstack.lcm.mirantis.com/instance_migration_mode for instance migration configuration for hosts.

notify

The user must be explicitly notified about planned host maintenance. This is equivalent to the manual mode in openstack.lcm.mirantis.com/instance_migration_mode for instance migration configuration for hosts.