Skip to content

Add missing Python dependency for ceph-mgr - #37388

Merged
tchaikov merged 1 commit into
ceph:masterfrom
johscheuer:add-missing-python-dependency
Sep 26, 2020
Merged

tchaikov merged 1 commit into
ceph:masterfrom
johscheuer:add-missing-python-dependency

Conversation

@johscheuer

Copy link
Copy Markdown
Contributor

We upgraded our Ceph cluster to 15.2.3 running on 18.04.5 LTS (Bionic Beaver) which resulted in the following error/warning:

health: HEALTH_WARN
Module 'volumes' has failed dependency: No module named 'distutils.util'

In the previous version 14.2.11 there were no errors/warnings. We manually fixed this by installing python3-distutils and restarting the ceph-mgr but if the package is actual a requirement it makes sense to install it directly as dependency. The package is also available under Debian.

Checklist

  • References tracker ticket
  • Updates documentation if necessary
  • Includes tests for new functionality or reproducer for bug

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 api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox

Comment thread debian/control Resolved
@johscheuer
johscheuer force-pushed the add-missing-python-dependency branch 2 times, most recently from b7c3d81 to 1f5e152 Compare September 24, 2020 10:09

@tchaikov tchaikov 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.

mgr: Add missing Python dependency for ceph-mgr

also, could you s/mgr/debian/ in the title of commit message. and might want to be more specific regarding to the root cause:

mgr/volumes/fs/operations/pin_util.py imports distutils.util for using strtobool

@johscheuer
johscheuer force-pushed the add-missing-python-dependency branch from 1f5e152 to 6888ef8 Compare September 24, 2020 10:10
The file mgr/volumes/fs/operations/pin_util.py imports distutils.util for using
strtobool and thus the python package is required.

Signed-off-by: Johannes M. Scheuermann <[email protected]>
@johscheuer
johscheuer force-pushed the add-missing-python-dependency branch from 6888ef8 to 868e708 Compare September 24, 2020 10:11
@johscheuer

Copy link
Copy Markdown
Contributor Author

jenkins test api

@tchaikov

Copy link
Copy Markdown
Contributor

this change should be backported.

@johscheuer

Copy link
Copy Markdown
Contributor Author

Backported means in this context adding this commit to the octopus branch right and then open an additional PR?
I can open a PR for this later the day.

@tchaikov

Copy link
Copy Markdown
Contributor

Backported means in this context adding this commit to the octopus branch right and then open an additional PR?
I can open a PR for this later the day.

@johscheuer hi Johannes, yeah. we need to get the change targeting master merged first for backporting the fix to a release branch. in general, a tracker ticket is created for tracking this progress. and our stable release team can take care of this once the fix lands on master branch. so instead of creating a PR, i'd suggest create a tracker ticket on https://tracker.ceph.com and add a

Fixes: https://tracker.ceph.com/issues/<id>

right before your Signed-off-by line in the commit message. and leave the backport to us.

@tchaikov

Copy link
Copy Markdown
Contributor

backport PR: #37422

@johscheuer
johscheuer deleted the add-missing-python-dependency branch October 2, 2020 08:25
@tchaikov tchaikov removed their assignment Nov 25, 2020
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.

2 participants