Module - import_workload_transfer_volumes

This module provides for the following ansible plugin:

  • import_workload_transfer_volumes

Module Documentation

Connect to the destination cloud to create new volumes, and copy data from the source cloud.

Options

auth

Dictionary with parameters for chosen auth type on the destination cloud.

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

Ignored. Present for backwards compatibility.

validate_certs

Validate HTTPS certificates when logging in to OpenStack.

conversion_host

Dictionary with information about the destination 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.

src_conversion_host_address

Require IP address of the source conversion host.

This is used by the destination conversion host to initiate data transfer.

ssh_key_path

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

ssh_user

The SSH user to connect to the conversion hosts.

Provided by the import_workloads_export_volumes module.

state_file

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

dst_conversion_host_address

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

transfer_uuid

A UUID used to keep track of this tranfer's resources on the conversion hosts.

Provided by the import_workloads_export_volumes module.

volume_map

Dictionary providing information about the volumes to transfer.

Provided by the import_workloads_export_volumes module.

timeout

Timeout for long running operations, in seconds.

Authors

OpenStack tenant migration tools (@os-migrate)

Example Tasks

- main.yml
- workload.yml