Merge "Add migration SSH tunneling support"

This commit is contained in:
Jenkins 2017-04-19 01:39:27 +00:00 committed by Gerrit Code Review
commit cac8a68460
3 changed files with 22 additions and 1 deletions

View File

@ -79,6 +79,13 @@ parameters:
type: string
description: Nova Compute upgrade level
default: auto
MigrationSshKey:
type: json
description: >
SSH key for migration.
Expects a dictionary with keys 'public_key' and 'private_key'.
Values should be identical to SSH public/private key files.
default: {}
resources:
NovaBase:
@ -111,6 +118,7 @@ outputs:
# we manage migration in nova common puppet profile
nova::compute::libvirt::migration_support: false
tripleo::profile::base::nova::manage_migration: true
tripleo::profile::base::nova::migration_ssh_key: {get_param: MigrationSshKey}
tripleo::profile::base::nova::nova_compute_enabled: true
nova::compute::rbd::libvirt_images_rbd_pool: {get_param: NovaRbdPoolName}
nova::compute::rbd::libvirt_rbd_user: {get_param: CephClientUserName}

View File

@ -66,7 +66,6 @@ outputs:
tripleo.nova_libvirt.firewall_rules:
'200 nova_libvirt':
dport:
- 16509
- 16514
- '49152-49215'
- '5900-5999'

View File

@ -0,0 +1,14 @@
---
features:
- |
Add support for cold migration over ssh.
This enables nova cold migration.
This also switches to SSH as the default transport for live-migration.
The tripleo-common mistral action that generates passwords supplies the
MigrationSshKey parameter that enables this.
deprecations:
- |
The TCP transport is no longer used for live-migration and the firewall
port has been closed.