Merge "Test live migration with config drive"
This commit is contained in:
@@ -118,6 +118,7 @@
|
||||
Run tempest live migration tests against both local storage and shared
|
||||
storage using ceph (the environment is reconfigured for ceph after the
|
||||
local storage tests are run). Also runs simple evacuate tests.
|
||||
Config drive is forced on all instances.
|
||||
run: playbooks/legacy/nova-live-migration/run.yaml
|
||||
post-run: playbooks/legacy/nova-live-migration/post.yaml
|
||||
|
||||
|
||||
@@ -23,6 +23,21 @@
|
||||
chdir: '{{ ansible_user_dir }}/workspace'
|
||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
||||
|
||||
- name: Configure devstack
|
||||
shell:
|
||||
# Force config drive.
|
||||
cmd: |
|
||||
set -e
|
||||
set -x
|
||||
cat << 'EOF' >>"/tmp/dg-local.conf"
|
||||
[[local|localrc]]
|
||||
FORCE_CONFIG_DRIVE=True
|
||||
|
||||
EOF
|
||||
executable: /bin/bash
|
||||
chdir: '{{ ansible_user_dir }}/workspace'
|
||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
||||
|
||||
- shell:
|
||||
cmd: |
|
||||
set -e
|
||||
|
||||
Reference in New Issue
Block a user