ceph-mgr-dashboard: missing dependency on python3-yaml
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ceph (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
As reported on ceph-users:
Duncan Bellamy XXXXX via ceph.io
Hi,
I have installed ceph on Ubuntu Focal Fossa using the ubuntu repo, instead of ceph-deploy (as ceph-deploy install does not work for Focal Fossa yet) install I used:
sudo apt-get install -y ceph ceph-mds radosgw ceph-mgr-dashboard
The rest of the setup was the same as the quickstart on ceph.io <http://
It installed ceph version 15.2.1 (octopus).
If I do a 'ceph -s' I get the warning:
health: HEALTH_WARN
2 mgr modules have failed dependencies
If I run 'ceph mgr module ls', for enabled and active modules I get:
"always_
"balancer",
"crash",
"progress",
"status",
"volumes"
],
"enabled_
"iostat",
"restful”
Then when I run 'ceph mgr module enable dashboard’ I get the error:
Error ENOENT: module 'dashboard' reports that it cannot run on the active manager daemon: No module named 'yaml' (pass --force to force enablement)
I have tried searching, and searching with apt but cannot find any ‘yaml’ package that might be used by ceph.
Duncan
Related branches
- James Page: Approve
-
Diff: 26 lines (+7/-0)2 files modifieddebian/changelog (+6/-0)
debian/control (+1/-0)
After installing Ceph on a focal machine, I could not reproduce this issue as I already had python3-yaml installed on the machine. To rule out deployment tooling installing python3-yaml, I started to remove it and discovered that there are a lot of dependencies on python3-yaml:
# sudo apt remove python3-yaml advantage- tools ubuntu-minimal
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
libnetplan0
Use 'sudo apt autoremove' to remove it.
The following packages will be REMOVED:
cloud-init netplan.io python3-yaml ubuntu-
The ceph-mgr-dashaboard package is missing a dependency on python3-yaml so there is a fix proposed to the Ubuntu package (https:/ /code.launchpad .net/~chris. macnaughton/ ubuntu/ +source/ ceph/+git/ ceph/+merge/ 383332) and there is a package in https:/ /launchpad. net/~chris. macnaughton/ +archive/ ubuntu/ focal-ussuri off of the linked merge proposal.