From 2c5960c183573319cb21ee68f11c9478da1303a0 Mon Sep 17 00:00:00 2001 From: Eric Juma Date: Tue, 30 May 2017 17:45:13 -0400 Subject: [PATCH] Restart Nova and Cinder in gate Restart Nova and Cinder after endpoints are set to the ones of the proxy to ensure that the new endpoints are used by these services. Change-Id: I4097cee1707e58415def310535c1786e3a03e51e --- mixmatch/tests/functional/hooks/dsvm_hook.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mixmatch/tests/functional/hooks/dsvm_hook.sh b/mixmatch/tests/functional/hooks/dsvm_hook.sh index 613a0cc..8d0a2fd 100755 --- a/mixmatch/tests/functional/hooks/dsvm_hook.sh +++ b/mixmatch/tests/functional/hooks/dsvm_hook.sh @@ -60,6 +60,10 @@ source openrc admin admin register_mixmatch +# Restart Nova and Cinder so they use the proxy endpoints +sudo systemctl restart devstack@n-* +sudo systemctl restart devstack@c-* + # Run tempest API and scenario tests cd $BASE/new/tempest