Project

General

Profile

Actions

Bug #70411

open

mgr/dashboard: 'lxml & xmlsec libxml2 library version mismatch' in run-tox-mgr-dashboard-py3

Added by Nizamudeen A about 1 year ago. Updated 3 months ago.

Status:
Fix Under Review
Priority:
Normal
Assignee:
-
Category:
Build, CI, Dependencies & Tools
Target version:
% Done:

100%

Source:
Backport:
squid, reef
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
backport_processed
Merge Commit:
Fixed In:
Released In:
Upkeep Timestamp:
2026-01-05T12:40:13+00:00

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')

Subtasks 1 (0 open1 closed)

Bug #71625: remove dependency of python libraries on python 3.1370411DuplicateJiffin Tony Thottan

Actions

Related issues 2 (0 open2 closed)

Copied to Dashboard - Backport #70424: reef: mgr/dashboard: 'lxml & xmlsec libxml2 library version mismatch' in run-tox-mgr-dashboard-py3 ResolvedNizamudeen AActions
Copied to Dashboard - Backport #70425: squid: mgr/dashboard: 'lxml & xmlsec libxml2 library version mismatch' in run-tox-mgr-dashboard-py3 ResolvedNizamudeen AActions
Actions #1

Updated by Nizamudeen A about 1 year ago

  • Backport set to squid, reef
Actions #2

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

Actions #3

Updated by Nizamudeen A about 1 year ago

  • Status changed from New to Fix Under Review
Actions #4

Updated by Nizamudeen A about 1 year ago

  • Status changed from Fix Under Review to Pending Backport
Actions #5

Updated by Nizamudeen A about 1 year ago

  • Priority changed from Normal to High
Actions #6

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
Actions #7

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
Actions #8

Updated by Upkeep Bot about 1 year ago

  • Tags (freeform) set to backport_processed
Actions #9

Updated by Nizamudeen A about 1 year ago

  • Status changed from Pending Backport to Resolved
Actions #10

Updated by Nizamudeen A about 1 year ago

  • Target version set to v18.2.5
Actions #11

Updated by Nizamudeen A about 1 year ago

  • Target version changed from v18.2.5 to v20.0.0
Actions #12

Updated by Jiffin Tony Thottan 9 months ago

  • Subtask #71625 added
Actions #13

Updated by Nizamudeen A 9 months ago

Actions #14

Updated by Afreen Misbah 9 months ago ยท Edited

This fix has been transferred to tentacle whose backport tracker is not here.
Can you check ?

See https://github.com/ceph/ceph/pull/64295

Actions #15

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
Actions #16

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
Actions #17

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
Actions #18

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).

Actions #19

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.

Actions #20

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')"?

Actions #21

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
Actions

Also available in: Atom PDF