Skip to content

squid: cephadm: use importlib.metadata for querying ceph_iscsi's version - #57970

Merged
adk3798 merged 2 commits into
ceph:squidfrom
adk3798:squid-replace-pkg_resources-with-importlib
Jun 24, 2024
Merged

adk3798 merged 2 commits into
ceph:squidfrom
adk3798:squid-replace-pkg_resources-with-importlib

Conversation

@adk3798

@adk3798 adk3798 commented Jun 11, 2024

Copy link
Copy Markdown
Contributor

Backport of #57685

Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox
  • jenkins test windows
  • jenkins test rook e2e

tchaikov added 2 commits June 11, 2024 12:29
to prepare for a change to use importlib, then fallback to
pkg_resources. as the former is only available in Python 3.8, while
the latter is deprecated.

Refs https://tracker.ceph.com/issues/66201
Signed-off-by: Kefu Chai <[email protected]>
(cherry picked from commit be1a8c2)
use importlib.metadata for querying ceph_iscsi's version and fallback to
pkg_resources. as the former is only available in Python 3.8, while
the latter is deprecated.

Refs https://tracker.ceph.com/issues/66201
Signed-off-by: Kefu Chai <[email protected]>
(cherry picked from commit cbd4bed)
@adk3798 adk3798 added this to the squid milestone Jun 11, 2024
@adk3798
adk3798 requested a review from a team as a code owner June 11, 2024 16:31

@phlogistonjohn phlogistonjohn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks ok for backport

@adk3798

adk3798 commented Jun 19, 2024

Copy link
Copy Markdown
Contributor Author

jenkins test api

@adk3798

adk3798 commented Jun 19, 2024

Copy link
Copy Markdown
Contributor Author

jenkins test make check

@adk3798

adk3798 commented Jun 19, 2024

Copy link
Copy Markdown
Contributor Author

https://pulpito.ceph.com/adking-2024-06-18_03:54:30-orch:cephadm-wip-adk4-testing-2024-06-17-1401-squid-distro-default-smithi/

failures were

  • 18 in cluster log type failures, known issue, still being cleaned up
  • 7 failures in mds_upgrade_sequence, known issue
  • 1 staggered upgrade with agent on failure, known issue
  • 1 random failure installing a kernel
2024-06-18T09:28:10.210 INFO:teuthology.orchestra.run.smithi172.stdout:Transaction check succeeded.
2024-06-18T09:28:10.210 INFO:teuthology.orchestra.run.smithi172.stdout:Running transaction test
2024-06-18T09:28:10.733 INFO:teuthology.orchestra.run.smithi172.stderr:Error: Cannot open file /var/cache/dnf/baseos-044cae74d71fe9ea/packages/kernel-modules-5.14.0-460.el9.x86_64.rpm: [Errno 2] No such file or directory: '/var/cache/dnf/baseos-044cae74d71fe9ea/packages/kernel-modules-5.14.0-460.el9.x86_64.rpm'
2024-06-18T09:28:10.733 INFO:teuthology.orchestra.run.smithi172.stderr:TypeError: an integer is required (got type NoneType)
2024-06-18T09:28:10.733 INFO:teuthology.orchestra.run.smithi172.stderr:FATAL ERROR: python callback ??? failed, aborting!
2024-06-18T09:28:10.827 DEBUG:teuthology.orchestra.run:got remote process result: 1

unrelated to anything we're testing in the run.

Overall, nothing to block merging PRs in the run

@adk3798

adk3798 commented Jun 20, 2024

Copy link
Copy Markdown
Contributor Author

jenkins test make check

1 similar comment
@adk3798

adk3798 commented Jun 24, 2024

Copy link
Copy Markdown
Contributor Author

jenkins test make check

@adk3798
adk3798 merged commit ae67f83 into ceph:squid Jun 24, 2024
afreen23 pushed a commit to rhcs-dashboard/ceph that referenced this pull request Jul 29, 2026
…s-with-importlib

squid: cephadm: use importlib.metadata for querying ceph_iscsi's version

Reviewed-by: John Mulligan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants