Configure a Live Migration Completion Timeout in NovaΒΆ

You can configure how long to allow for a compute live migration to complete before the operation is aborted.

About this task

The following example applies a timeout of 300 seconds to all hosts.

The same basic workflow of creating an overrides file, then using it to update helm overrides for the application, and finally reapplying the application to make your changes effective can be used to apply other Nova overrides globally.

Procedure

  1. Create a yaml configuration file containing the configuration update.

    ~(keystone_admin)]$ cat << EOF > ./nova_override.yaml
    conf:
      nova:
        libvirt:
          live_migration_completion_timeout: 300
    EOF
    
  2. Update the Helm overrides using the new configuration file.

    ~(keystone_admin)]$ system helm-override-update --values ./nova_override.yaml stx-openstack nova openstack --reuse-values
  3. Confirm that the user_override lists the correct live migration completion timeout.

    ~(keystone_admin)$ system helm-override-show stx-openstack nova openstack

    The output should include the following:

    live_migration_completion_timeout: 300
    
  4. Apply the changes.

    ~(keystone_admin)]$ system application-apply stx-openstack