osc compute server live-migrate225

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

Usage: osc compute server live-migrate225 --block-migration <BLOCK_MIGRATION> --host <HOST> <ID>

Arguments:

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

Options:

  • --block-migration <BLOCK_MIGRATION> — Migrates local disks by using block migration. Set to auto which means nova will detect whether source and destination hosts on shared storage. if they are on shared storage, the live-migration won’t be block migration. Otherwise the block migration will be executed. Set to True, means the request will fail when the source or destination host uses shared storage. Set to False means the request will fail when the source and destination hosts are not on the shared storage.

    New in 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.