[Bug 1832105] Re: ceph-mgr dashboard incompatible with cython >= 0.29 (disco)
Rgpublic
rgpublic at gmx.net
Tue Jul 16 17:04:10 UTC 2019
Okay, I added the proposed repo and pinned the packages as described and
then did this:
apt install ceph-mgr/disco-proposed ceph-mon/disco-proposed ceph-osd
/disco-proposed ceph-base/disco-proposed ceph-common/disco-proposed
libradosstriper1/disco-proposed ceph-mds/disco-proposed ceph/disco-
proposed librgw2/disco-proposed
Afterwards, the error message disappeared: "HEALTH_OK". I only did this
on the server where the mgr is currently active (ceph -s displayed which
server is the active mgr). If I stop the service so that the active mgr
changes to some other server where I didn't yet install the proposed
packages, the error message appears again.
Summary: The proposed packages seem to be working as intended. The error
message disappears. I can still access the Ceph filesystem and I can now
access the Ceph dashboard again - everything seems to be working
normally. Big thank you to everyone working on this.
One question: If the packages appear on the final non-proposed
repository... What would I need to do to switch over to them so
everything is back to normal?
--
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