[Bug 1832105] Re: ceph-mgr dashboard incompatible with cython >= 0.29 (disco)
James Page
james.page at ubuntu.com
Wed Jul 17 09:54:00 UTC 2019
ubuntu at juju-05ad98-disco-proposed-3:~$ sudo ceph -s
cluster:
id: 57558fde-a86a-11e9-acd6-fa163e0779e9
health: HEALTH_OK
services:
mon: 3 daemons, quorum juju-05ad98-disco-proposed-5,juju-05ad98-disco-proposed-3,juju-05ad98-disco-proposed-4
mgr: juju-05ad98-disco-proposed-3(active), standbys: juju-05ad98-disco-proposed-4, juju-05ad98-disco-proposed-5
osd: 3 osds: 3 up, 3 in
data:
pools: 3 pools, 44 pgs
objects: 1 objects, 14 B
usage: 3.0 GiB used, 27 GiB / 30 GiB avail
pgs: 44 active+clean
ubuntu at juju-05ad98-disco-proposed-3:~$ apt-cache policy ceph-mon
ceph-mon:
Installed: 13.2.6-0ubuntu0.19.04.2
Candidate: 13.2.6-0ubuntu0.19.04.2
Version table:
*** 13.2.6-0ubuntu0.19.04.2 500
500 http://archive.ubuntu.com/ubuntu disco-proposed/main amd64 Packages
100 /var/lib/dpkg/status
13.2.6-0ubuntu0.19.04.1 500
500 http://nova.clouds.archive.ubuntu.com/ubuntu disco-updates/main amd64 Packages
13.2.4+dfsg1-0ubuntu2.1 500
500 http://security.ubuntu.com/ubuntu disco-security/main amd64 Packages
13.2.4+dfsg1-0ubuntu2 500
500 http://nova.clouds.archive.ubuntu.com/ubuntu disco/main amd64 Packages
ubuntu at juju-05ad98-disco-proposed-3:~$ apt-cache policy ceph-mgr
ceph-mgr:
Installed: 13.2.6-0ubuntu0.19.04.2
Candidate: 13.2.6-0ubuntu0.19.04.2
Version table:
*** 13.2.6-0ubuntu0.19.04.2 500
500 http://archive.ubuntu.com/ubuntu disco-proposed/main amd64 Packages
100 /var/lib/dpkg/status
13.2.6-0ubuntu0.19.04.1 500
500 http://nova.clouds.archive.ubuntu.com/ubuntu disco-updates/main amd64 Packages
13.2.4+dfsg1-0ubuntu2.1 500
500 http://security.ubuntu.com/ubuntu disco-security/main amd64 Packages
13.2.4+dfsg1-0ubuntu2 500
500 http://nova.clouds.archive.ubuntu.com/ubuntu disco/main amd64 Packages
** Tags removed: verification-needed verification-needed-disco
** Tags added: verification-done verification-done-disco
--
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/1832105
Title:
ceph-mgr dashboard incompatible with cython >= 0.29 (disco)
Status in ceph package in Ubuntu:
Fix Released
Status in ceph source package in Disco:
Fix Committed
Status in ceph source package in Eoan:
Fix Released
Bug description:
[Impact]
The ceph-mgr daemon is unable to load additional module due to a new check in cython >= 0.29. This limits the function of the manager.
[Test Case]
Deploy ceph
Check /var/log/ceph/ceph-mgr.`hostname`.log
Errors about loading rados module in subprocesses will be seen.
[Regression Potential]
The fix from upstream actually just works around this issue by overriding the check that cython does; the code works in a subprocess when loaded multiple times. Regression potential low; cython may produce a longer term fix which means we can drop this patch.
[Original Bug Report]
If Ubuntu is really committed to ceph as I think I've been reading: Notice the ceph dashboard went entirely broken in a major regression of the disco upgrade. It won't load at all in 13.2.4+dfsg1-0ubuntu2.
The detail is ceph-mgr (and lots of ceph) relied on a non-feature in
cython that went away in cython v29, to do with sub-interpreters. The
ceph folks responded with a hack/workaround to avoid the bug being
noticed, and a requirement of the package for an earlier version of
cython. This was done some weeks and months ago. Actually fixing the
problem is a major project the ceph maintainers are struggling to
engage, perhaps waiting for later versions of cython to provide a
different way forward.
However, as of today, on disco ths error message remains:
Module 'dashboard' has failed dependency: Interpreter change detected
- this module can only be loaded into one interpreter per process.
The ceph primary development platform is Debian, on which the
workaround has been available for some time.
However in our ubuntu case, a major feature of a core packge (web
health/monitoring/config interface of a distributed file system), was
allowed to both ship broken and remain so for a long time, even
through today.
I urge quick attention to the necessary backports.
https://github.com/ceph/ceph/pull/25585
http://tracker.ceph.com/issues/38788
http://tracker.ceph.com/issues/37472
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1832105/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list