-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
rhel-8.10
-
None
-
No
-
Low
-
subs-client-tools-2
-
None
-
False
-
False
-
-
None
-
None
-
None
-
None
-
Unspecified
-
Unspecified
-
Unspecified
-
None
What were you trying to do that didn't work?
Virt-who presenting "ValueError: [digital envelope routines: EVP_DigestInit_ex] disabled for FIPS" when running on FIPS server, and connecting to hyper-v
What is the impact of this issue to you?
virt-who is not able to collect the proper information, the side effect is that the customer will not be able to see accurate information about subscription consumption under hybrid console
Please provide the package NVR for which the bug is seen:
virt-who-1.30.16-1.el8.noarch
How reproducible is this bug?:
Hyper-V
rhel8 + FIPS enabled + virt-who
Steps to reproduce
Expected results
Get the full/correct output
Actual results
2025-06-18 09:54:49,370 [virtwho.main ERROR] MainProcess(702242):Thread-2 @virt.py:run:421 - Thread 'virt-who-config-2' fails with exception: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/virtwho/virt/virt.py", line 412, in run self._run() File "/usr/lib/python3.6/site-packages/virtwho/virt/virt.py", line 367, in _run data_to_send = self._get_data() File "/usr/lib/python3.6/site-packages/virtwho/virt/virt.py", line 980, in _get_data return self._get_report() File "/usr/lib/python3.6/site-packages/virtwho/virt/virt.py", line 968, in _get_report return HostGuestAssociationReport(self.config, self.getHostGuestMapping()) File "/usr/lib/python3.6/site-packages/virtwho/virt/hyperv/hyperv.py", line 561, in getHostGuestMapping "root/virtualization") File "/usr/lib/python3.6/site-packages/virtwho/virt/hyperv/hyperv.py", line 417, in Enumerate body = self.post(data) File "/usr/lib/python3.6/site-packages/virtwho/virt/hyperv/hyperv.py", line 380, in post response = self.connection.post(self.url, body, headers=headers) File "/usr/lib/python3.6/site-packages/requests/sessions.py", line 583, in post return self.request('POST', url, data=data, json=json, **kwargs) File "/usr/lib/python3.6/site-packages/requests/sessions.py", line 535, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = dispatch_hook('response', hooks, r, **kwargs) File "/usr/lib/python3.6/site-packages/requests/hooks.py", line 31, in dispatch_hook _hook_data = hook(hook_data, **kwargs) File "/usr/lib/python3.6/site-packages/virtwho/virt/hyperv/hyperv.py", line 238, in handle_response return self.retry_ntlm_negotiate(response, **kwargs) File "/usr/lib/python3.6/site-packages/virtwho/virt/hyperv/hyperv.py", line 129, in retry_ntlm_negotiate return self.retry_ntlm_authenticate(r, **kwargs) File "/usr/lib/python3.6/site-packages/virtwho/virt/hyperv/hyperv.py", line 141, in retry_ntlm_authenticate negotiate = base64.b64encode(self.ntlm.authentication_message(base64.b64decode(challenge), self.password)) File "/usr/lib/python3.6/site-packages/virtwho/virt/hyperv/ntlm.py", line 527, in authentication_message challenge.negotiate_flags) File "/usr/lib/python3.6/site-packages/virtwho/virt/hyperv/ntlm.py", line 391, in __init__ self._compute_encryption_data() File "/usr/lib/python3.6/site-packages/virtwho/virt/hyperv/ntlm.py", line 399, in _compute_encryption_data response_key_nt = response_key_lm = ntowfv2(self.password, self.username, self.domain) File "/usr/lib/python3.6/site-packages/virtwho/virt/hyperv/ntlm.py", line 98, in ntowfv2 key=hashlib.new('md4', passwd.encode('utf-16le')).digest(), File "/usr/lib64/python3.6/hashlib.py", line 179, in __hash_new name, data, usedforsecurity=usedforsecurity) ValueError: [digital envelope routines: EVP_DigestInit_ex] disabled for FIPS