Add `ceph_argparse` module to the base environment.
Fixes: https://tracker.ceph.com/issues/48338
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
from datetime import datetime
import cherrypy
-from ceph_argparse import CephString # pylint: disable=import-error
+from ceph_argparse import CephString
from .. import mgr
from ..exceptions import DashboardException, PasswordPolicyException, \
passenv =
PYTHONPATH
setenv =
+ PYTHONPATH=$PYTHONPATH:../..
CFLAGS = -DXMLSEC_NO_SIZE_T
PYTHONUNBUFFERED=1
PYTHONDONTWRITEBYTECODE=1