Increase foreman ping timeout from default 30 secs to ~120 secs
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 84/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- ansible
- Domain
- devops
Research direction
Open src/roles/foreman/tasks/main.yaml around line 309 and inspect the ping endpoint task and its timeout setting. Adjust the timeout to approximately 120 seconds, then verify that the task permits slow ping responses without changing other service checks.
Written by the indexing model from the issue text.
Description
The https://github.com/theforeman/foremanctl/blob/master/src/roles/foreman/tasks/main.yaml#L309 step here requires the ping endpoint to respond within the default timeout of 30 seconds. In some cases, especially when some services are failing the response time maybe longer than 30 secs..In a local setup where rh_cloud service was failing, that RH cloud check alone lasted around 20 secs and it took ping around 60 secs to respond..We should probably use a timeout of 120 secs or so to give enough time for the ping endpoint to respond.
- Dominant language
- Python
- Stars
- 27
- Forks
- 47
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 40
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from theforeman/foremanctl
-
add required firewall port configuration section to deployment design (docs/developer/deployment.md) Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
theforeman/foremanctl#821 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
theforeman/foremanctl#803 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
theforeman/foremanctl#801 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
theforeman/foremanctl#790 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
theforeman/foremanctl#733 · 3 comments ·
All issues in theforeman/foremanctl
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
test md OpenCI
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100