[Bug 2092597] [NEW] Missing dependency for cephadm
Bryan Stillwell
2092597 at bugs.launchpad.net
Fri Dec 27 18:22:02 UTC 2024
Public bug reported:
The noble-updates cephadm package for squid (19.2.0) is missing a
dependency on the python3-jinja2 package:
root at ballys:~# dpkg -l cephadm | grep ii
ii cephadm 19.2.0-0ubuntu0.24.04.1 arm64 cephadm utility to bootstrap ceph daemons with systemd and containers
root at ballys:~# cephadm
Traceback (most recent call last):
File "/usr/sbin/cephadm", line 131, in <module>
from cephadmlib.logging import (
File "/usr/lib/python3/dist-packages/cephadmlib/logging.py", line 17, in <module>
from cephadmlib import templating
File "/usr/lib/python3/dist-packages/cephadmlib/templating.py", line 11, in <module>
import jinja2
ModuleNotFoundError: No module named 'jinja2'
After installing the python3-jinja2 package, the error goes away:
root at ballys:~# cephadm
No command specified; pass -h or --help for usage
** Affects: ceph (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ceph in Ubuntu.
https://bugs.launchpad.net/bugs/2092597
Title:
Missing dependency for cephadm
Status in ceph package in Ubuntu:
New
Bug description:
The noble-updates cephadm package for squid (19.2.0) is missing a
dependency on the python3-jinja2 package:
root at ballys:~# dpkg -l cephadm | grep ii
ii cephadm 19.2.0-0ubuntu0.24.04.1 arm64 cephadm utility to bootstrap ceph daemons with systemd and containers
root at ballys:~# cephadm
Traceback (most recent call last):
File "/usr/sbin/cephadm", line 131, in <module>
from cephadmlib.logging import (
File "/usr/lib/python3/dist-packages/cephadmlib/logging.py", line 17, in <module>
from cephadmlib import templating
File "/usr/lib/python3/dist-packages/cephadmlib/templating.py", line 11, in <module>
import jinja2
ModuleNotFoundError: No module named 'jinja2'
After installing the python3-jinja2 package, the error goes away:
root at ballys:~# cephadm
No command specified; pass -h or --help for usage
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/2092597/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list