Actions
Tasks #50490
openFeature #50320: mgr/dashboard: Lean Dashboard
mgr/dashboard: native dependencies
Status:
New
Priority:
Normal
Assignee:
Category:
Build, CI, Dependencies & Tools
Target version:
% Done:
0%
Tags:
Reviewed:
Affected Versions:
Pull request ID:
Description
Replace per distro-packaged dependencies with a common reproducible environment (pip/virtualenv/alternatives for Python).
Additionally this could be done by:- Embedding Python code in the repo (via git submodules or subtrees),
- Installing at build time via pip (this is the way that Dashboard works for Front-end packages)
This would also require modifying the method PyModule::load in the file src/mgr/PyModule.cc to look for packages into the local directory (via sys.path): <mgr_module_path>/site-packages/ (or similar). The default mgr sys path is:
mgr = $WORKSPACE/ceph-api/src/pybind/mgr /usr/lib/python3.8/site-packages /usr/local/lib/python3.8/dist-packages /usr/lib/python3/dist-packages /usr/lib/python3.8/dist-packages $(vstart_pythonpath) /usr/lib/python38.zip /usr/lib/python3.8 /usr/lib/python3.8/lib-dynload
Updated by Ernesto Puerta over 1 year ago
- Related to Cleanup #41552: mgr/dashboard: remove color literals from typescript code added
Updated by Alfonso MartÃnez over 1 year ago
- Assignee changed from Alfonso MartÃnez to Nizamudeen A
Actions