osc compute server live-migrate20

Live-Migrate Server (os-migrateLive Action) (microversion = 2.0)

Usage: osc compute server live-migrate20 --block-migration <BLOCK_MIGRATION> --disk-over-commit <DISK_OVER_COMMIT> --host <HOST> <ID>

Arguments:

  • <ID> — id parameter for /v2.1/servers/{id}/action API

Options:

  • --block-migration <BLOCK_MIGRATION> — Set to True to enable over commit when the destination host is checked for available disk space. Set to False to disable over commit. This setting affects only the libvirt virt driver.

    Available until version 2.25

    Possible values: true, false

  • --disk-over-commit <DISK_OVER_COMMIT> — Set to True to enable over commit when the destination host is checked for available disk space. Set to False to disable over commit. This setting affects only the libvirt virt driver.

    Available until version 2.25

    Possible values: true, false

  • --host <HOST> — The host to which to migrate the server. If this parameter is None, the scheduler chooses a host.

    Warning

    Prior to microversion 2.30, specifying a host will bypass validation by the scheduler, which could result in failures to actually migrate the instance to the specified host, or over-subscription of the host. It is recommended to either not specify a host so that the scheduler will pick one, or specify a host with microversion >= 2.30 and without force=True set.