Problem:
Good afternoon. Today I noticed that all repositories that live on the server have stopped syncing successfully. below is a screenshot. This applies to both ubuntu and Centos
The task is not suspended, it is in the process of execution, but the process has not been completed for several hours, while there is no load on the server at all.
Jun 03 14:54:13 foreman pulpcore-api[1382]: pulp [None]: django_guid:INFO: Header Correlation-ID was not found in the incoming request. Generated new GUID: 864fc9f7710546dabb6722d4d7a270d3
Jun 03 14:54:13 foreman pulpcore-api[1382]: - - [03/Jun/2022:11:54:13 +0000] “GET /pulp/api/v3/tasks/d65e240b-dae2-4318-aa79-195e4e751f97/ HTTP/1.1” 200 550 “-” “OpenAPI-Generator/3.9.0/ruby”
Jun 03 14:54:16 foreman pulpcore-api[1382]: pulp [None]: django_guid:INFO: Header Correlation-ID was not found in the incoming request. Generated new GUID: cb3c999cff12440296f3a28e43a5b21d
Jun 03 14:54:16 foreman pulpcore-api[1382]: - - [03/Jun/2022:11:54:16 +0000] “GET /pulp/api/v3/tasks/da429bda-f70c-40f2-80cb-1a95e384bc7b/ HTTP/1.1” 200 506 “-” “OpenAPI-Generator/3.9.0/ruby”
Jun 03 14:54:29 foreman pulpcore-api[1382]: pulp [None]: django_guid:INFO: Header Correlation-ID was not found in the incoming request. Generated new GUID: fd1c41fe025e47fb9f222f385fba0a39
Jun 03 14:54:29 foreman pulpcore-api[1382]: - - [03/Jun/2022:11:54:29 +0000] “GET /pulp/api/v3/tasks/d65e240b-dae2-4318-aa79-195e4e751f97/ HTTP/1.1” 200 550 “-” “OpenAPI-Generator/3.9.0/ruby”
Jun 03 14:54:32 foreman pulpcore-api[1382]: pulp [None]: django_guid:INFO: Header Correlation-ID was not found in the incoming request. Generated new GUID: 61f0d439eba2405b8b5acea4ec2f0b11
Jun 03 14:54:33 foreman pulpcore-api[1382]: - - [03/Jun/2022:11:54:33 +0000] “GET /pulp/api/v3/tasks/da429bda-f70c-40f2-80cb-1a95e384bc7b/ HTTP/1.1” 200 506 “-” “OpenAPI-Generator/3.9.0/ruby”
hammer doesn’t work either, he says:
Could not load the API description from the server:
403 “Forbidden”
is the server down?
was ‘foreman-rake apipie:cache’ run on the server when using apipie cache? (typical production settings)
Warning: An error occured while loading module hammer_cli_foreman_bootdisk.
Hello, no, restarting the server did not help, hammer ping said that everything was ok. At the moment, the problem has been solved by adding the heartbeat=120 value to the /etc/gofer/plugins/katello.conf config. However, the logs still contain errors like:gofer.messaging.adapter.proton.reliability:54 - connection ampqs://address:5647 disconnected: Condition(ampq:resource-limit-extendet, local-idle-timeout expired)
Are you able to sync repos now? I am not sure how the heartbeat value for gofer plugin would help with repo sync. Not sure what would have caused the long sync tasks but could have to do with some other task taking up a lot of memory. Not really sure what happened here.