]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard_v2: fix tox.ini to handle the vstart changes
authorRicardo Dias <rdias@suse.com>
Tue, 13 Feb 2018 14:11:27 +0000 (14:11 +0000)
committerRicardo Dias <rdias@suse.com>
Mon, 5 Mar 2018 13:07:14 +0000 (13:07 +0000)
vstart.sh script now enables and configures dashboard_v2 module, so
tox.ini script needs to handle that.

Signed-off-by: Ricardo Dias <rdias@suse.com>
src/pybind/mgr/dashboard_v2/tox.ini

index 1039e3089de1222c448138094fc164d550268500..f30930de049a765d7c848dc792c244386b185b07 100644 (file)
@@ -36,6 +36,8 @@ setenv=
 commands =
     bash ../src/vstart.sh -n
     sleep 10
+    python ./bin/ceph mgr module disable dashboard_v2
+    sleep 5
     python ./bin/ceph config-key set mgr/dashboard_v2/x/server_port 9865
     python ./bin/ceph mgr module enable dashboard_v2
     cp ceph.conf {toxinidir}/