Actions
Backport #9288
closedBackport "ValueError: _blake2 is not available in FIPS mode" to 3.14.z
Start date:
Due date:
% Done:
100%
Estimated time:
Triaged:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
Description
Aug 17 19:46:43 dhcp-3-98.vms.sat.rdu2.redhat.com pulpcore-worker-1[964]: Traceback (most recent call last):
Aug 17 19:46:43 dhcp-3-98.vms.sat.rdu2.redhat.com pulpcore-worker-1[964]: File "/usr/bin/pulpcore-worker", line 11, in <module>
Aug 17 19:46:43 dhcp-3-98.vms.sat.rdu2.redhat.com pulpcore-worker-1[964]: load_entry_point('pulpcore==3.14.3', 'console_scripts', 'pulpcore-worker')()
Aug 17 19:46:43 dhcp-3-98.vms.sat.rdu2.redhat.com pulpcore-worker-1[964]: File "/usr/lib/python3.6/site-packages/click/core.py", line 829, in __call__
Aug 17 19:46:43 dhcp-3-98.vms.sat.rdu2.redhat.com pulpcore-worker-1[964]: return self.main(*args, **kwargs)
Aug 17 19:46:43 dhcp-3-98.vms.sat.rdu2.redhat.com pulpcore-worker-1[964]: File "/usr/lib/python3.6/site-packages/click/core.py", line 782, in main
Aug 17 19:46:43 dhcp-3-98.vms.sat.rdu2.redhat.com pulpcore-worker-1[964]: rv = self.invoke(ctx)
Aug 17 19:46:43 dhcp-3-98.vms.sat.rdu2.redhat.com pulpcore-worker-1[964]: File "/usr/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
Aug 17 19:46:43 dhcp-3-98.vms.sat.rdu2.redhat.com pulpcore-worker-1[964]: return ctx.invoke(self.callback, **ctx.params)
Aug 17 19:46:43 dhcp-3-98.vms.sat.rdu2.redhat.com pulpcore-worker-1[964]: File "/usr/lib/python3.6/site-packages/click/core.py", line 610, in invoke
Aug 17 19:46:43 dhcp-3-98.vms.sat.rdu2.redhat.com pulpcore-worker-1[964]: return callback(*args, **kwargs)
Aug 17 19:46:43 dhcp-3-98.vms.sat.rdu2.redhat.com pulpcore-worker-1[964]: File "/usr/lib/python3.6/site-packages/pulpcore/tasking/entrypoint.py", line 45, in worker
Aug 17 19:46:43 dhcp-3-98.vms.sat.rdu2.redhat.com pulpcore-worker-1[964]: NewPulpWorker().run_forever()
Aug 17 19:46:43 dhcp-3-98.vms.sat.rdu2.redhat.com pulpcore-worker-1[964]: File "/usr/lib/python3.6/site-packages/pulpcore/tasking/pulpcore_worker.py", line 220, in run_forever
Aug 17 19:46:43 dhcp-3-98.vms.sat.rdu2.redhat.com pulpcore-worker-1[964]: for task in self.iter_tasks():
Aug 17 19:46:43 dhcp-3-98.vms.sat.rdu2.redhat.com pulpcore-worker-1[964]: File "/usr/lib/python3.6/site-packages/pulpcore/tasking/pulpcore_worker.py", line 115, in iter_tasks
Aug 17 19:46:43 dhcp-3-98.vms.sat.rdu2.redhat.com pulpcore-worker-1[964]: with suppress(AdvisoryLockError), task:
Aug 17 19:46:43 dhcp-3-98.vms.sat.rdu2.redhat.com pulpcore-worker-1[964]: File "/usr/lib/python3.6/site-packages/pulpcore/app/models/task.py", line 289, in __enter__
Aug 17 19:46:43 dhcp-3-98.vms.sat.rdu2.redhat.com pulpcore-worker-1[964]: self.lock = _hash_to_u64(str(self.pk))
Aug 17 19:46:43 dhcp-3-98.vms.sat.rdu2.redhat.com pulpcore-worker-1[964]: File "/usr/lib/python3.6/site-packages/pulpcore/app/models/task.py", line 213, in _hash_to_u64
Aug 17 19:46:43 dhcp-3-98.vms.sat.rdu2.redhat.com pulpcore-worker-1[964]: _digest = blake2s(value.encode(), digest_size=8).digest()
Aug 17 19:46:43 dhcp-3-98.vms.sat.rdu2.redhat.com pulpcore-worker-1[964]: ValueError: _blake2 is not available in FIPS mode
Related issues
Updated by ttereshc over 3 years ago
- Copied from Issue #9249: ValueError: _blake2 is not available in FIPS mode added
Updated by mdellweg over 3 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to mdellweg
Updated by pulpbot over 3 years ago
- Status changed from ASSIGNED to POST
Added by mdellweg over 3 years ago
Updated by mdellweg over 3 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset pulpcore|b995a66c61e4f4c922bab24dbcb3fec6e735336a.
Updated by pulpbot over 3 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions
Stop using blake2s to calulate lock identifiers
Instead perform a simple xor on the first and second half of the task uuid.
backports #9249
fixes #9288
(cherry picked from commit 1d77e5cdf4d03b7edff34f4fc3b60a2f70df3e88)