-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
6.12.0
-
True
-
False
-
CLOSED
-
1,900
-
Phoenix - Subscriptions
-
-
-
Important
-
Customer Facing, Customer Reported
-
None
Description of problem:
I have Satellite satellite-6.12.0-4.el8sat.noarch configured with:
--tuning=medium
--foreman-foreman-service-puma-threads-min=16
--foreman-foreman-service-puma-threads-max=16
--foreman-foreman-service-puma-workers=8
--foreman-db-pool=128
--foreman-proxy-plugin-remote-execution-script-install-key=true
--foreman-proxy-plugin-remote-execution-script-mode=ssh
with RHC configured. When I created playbook on RH Cloud to fix RHSA-2021:1581 (package "sqlite" update) and ran it on 8 hosts, all worked well. When I ran it on 334 hosts, ReX job on Satellite failed with:
Failed to initialize: RuntimeError - Failed rendering template: error during rendering: 400 Bad Request
I assume it is because playbook_url is too long https://satellite.example.com/job_invocations/13 -> Preview templates -> playbook_url value is:
On RH Cloud, remediations playbook shows:
https://console.redhat.com/insights/remediations/516f4b02-8b86-437e-ad67-b80f91862548?issues
Total systems: 334 systems
Latest activity: Failed 0 passed 50 failed 0 others
(yes, numbers does not match )
On Satellite, it says:
https://f09-h26-b01-5039ms.rdu2.scalelab.redhat.com/job_invocations/13
0 passed 334 failed 0 pending 0 cancelled
Version-Release number of selected component (if applicable):
satellite-6.12.0-4.el8sat.noarch
How reproducible:
Tried once
Steps to Reproduce:
1. Have a Satellite configured for RH Cloud with 334 hosts (or so)
2. Make sure there is a errata applicable on them (in my case I have outdated "sqlite" package, upgradable via RHSA-2021:1581)
3. On RH Cloud, create remediation playbook using Patch
4. Attempt to run that playbook from RH Cloud on these 334 hosts
Actual results:
ReX job on Satellite failed with:
Failed to initialize: RuntimeError - Failed rendering template: error during rendering: 400 Bad Request
Expected results:
Playbook should upgrade these package on these hosts and RH Cloud should show correct number of passed systems.
- blocks
-
SAT-12282 when running remediation playbook on 300 hosts, all hosts have result "success", but ReX job itself is "failed"
- Backlog
- external trackers