Project

General

Profile

Bug #56727

mgr/volumes: Subvolume creation failed on FIPs enabled system

Added by Kotresh Hiremath Ravishankar 2 months ago. Updated about 2 months ago.

Status:
Pending Backport
Priority:
Urgent
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
backport_processed
Backport:
octopus, quincy, pacific
Regression:
No
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
mgr/volumes
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The subvolume creation hits the following traceback on fips enabled system.

"Traceback (most recent call last):
File "/usr/share/ceph/mgr/mgr_module.py", line 1446, in handle_command
    return self.handle_command(inbuf, cmd)\n  File "/usr/share/ceph/mgr/volumes/module.py", line 437, in handle_command
    return handler(inbuf, cmd)\n  File "/usr/share/ceph/mgr/volumes/module.py", line 34, in wrap
    return f(self, inbuf, cmd)\n  File "/usr/share/ceph/mgr/volumes/module.py", line 491, in cmd_fs_subvolume_create
    namespace_isolated=cmd.get('namespace_isolated', False))
  File "/usr/share/ceph/mgr/volumes/fs/volume.py", line 171, in create_subvolume
    with open_subvol(self.mgr, fs_handle, self.volspec, group, subvolname, SubvolumeOpType.CREATE) as subvolume:
  File "/usr/lib64/python3.6/contextlib.py", line 81, in enter
    return next(self.gen)
  File "/usr/share/ceph/mgr/volumes/fs/operations/subvolume.py", line 72, in open_subvol
    subvolume = loaded_subvolumes.get_subvolume_object(mgr, fs, vol_spec, group, subvolname)
  File "/usr/share/ceph/mgr/volumes/fs/operations/versions/__init.py", line 93, in get_subvolume_object
    subvolume = SubvolumeBase(mgr, fs, vol_spec, group, subvolname)
  File "/usr/share/ceph/mgr/volumes/fs/operations/versions/subvolume_base.py", line 38, in init
    self.load_config()\n  File "/usr/share/ceph/mgr/volumes/fs/operations/versions/subvolume_base.py", line 129, in load_config
    self.fs.stat(self.legacy_config_path)
  File "/usr/share/ceph/mgr/volumes/fs/operations/versions/subvolume_base.py", line 78, in legacy_config_path
    m = md5()
ValueError: [digital envelope routines: EVP_DigestInit_ex] disabled for FIPS
" ```

Related issues

Copied to CephFS - Backport #56978: pacific: mgr/volumes: Subvolume creation failed on FIPs enabled system Resolved
Copied to CephFS - Backport #56979: quincy: mgr/volumes: Subvolume creation failed on FIPs enabled system In Progress
Copied to CephFS - Backport #56980: octopus: mgr/volumes: Subvolume creation failed on FIPs enabled system New

History

#1 Updated by Kotresh Hiremath Ravishankar 2 months ago

  • Backport set to octopus, quincy, pacific

#2 Updated by Ramana Raja 2 months ago

  • Status changed from New to Fix Under Review
  • Assignee set to Kotresh Hiremath Ravishankar
  • Pull request ID set to 47300

#3 Updated by Kotresh Hiremath Ravishankar 2 months ago

  • Description updated (diff)
  • Assignee deleted (Kotresh Hiremath Ravishankar)
  • Severity deleted (3 - minor)

#4 Updated by Kotresh Hiremath Ravishankar 2 months ago

  • Assignee set to Kotresh Hiremath Ravishankar

#5 Updated by Ramana Raja 2 months ago

  • Status changed from Fix Under Review to Pending Backport

#6 Updated by Backport Bot 2 months ago

  • Copied to Backport #56978: pacific: mgr/volumes: Subvolume creation failed on FIPs enabled system added

#7 Updated by Backport Bot 2 months ago

  • Copied to Backport #56979: quincy: mgr/volumes: Subvolume creation failed on FIPs enabled system added

#8 Updated by Backport Bot 2 months ago

  • Copied to Backport #56980: octopus: mgr/volumes: Subvolume creation failed on FIPs enabled system added

#9 Updated by Backport Bot about 2 months ago

  • Tags set to backport_processed

Also available in: Atom PDF