]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Fix PYTHONPATH for test runner 25359/head
authorZack Cerza <zack@redhat.com>
Fri, 30 Nov 2018 22:41:07 +0000 (22:41 +0000)
committerZack Cerza <zack@redhat.com>
Fri, 30 Nov 2018 22:41:07 +0000 (22:41 +0000)
commitae6220b473adb55735bccc95942c6f8fb30d0f6a
tree5bb8302c6c56469041ec0319790b380dfacb484d
parent8a50070ea667e53e45a8c6145927aedd6601bbc5
mgr/dashboard: Fix PYTHONPATH for test runner

A new mgr module ('volumes') pulls in src/pybind/ceph_volume_client.py; the
wrapper script that we use to run backend API tests needs to include that in
PYTHONPATH, or else the cluster will be stuck in HEALTH_WARN with the message:
"Module 'volumes' has failed dependency: No module named ceph_volume_client".

Signed-off-by: Zack Cerza <zack@redhat.com>
src/pybind/mgr/dashboard/run-backend-api-tests.sh