Actions
Issue #9249
closedValueError: _blake2 is not available in FIPS mode
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 103
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 fao89 over 3 years ago
I got a different error:
Aug 18 21:37:09 pulp3-source-centos8-fips.localhost.example.com pulpcore-worker[68903]: Traceback (most recent call last):
Aug 18 21:37:09 pulp3-source-centos8-fips.localhost.example.com pulpcore-worker[68903]: File "/usr/local/lib/pulp/bin/pulpcore-worker", line 33, in <module>
Aug 18 21:37:09 pulp3-source-centos8-fips.localhost.example.com pulpcore-worker[68903]: sys.exit(load_entry_point('pulpcore', 'console_scripts', 'pulpcore-worker')())
Aug 18 21:37:09 pulp3-source-centos8-fips.localhost.example.com pulpcore-worker[68903]: File "/usr/local/lib/pulp/lib64/python3.8/site-packages/click/core.py", line 1137, in __call__
Aug 18 21:37:09 pulp3-source-centos8-fips.localhost.example.com pulpcore-worker[68903]: return self.main(*args, **kwargs)
Aug 18 21:37:09 pulp3-source-centos8-fips.localhost.example.com pulpcore-worker[68903]: File "/usr/local/lib/pulp/lib64/python3.8/site-packages/click/core.py", line 1062, in main
Aug 18 21:37:09 pulp3-source-centos8-fips.localhost.example.com pulpcore-worker[68903]: rv = self.invoke(ctx)
Aug 18 21:37:09 pulp3-source-centos8-fips.localhost.example.com pulpcore-worker[68903]: File "/usr/local/lib/pulp/lib64/python3.8/site-packages/click/core.py", line 1404, in invoke
Aug 18 21:37:09 pulp3-source-centos8-fips.localhost.example.com pulpcore-worker[68903]: return ctx.invoke(self.callback, **ctx.params)
Aug 18 21:37:09 pulp3-source-centos8-fips.localhost.example.com pulpcore-worker[68903]: File "/usr/local/lib/pulp/lib64/python3.8/site-packages/click/core.py", line 763, in invoke
Aug 18 21:37:09 pulp3-source-centos8-fips.localhost.example.com pulpcore-worker[68903]: return __callback(*args, **kwargs)
Aug 18 21:37:09 pulp3-source-centos8-fips.localhost.example.com pulpcore-worker[68903]: File "/home/vagrant/devel/pulpcore/pulpcore/tasking/entrypoint.py", line 45, in worker
Aug 18 21:37:09 pulp3-source-centos8-fips.localhost.example.com pulpcore-worker[68903]: NewPulpWorker().run_forever()
Aug 18 21:37:09 pulp3-source-centos8-fips.localhost.example.com pulpcore-worker[68903]: File "/home/vagrant/devel/pulpcore/pulpcore/tasking/pulpcore_worker.py", line 245, in run_forever
Aug 18 21:37:09 pulp3-source-centos8-fips.localhost.example.com pulpcore-worker[68903]: for task in self.iter_tasks():
Aug 18 21:37:09 pulp3-source-centos8-fips.localhost.example.com pulpcore-worker[68903]: File "/home/vagrant/devel/pulpcore/pulpcore/tasking/pulpcore_worker.py", line 138, in iter_tasks
Aug 18 21:37:09 pulp3-source-centos8-fips.localhost.example.com pulpcore-worker[68903]: with suppress(AdvisoryLockError), task:
Aug 18 21:37:09 pulp3-source-centos8-fips.localhost.example.com pulpcore-worker[68903]: File "/home/vagrant/devel/pulpcore/pulpcore/app/models/task.py", line 305, in __enter__
Aug 18 21:37:09 pulp3-source-centos8-fips.localhost.example.com pulpcore-worker[68903]: self.lock = _hash_to_u64(str(self.pk))
Aug 18 21:37:09 pulp3-source-centos8-fips.localhost.example.com pulpcore-worker[68903]: File "/home/vagrant/devel/pulpcore/pulpcore/app/models/task.py", line 229, in _hash_to_u64
Aug 18 21:37:09 pulp3-source-centos8-fips.localhost.example.com pulpcore-worker[68903]: _digest = blake2s(value.encode(), digest_size=8).digest()
Aug 18 21:37:09 pulp3-source-centos8-fips.localhost.example.com pulpcore-worker[68903]: TypeError: 'digest_size' is an invalid keyword argument for openssl_blake2s()
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
Updated by ttereshc about 3 years ago
- Copied to Backport #9288: Backport "ValueError: _blake2 is not available in FIPS mode" to 3.14.z added
Updated by fao89 about 3 years ago
- Triaged changed from No to Yes
- Sprint set to Sprint 103
Added by mdellweg about 3 years ago
Updated by mdellweg about 3 years ago
- Status changed from POST to MODIFIED
Applied in changeset pulpcore|1d77e5cdf4d03b7edff34f4fc3b60a2f70df3e88.
Updated by pulpbot about 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.
fixes #9249