Bug 1885693 - [ceph-mgr] missing dependency for the python-enum34 in the ceph-mgr-14.2.8-111.el7cp.x86_64 on the RHEL7
Summary: [ceph-mgr] missing dependency for the python-enum34 in the ceph-mgr-14.2.8-11...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Build
Version: 4.1
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: 4.2
Assignee: tserlin
QA Contact: Sunil Angadi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-06 18:30 UTC by kelwhite
Modified: 2024-03-25 16:39 UTC (History)
7 users (show)

Fixed In Version: ceph-14.2.11-45.el8cp, ceph-14.2.11-45.el7cp
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-01-12 14:57:21 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph pull 36448 0 None closed nautilus: mgr/volumes: Implement subvolume version v2 2021-01-18 04:49:29 UTC
Red Hat Product Errata RHSA-2021:0081 0 None None None 2021-01-12 14:57:43 UTC

Description kelwhite 2020-10-06 18:30:27 UTC
Description of problem:
There seems to be missing dependency for the python-enum34 in the ceph-mgr-14.2.8-111.el7cp.x86_64 on the RHEL7.

It’s mentioned the changelog for the ceph  rpm packages:
* Mon Aug 24 2020 Thomas Serlin <tserlin> 2:14.2.8-100
- mgr: Add python-enum34 dependency to package for older distributions (rhbz#1848494)

But it doesn’t seem to be actually applied:
# rpm -q ceph-mgr --requires | grep enum
# 

On the ceph-mgr node the /var/log/ceph/ceph-mgr.log has:
2020-10-05 13:07:33.597 7f5551597cc0 -1 mgr[py] Module not found: 'volumes'
2020-10-05 13:07:33.597 7f5551597cc0 -1 mgr[py] Traceback (most recent call last):
  File "/usr/share/ceph/mgr/volumes/__init__.py", line 2, in <module>
    from .module import Module
  File "/usr/share/ceph/mgr/volumes/module.py", line 7, in <module>
    from .fs.volume import VolumeClient
  File "/usr/share/ceph/mgr/volumes/fs/volume.py", line 12, in <module>
    from .operations.group import open_group, create_group, remove_group, open_group_unique
  File "/usr/share/ceph/mgr/volumes/fs/operations/group.py", line 9, in <module>
    from .template import GroupTemplate
  File "/usr/share/ceph/mgr/volumes/fs/operations/template.py", line 3, in <module>
    from enum import Enum, unique
ImportError: No module named enum

2020-10-05 13:07:33.598 7f5551597cc0 -1 mgr[py] Class not found in module 'volumes'
2020-10-05 13:07:33.598 7f5551597cc0 -1 mgr[py] Error loading module 'volumes': (2) No such file or directory
2020-10-05 13:07:33.598 7f5551597cc0  1 mgr[py] Loading python module 'zabbix'
2020-10-05 13:07:33.611 7f5551597cc0 -1 log_channel(cluster) log [ERR] : Failed to load ceph-mgr modules: volumes

Version-Release number of selected component (if applicable):
RHCS 14.2.8-111

How reproducible:
Always

Expected results:

The python-enum34 package should bundled in ceph-mgr-14.2.8-111.el7cp.x86_64

Additional info:
Workaround is to manually install the "python-enum34"

Comment 12 errata-xmlrpc 2021-01-12 14:57:21 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: Red Hat Ceph Storage 4.2 Security and Bug Fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:0081


Note You need to log in before you can comment on or make changes to this bug.