Bug #70411
openmgr/dashboard: 'lxml & xmlsec libxml2 library version mismatch' in run-tox-mgr-dashboard-py3
100%
Description
seen in https://jenkins.ceph.com/job/ceph-pull-requests/153581/consoleFull
260/284 Test #7: run-tox-mgr-dashboard-py3 .................***Failed 367.54 sec
.tox/py3/lib/python3.10/site-packages/onelogin/saml2/utils.py:23: in <module>
import xmlsec
E xmlsec.Error: (100, 'lxml & xmlsec libxml2 library version mismatch')
Updated by Nizamudeen A about 1 year ago
- Pull request ID set to 62242
An alternate fix but requires more changes is being tested here: https://github.com/ceph/ceph/pull/62239, but for now to unblock CI, we could go with the minimal fix
Updated by Nizamudeen A about 1 year ago
- Status changed from New to Fix Under Review
Updated by Nizamudeen A about 1 year ago
- Status changed from Fix Under Review to Pending Backport
Updated by Upkeep Bot about 1 year ago
- Copied to Backport #70424: reef: mgr/dashboard: 'lxml & xmlsec libxml2 library version mismatch' in run-tox-mgr-dashboard-py3 added
Updated by Upkeep Bot about 1 year ago
- Copied to Backport #70425: squid: mgr/dashboard: 'lxml & xmlsec libxml2 library version mismatch' in run-tox-mgr-dashboard-py3 added
Updated by Upkeep Bot about 1 year ago
- Tags (freeform) set to backport_processed
Updated by Nizamudeen A about 1 year ago
- Status changed from Pending Backport to Resolved
Updated by Nizamudeen A about 1 year ago
- Target version changed from v18.2.5 to v20.0.0
Updated by Nizamudeen A 9 months ago
delivered one more fix: https://github.com/ceph/ceph/pull/62239
Updated by Afreen Misbah 9 months ago ยท Edited
This fix has been transferred to tentacle whose backport tracker is not here.
Can you check ?
Updated by Upkeep Bot 9 months ago
- Merge Commit set to ccaa8700c36697dc6d31b684bc46f0b7bf95c5f6
- Fixed In set to v20.0.0-334-gccaa8700c36
- Upkeep Timestamp set to 2025-07-09T19:08:31+00:00
Updated by Upkeep Bot 8 months ago
- Fixed In changed from v20.0.0-334-gccaa8700c36 to v20.0.0-334-gccaa8700c3
- Upkeep Timestamp changed from 2025-07-09T19:08:31+00:00 to 2025-07-14T18:13:08+00:00
Updated by Upkeep Bot 5 months ago
- Released In set to v20.2.0~873
- Upkeep Timestamp changed from 2025-07-14T18:13:08+00:00 to 2025-11-01T01:29:03+00:00
Updated by Hector Martin 3 months ago
This is a legitimate issue for deployments outside of CI. Please reopen and set PR to https://github.com/ceph/ceph/pull/66759, which actually fixes this (or rather it fixes the entire module crashing due to this dependency problem).
Updated by Kefu Chai 3 months ago
- Status changed from Resolved to Fix Under Review
- Assignee deleted (
Nizamudeen A) - Pull request ID changed from 62242 to 66759
Thanks, Hector! reopened, and set PR to https://github.com/ceph/ceph/pull/66759 as requested.
Updated by Hector Martin 3 months ago
After the investigation in the linked PR, it's clear that onelogin (transitively via xmlsec and lxml) is incompatible with subinterpreters. The PR still stands as an improvement, but this ticket should stay open as we need to find an alternative, get lxml to add subinterpreter support, get xmlsec or onelogin to use something else, or deprecate saml2 support, as the current approach is not supported.
Perhaps change the subject to something like "mgr/dashboard: onelogin SAML2 is incompatible with subinterpreters ('lxml & xmlsec libxml2 library version mismatch')"?
Updated by Upkeep Bot 3 months ago
- Merge Commit deleted (
ccaa8700c36697dc6d31b684bc46f0b7bf95c5f6) - Fixed In deleted (
v20.0.0-334-gccaa8700c3) - Released In deleted (
v20.2.0~873) - Upkeep Timestamp changed from 2025-11-01T01:29:03+00:00 to 2026-01-05T12:40:13+00:00