Bug 1994073

Summary: pulpcore-worker ValueError: _blake2 is not available in FIPS mode
Product: Red Hat Satellite Reporter: Ganesh Payelkar <gpayelka>
Component: PulpAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Lai <ltran>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.10.0   
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: x86_64   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-19 15:06:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ganesh Payelkar 2021-08-16 16:20:07 UTC
Description of problem:

pulpcore-worker  ValueError: _blake2 is not available in FIPS mode

Version-Release number of selected component (if applicable):
satellite-6.10.0-0.6.beta

How reproducible:
New installation of satellite 6.10 Beta

Steps to Reproduce:
1. Install new satellite Beta 6.10 
2. Try to enable repos through WebUI
3.

Actual results: 

Aug 16 21:36:39   systemd: pulpcore-worker: main process exited, code=exited, status=1/FAILURE
Aug 16 21:36:39   systemd: Unit pulpcore-worker entered failed state.
Aug 16 21:36:39   systemd: pulpcore-worker failed.
Aug 16 21:36:39   pulpcore-api: pulp [21ac402d-2615-4728-b2d1-e54667ffe88b]:  - - [16/Aug/2021:16:06:39 +0000] "GET /pulp/api/v3/tasks/65584c2c-9d64-489e-8611-8244f3832aa7/ HTTP/1.1" 200 502 "-" "OpenAPI-Generator/3.14.1/ruby"
Aug 16 21:36:39   pulpcore-worker-4: pulp [None]: pulpcore.tasking.entrypoint:INFO: Starting distributed type worker
Aug 16 21:36:39   pulpcore-worker-4: pulp [None]: pulpcore.tasking.worker_watcher:INFO: New worker '31007.pnq2.redhat.com' discovered
Aug 16 21:36:39   pulpcore-worker-4: Traceback (most recent call last):
Aug 16 21:36:39   pulpcore-worker-4: File "/usr/bin/pulpcore-worker", line 11, in <module>
Aug 16 21:36:39   pulpcore-worker-4: load_entry_point('pulpcore==3.14.3', 'console_scripts', 'pulpcore-worker')()
Aug 16 21:36:39   pulpcore-worker-4: File "/usr/lib/python3.6/site-packages/click/core.py", line 829, in __call__
Aug 16 21:36:39    pulpcore-worker-4: return self.main(*args, **kwargs)
Aug 16 21:36:39   pulpcore-worker-4: File "/usr/lib/python3.6/site-packages/click/core.py", line 782, in main
Aug 16 21:36:39   pulpcore-worker-4: rv = self.invoke(ctx)
Aug 16 21:36:39   pulpcore-worker-4: File "/usr/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
Aug 16 21:36:39   pulpcore-worker-4: return ctx.invoke(self.callback, **ctx.params)
Aug 16 21:36:39   pulpcore-worker-4: File "/usr/lib/python3.6/site-packages/click/core.py", line 610, in invoke
Aug 16 21:36:39   pulpcore-worker-4: return callback(*args, **kwargs)
Aug 16 21:36:39   pulpcore-worker-4: File "/usr/lib/python3.6/site-packages/pulpcore/tasking/entrypoint.py", line 45, in worker
Aug 16 21:36:39   pulpcore-worker-4: NewPulpWorker().run_forever()
Aug 16 21:36:39   pulpcore-worker-4: File "/usr/lib/python3.6/site-packages/pulpcore/tasking/pulpcore_worker.py", line 220, in run_forever
Aug 16 21:36:39   pulpcore-worker-4: for task in self.iter_tasks():
Aug 16 21:36:39   pulpcore-worker-4: File "/usr/lib/python3.6/site-packages/pulpcore/tasking/pulpcore_worker.py", line 115, in iter_tasks
Aug 16 21:36:39   pulpcore-worker-4: with suppress(AdvisoryLockError), task:
Aug 16 21:36:39   pulpcore-worker-4: File "/usr/lib/python3.6/site-packages/pulpcore/app/models/task.py", line 289, in __enter__
Aug 16 21:36:39   pulpcore-worker-4: self.lock = _hash_to_u64(str(self.pk))
Aug 16 21:36:39    pulpcore-worker-4: File "/usr/lib/python3.6/site-packages/pulpcore/app/models/task.py", line 213, in _hash_to_u64
Aug 16 21:36:39   pulpcore-worker-4: _digest = blake2s(value.encode(), digest_size=8).digest()
Aug 16 21:36:39   pulpcore-worker-4: ValueError: _blake2 is not available in FIPS mode

# cat /proc/sys/crypto/fips_enabled 
1




Expected results:


Additional info:


# hammer ping 
database:         
    Status:          ok
    Server Response: Duration: 0ms
candlepin:        
    Status:          ok
    Server Response: Duration: 53ms
candlepin_auth:   
    Status:          ok
    Server Response: Duration: 40ms
candlepin_events: 
    Status:          ok
    message:         9 Processed, 0 Failed
    Server Response: Duration: 0ms
katello_events:   
    Status:          ok
    message:         0 Processed, 0 Failed
    Server Response: Duration: 0ms
pulp3:            
    Status:          ok
    Server Response: Duration: 98ms
foreman_tasks:    
    Status:          ok
    Server Response: Duration: 3ms




Displaying the following service(s):
rh-redis5-redis, postgresql, pulpcore-api, pulpcore-content, rh-redis5-redis, pulpcore-worker, pulpcore-worker, pulpcore-worker, pulpcore-worker, tomcat, dynflow-sidekiq@orchestrator, foreman, httpd, puppetserver, dynflow-sidekiq@worker-1, dynflow-sidekiq@worker-hosts-queue-1, foreman-proxy, foreman-cockpit
- displaying rh-redis5-redis                       [OK]                         
/ displaying postgresql                            [OK]                         
/ displaying pulpcore-api                          [OK]                         
/ displaying pulpcore-content                      [OK]                         
/ displaying rh-redis5-redis                       [OK]                         
\ displaying pulpcore-worker             [OK]                         
\ displaying pulpcore-worker             [OK]                         
\ displaying pulpcore-worker             [OK]                         
\ displaying pulpcore-worker             [OK]                         
\ displaying tomcat                                [OK]                         
| displaying dynflow-sidekiq@orchestrator          [OK]                         
| displaying foreman                               [OK]                         
| displaying httpd                                 [OK]                         
| displaying puppetserver                          [OK]                         
/ displaying dynflow-sidekiq@worker-1              [OK]                         
/ displaying dynflow-sidekiq@worker-hosts-queue-1  [OK]                         
\ displaying foreman-proxy                         [OK]                         
| displaying foreman-cockpit                       [OK]                         
| All services are running                                            [OK]      
--------------------------------------------------------------------------------

Comment 1 Brad Buckingham 2021-08-19 15:06:03 UTC

*** This bug has been marked as a duplicate of bug 1995175 ***