diff options
author | Matt Riedemann <mriedem.os@gmail.com> | 2018-09-12 17:35:22 -0400 |
---|---|---|
committer | Matt Riedemann <mriedem.os@gmail.com> | 2018-10-25 16:15:56 -0400 |
commit | 8327011f91fc8a0a2cbfe8a697d5ff958eb7c011 (patch) | |
tree | 295423398c723344f898a17bbe29d6bd04d3f512 /playbooks | |
parent | 8ec31bfd4259d78603477f57bf259ab3241219ab (diff) | |
download | nova-8327011f91fc8a0a2cbfe8a697d5ff958eb7c011.tar.gz |
Add post-test hook for testing evacuate
This adds a post-test bash script to test evacuate
in a multinode job.
This performs two tests:
1. A negative test where we inject a fault by stopping
libvirt prior to the evacuation and wait for the
server to go to ERROR status.
2. A positive where we restart libvirt, wait for the
compute service to be enabled and then evacuate
the server and wait for it to be ACTIVE.
For now we hack this into the nova-live-migration
job, but it should probably live in a different job
long-term.
Change-Id: I9b7c9ad6b0ab167ba4583681efbbce4b18941178
Diffstat (limited to 'playbooks')
-rw-r--r-- | playbooks/legacy/nova-live-migration/run.yaml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/playbooks/legacy/nova-live-migration/run.yaml b/playbooks/legacy/nova-live-migration/run.yaml index 16307d8e06..6e5d3a46d5 100644 --- a/playbooks/legacy/nova-live-migration/run.yaml +++ b/playbooks/legacy/nova-live-migration/run.yaml @@ -34,6 +34,7 @@ export DEVSTACK_GATE_TOPOLOGY="multinode" function post_test_hook { /opt/stack/new/nova/nova/tests/live_migration/hooks/run_tests.sh + $BASE/new/nova/gate/test_evacuate.sh } export -f post_test_hook cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh |