Module - import_workload_export_volumes

This module provides for the following ansible plugin:

  • import_workload_export_volumes

Module Documentation

Take an instance from an OS-Migrate YAML structure, and export its volumes over NBD.

Options

auth

Required if 'cloud' param not used.

auth_type

Auth type plugin for destination OpenStack cloud. Can be omitted if using password authentication.

region_name

Destination OpenStack region name. Can be omitted if using default region.

availability_zone

Availability zone.

cloud

Cloud resource from clouds.yml

Required if 'auth' param not used

validate_certs

Validate HTTPS certificates when logging in to OpenStack.

boot_volume_prefix

Name prefix to apply when server boot volume copies are created.

conversion_host

Dictionary with information about the source conversion host (address, status, name, id)

data

Data structure with server parameters as loaded from OS-Migrate workloads YAML file.

log_file

Path to store a log file for this conversion process.

state_file

Path to store a transfer progress file for this conversion process.

src_conversion_host_address

Optional IP address of the source conversion host. Without this, the plugin will use the 'access_ipv4' property of the conversion host instance.

ssh_key_path

Path to an SSH private key authorized on the source cloud.

ssh_user

The SSH user to connect to the conversion hosts.

timeout

Timeout for long running operations, in seconds.

Authors

OpenStack tenant migration tools (@os-migrate)

Example Tasks

- main.yml
- workload.yml