Bug 2139840

Summary: Remediating with playbook from RH Cloud: RuntimeError - Failed rendering template: error during rendering: 400 Bad Request
Product: Red Hat Satellite Reporter: Jan Hutař <jhutar>
Component: RH CloudAssignee: Shimon Shtein <sshtein>
Status: CLOSED MIGRATED QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: high Docs Contact:
Priority: high    
Version: 6.12.0CC: ahumbe, aruzicka, ehelms, rexwhite, rlavi
Target Milestone: UnspecifiedKeywords: MigratedToJIRA, PrioBumpGSS, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-06-06 12:47:36 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:
Bug Depends On:    
Bug Blocks: 1831337    

Description Jan Hutař 2022-11-03 15:37:58 UTC
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:

    https://cert.cloud.redhat.com/api/remediations/v1/remediations/516f4b02-8b86-437e-ad67-b80f91862548/playbook?hosts=05404185-7e20-4c29-ac0b-16874a33d661&hosts=0544ab3c-5319-4d23-be20-c30b7587d18a&hosts=05efc499-aeba-4688-bc5f-4e6ed7222950&hosts=072aae48-761a-41c9-8bde-40ebecf620ac&hosts=0818a464-2bca-468e-a0e4-bffbbe9c86a1&hosts=091400a9-e390-4639-8be1-33351a375e31&hosts=0a13d711-1d0b-4cbc-ae57-77768a5a527f&hosts=0a66f84b-ddce-4990-9948-b27c4867c672&hosts=0a84dd31-7da8-4ed6-a600-427c86f4bdbb&hosts=0b2b62a9-243d-4f0a-977b-a8e8450222f4&hosts=0b9634e6-b6d3-4238-94c9-35623830cbc0&hosts=0c8aaa0e-aae6-45e7-b903-0239ee827ccc&hosts=0cec3c66-0533-4e97-9dd9-d1c16f52aa2c&hosts=0d46b22d-49c7-47ea-89a0-4291712d38ea&hosts=0e6a6bc1-6e8a-4d46-b500-3845d20cffba&hosts=0f3d6fd9-49e6-4e99-8adf-24898ad76aeb&hosts=0f82de68-552c-428e-9a83-6fbb80c42dcb&hosts=1031573c-c5fd-4c0d-bf30-bf84df630941&hosts=10e06bdd-80fa-44e8-a252-9f208744efc5&hosts=10fc0b81-28ee-445f-99ce-3bde84ce0c1c&hosts=1133b4a8-0ab9-4fa5-ab41-5ed7cfd72c98&hosts=134d4b7f-bff4-4a4e-801a-e3d6da57c712&hosts=14e06013-e1a1-48b9-9cd8-c7f6ac1e93f6&hosts=14f63d8d-085d-41ef-b334-c652fffbd7e0&hosts=15064e1a-2555-4338-a63f-929f27a131a8&hosts=155506f5-a49b-4700-bb6b-e5ae10b6008b&hosts=1576ed24-6143-4c80-b03c-239b09191cba&hosts=163bbd29-635c-4c41-b740-65d48adaf14a&hosts=16f9c952-b05c-44e1-a597-2b986ebbeb6e&hosts=17f7a3a4-4604-4676-8cde-9735656fc26c&hosts=187180ad-e573-432a-be3f-2dedfa0d78f7&hosts=187b1f27-ae7f-4ebc-aa23-23fed8e22bef&hosts=1925a1c6-94a2-4bb2-977f-51275009c58a&hosts=1999ca19-a093-4a17-a5d0-43ed1f3b92ff&hosts=19ad5745-1c8e-44a7-a6f8-44ebaf82f943&hosts=1b5192a1-67b9-4d90-bb87-97aa7b399f8c&hosts=1b692633-f8ce-4803-85bf-9c8f96158ebf&hosts=1bf27181-1e43-4f96-a84f-eabe6719d4b2&hosts=1db59703-a761-412c-aef7-759dfbb39871&hosts=1dd97d6d-cd10-4cf9-ad5e-1b4d56aa844a&hosts=1e209b9e-26bf-4d93-8eb7-c34b0156395a&hosts=1e499fe3-ebc1-446c-971e-bfcdc9463adf&hosts=1ebc9856-f22d-478e-ba20-fd6f7b7127bc&hosts=1ed41026-9293-4c90-a1d4-a1b33510b50d&hosts=1f96185c-f575-43bd-869a-d138a3636c96&hosts=201b242e-cddc-44e2-a6f3-2a34062e9a71&hosts=2026de21-2eec-4a3b-b5dd-7dd99764fc5b&hosts=2128fde2-ef93-4d18-ad8e-afa378563d10&hosts=21c6dc35-20ca-4502-be02-7a3244d44cad&hosts=223b5e95-e5ca-470d-92cb-c2a519b9b187&hosts=2280bc7e-0036-4202-aac1-a54996469c1e&hosts=22edf6d9-0e04-4b25-aa6f-6df63e344585&hosts=22f9be13-0516-4616-b28a-bc5760015d9f&hosts=256086ff-96ec-4431-baef-19d4ab416d0d&hosts=2689aad5-5b55-4be0-b073-a1112b108b65&hosts=27c513bd-5327-4746-bdd1-48b88f6f9ad8&hosts=28435e6f-d437-4d71-b0c7-4a3e58722980&hosts=28b6ccf0-d4f4-46f6-93f7-92fd852d25b6&hosts=28fb2120-06db-41d0-88b3-0fd6e012112d&hosts=29a8d9f5-12f5-4ebe-8fd2-836077670986&hosts=2b32e933-2169-40bf-af84-9f093e5d8229&hosts=2b91fe32-6f68-4296-b744-a3b04fa11417&hosts=2cdc29bf-c455-4a83-a527-99b6ed7c1beb&hosts=2ce9ae2c-2e93-4d0d-b7c8-c33700591e72&hosts=2e0d8f20-9380-4b26-b81e-2ef1d772ff85&hosts=2e3fa998-c5d8-4f4a-9b8a-f81cc493d764&hosts=2eb79942-7642-4293-82f0-8110304f30e9&hosts=2f4493ba-6280-4522-9714-40893ecf239d&hosts=2ff2f671-dedf-4acc-bdc0-9130f8e7a336&hosts=305c6212-5668-4202-b88c-87fcf73e6a6d&hosts=3127dac2-63a4-4394-8dce-7102b082916a&hosts=3191ec1a-effd-4e7a-88d5-f7d8e1d8e54a&hosts=32a8bfab-a7bc-43d4-b4a0-486a3e85bf42&hosts=33813bc7-e04a-4903-b158-77be1b4227d1&hosts=33acb974-be6e-4778-9817-bf438c0b7aaf&hosts=34a6dbe6-ece6-4900-bfc4-ffb787f65388&hosts=34ba5515-a9ba-452f-b9b2-351a938608dd&hosts=35049a97-8219-4020-acf9-4ae40f303d1b&hosts=366f437d-80c1-43be-ac2b-eaae7c63aaf2&hosts=3794fd17-5e8a-4ab3-94d0-8b60375bead4&hosts=37d392fb-e4c6-422d-a96c-609286857e6c&hosts=3876753c-604a-4998-8da5-c0c2e39b64f6&hosts=391ba57c-e3e9-47e1-9df1-c5e3f67d6c03&hosts=3975e337-e11e-4d68-a727-f7f4034e23e3&hosts=39bcf3a5-ee59-4739-823c-3298ce402e03&hosts=3a163aed-d938-4748-b015-9e777453a55a&hosts=3b442ab6-1384-43b5-9ba9-9220117b4617&hosts=3b9c73fe-46df-42d2-9b0d-c55d30dd7570&hosts=3bcf339b-7985-48f7-8875-c5a8059c3d82&hosts=3c1eb66c-ca92-4b2a-b3b6-fb89c8d95409&hosts=3dc20240-e8d9-4a2a-970b-bb8db9237a90&hosts=3f190cdf-059e-42aa-a6b1-2ba924d3ab8e&hosts=3f1fc671-b78a-4561-afdd-43baa1f701a1&hosts=3f51759e-708c-4000-8e5d-e592d6ef6022&hosts=3f8507d5-51c1-452f-bb46-db365c856cb3&hosts=40f19cdf-2e22-4603-861f-58f09f3747ca&hosts=4120622b-105b-4974-a234-af93cdb18f9b&hosts=41c113bf-b487-4a06-aeaf-f7c59c7aac3f&hosts=4267b03f-0d14-4182-8067-fe22b2fb50a9&hosts=434fc0d4-de0e-4c12-bc9c-5fe4d3abe6b1&hosts=43cfb021-9c99-4394-bfa6-2af4f9a4c19d&hosts=46531d9c-c8fe-496e-a6a2-7a04df9b6e4c&hosts=46c72d25-956b-45b9-995f-f18d2db6a5e8&hosts=46cd870d-89fd-4159-9e90-b34f3562980b&hosts=46d61219-a279-4dbf-a248-a781b85c77c3&hosts=48403d0b-18b4-49a7-82ec-ff76bcfe44ce&hosts=48691cd5-fe1a-44cf-b809-e22dabf694fe&hosts=488682f8-ddb8-4e4e-842c-c049e5ff458c&hosts=4a97fbf3-e299-4ec4-9944-3bccf55ab4fe&hosts=4ae9ae49-61f6-451d-a4a6-ea59e8b56015&hosts=4ba8efad-e26b-4d3a-8b63-4b9abe566aca&hosts=5025149a-2b03-4fca-9fe4-0e133730808d&hosts=5281876c-0272-4ba2-90a9-b0d1cf70c003&hosts=537c550b-836b-4ee0-ab5e-309ef392d8e0&hosts=539a96c4-ee9f-49fb-a422-4cd2fc5c3547&hosts=547f2a48-9127-4781-8001-b2f0a3206e27&hosts=54b77851-84e6-4517-b13f-9089368136cc&hosts=54c6c255-75fd-4eeb-b209-0305813eb990&hosts=54f11960-62cc-4186-bb0c-c270cd741939&hosts=55a294d9-c7bd-4d63-9a05-277f0e7d9ed1&hosts=55b5153f-ecb8-4179-9d2f-2bec878e4f89&hosts=55e2fd54-a1da-4b34-8af8-5ea45f4e2244&hosts=56cde1a8-fbd4-48b3-8e66-962a8d0715cb&hosts=570851ab-665c-4e70-ac05-67f5a6d1022a&hosts=57b03286-106a-4c1f-933d-a36615bf470b&hosts=585153c0-dd90-43af-81c8-602fadcf769e&hosts=5ac749ad-cc82-4a20-9343-b52569810032&hosts=5b1f6d49-a6a2-4a12-a01b-1a8ac625ee28&hosts=5c10fddc-de4f-405e-82fd-7418db1df3f5&hosts=5cbe6b69-bad7-4d0d-b6ec-d703323e3f15&hosts=5cc6eef6-9b12-43bf-b69a-6ef1144f9642&hosts=5d032811-27a8-42f6-8169-6b0b9fb50c72&hosts=5f6d132a-8d64-4d2f-a3bc-1f5a5cf1385f&hosts=5fea5232-d3f7-46a3-9580-3cf8d69602c9&hosts=617bb6a6-3da0-48cd-b82f-27ecd75320bb&hosts=63a90bcc-251b-4f7e-bf3e-37151a1406df&hosts=66a2b6c9-0a06-4922-93f8-7988bc890e45&hosts=66b0139a-a176-4f78-8997-2ea237ed0392&hosts=66eff7f9-7f43-4398-836f-89230e7b3e24&hosts=6759da75-5fa5-4ff1-9b1e-669ec33c8aec&hosts=6803bd99-4d1e-4a83-9cd1-9b3eec38b022&hosts=6859f4d1-4870-43c6-b505-33b44a085f03&hosts=6890d81d-a8f4-47d5-b38b-be5290e9203a&hosts=69b7e5f4-ebcf-4413-9cdc-ad9f965b4eca&hosts=6a7bc29a-342c-420b-9318-7c2a40c92ec0&hosts=6a9d99a3-c8b5-45bc-a2de-db31e94bcc6b&hosts=6adf35f0-848f-4863-851f-ebabaf126de2&hosts=6b2ec145-b82a-4af7-9132-db08ab35be34&hosts=6d74a0c6-c70b-4886-9d30-9ee8624cc19e&hosts=6e065b8c-4b7f-4280-adb6-bf0ea30820db&hosts=6ed78aff-54c1-4882-9b96-1dc6f4c5637a&hosts=6ef3547b-9fa1-421d-88a5-ea1c5b4c27c7&hosts=7145be36-6cb1-4132-b67c-d7bdcbbe1086&hosts=72374dbd-80b0-4e80-a916-4fbf7638c413&hosts=724d83b2-b055-4001-8266-45bcea1e0d81&hosts=7476f704-b4ca-4fa1-bce7-17ba9bd3adb5&hosts=74af49e7-be01-42a7-9179-5f7e02702401&hosts=75a0b6bd-853e-4361-924a-d6753951049c&hosts=75b9c8af-3dbb-4130-9529-b2972b1a912f&hosts=75f818f2-c4a9-426d-b5fb-48c40676562a&hosts=762a473f-83a5-4fcd-81ee-09005da59f2e&hosts=76a920ab-3119-45f2-b1f8-42c79452f439&hosts=774d5731-5453-4b1b-b959-a43dc2ee51a3&hosts=7769a482-7551-4c0a-8293-d67df0b7340d&hosts=786d72bc-eedd-4736-bb02-9666ae9b1017&hosts=798be5b3-3694-4a50-80a1-1a2ab81e82de&hosts=79c64a8e-3079-4980-8fe4-23f11651537d&hosts=7a140f10-115b-45a6-ba84-9851f530dc30&hosts=7a445929-170f-4dab-a40c-e1fb6eed0312&hosts=7ac1b572-7867-4b05-84cf-88de43b4468c&hosts=7b27634a-f112-4192-9c0c-a16334a95d0a&hosts=7b87270b-3cce-48b0-adae-4c665ebf6d49&hosts=7bf0c2c3-3d90-481e-8d47-e1a252bfb4f8&hosts=7c8f1f5f-7771-46e6-ae06-6fb55a38d8e9&hosts=7d70d684-01b4-432c-957c-d3a5c500e1cb&hosts=7fc40c5d-28ad-4a36-ab7a-09f2e2849f8c&hosts=801bc741-7173-4b10-8777-911307d48ba3&hosts=80d19e0d-47a0-438b-937d-641b8f1455ff&hosts=80fc5e8a-18d5-4191-be87-2a7eea9447d2&hosts=8355f962-64fd-4e14-9c69-633d6c4072bd&hosts=83a0dd52-99b7-4ad1-bae7-062c462a766d&hosts=84b1edb2-ddd5-4795-bc5b-21108541a08a&hosts=86122364-102f-419d-8d52-92c8b97e761b&hosts=86513bbf-b34e-4350-8bef-cfe948c9d785&hosts=8682dd97-e4ea-4104-9a90-ada2a6e97d43&hosts=86b27470-3783-4ac6-85fc-e1874bd50093&hosts=876660bf-874e-4213-ae8f-e3c5b3189863&hosts=879e9606-2ae7-451f-bb00-e8fbb7b5c025&hosts=89975066-edec-4b74-93b9-e275fa269ca8&hosts=89cca312-b6e0-4293-953d-999dded36d8c&hosts=8a166de5-c69e-4c34-9e6f-e8e24464d8e8&hosts=8a9d2d71-f32c-491f-aadb-11b7d5a69f09&hosts=8aaf4914-27bd-4bfe-bd15-c32f2bcf1554&hosts=8b55d44a-ef05-40dd-82f1-22e44da4bff6&hosts=8cd1a178-21a0-4b6a-bbce-b72193a1ff27&hosts=8cffe861-909a-440d-9bbd-f4dcfe6c2667&hosts=8d0b408b-bdfa-4dd3-b685-906d764ab6ff&hosts=8e2828e9-ea50-4de3-a87e-2ae391a8da94&hosts=8e463ee2-32ee-44a8-bba3-519617ea4b9a&hosts=8f637a2a-8de6-496f-8a7f-fa21ab3dfbd6&hosts=90ca823c-84b8-422d-97dd-154d4378c72b&hosts=90e5f927-b586-4b72-80fe-1adf43e694b0&hosts=912de443-01fe-4e01-95c1-7ebcf02ccec4&hosts=91bb19f6-fa93-4677-bf94-02004c198409&hosts=91f87d82-b318-4ec0-9c8e-2cf791481e20&hosts=9269dc7c-3f1e-4d98-90cf-4568b16fe107&hosts=93b25635-b061-4256-b8fb-de6397bb9974&hosts=95ab974d-843e-4b3e-bf36-cfdb81a6fa2f&hosts=97d0ca39-e30e-403c-9740-96d3dc45f42e&hosts=986149a0-4748-45ba-a6c0-eef7f14c8c08&hosts=987e0dc3-9b8b-4f5d-a4be-d0b7710a6aad&hosts=9af9c762-ce74-4f66-9123-d2f8648b57e9&hosts=9b7c5871-5988-4df2-a016-9120670b2003&hosts=9cb373eb-5fb7-4185-83d1-2518d5671659&hosts=9d176c67-d6f4-43dc-a5ab-575572b1d2d3&hosts=a07f8b0e-8be2-4a02-837a-dd809422cc5c&hosts=a1cfa37d-f3e5-44e5-923a-ea0c2415b111&hosts=a21a94e5-aadc-4786-b2d9-e9c01b88f431&hosts=a36ab467-623f-4f4b-83b0-f328cf71fc9e&hosts=a42a34c5-7317-47a0-a864-0f4d69f19e9b&hosts=a4f4bb6a-6b35-4c02-822b-472706049167&hosts=a50bdd63-7824-4739-8b5a-5aa09b0be231&hosts=a6f300be-b425-49e5-8d7c-e38328dad422&hosts=a749090d-426f-498e-91a7-e6951bfd91c3&hosts=a79942c1-7447-4462-b416-d43977d0899f&hosts=a7cbc474-a8dd-4aa0-afff-3a5ab0909595&hosts=a88a1af3-b352-4816-a2df-88f36d8e27d1&hosts=a9ca1d0d-a967-4195-882a-0934f835311e&hosts=a9cb0a4b-a9d3-4ad7-bb48-ad28ff4765d2&hosts=aa7b9491-09eb-4b4b-ac85-eb2721fe7c66&hosts=aa986d5a-7965-42d6-82c5-a343aaa6215f&hosts=ab807b4d-e437-487d-9ddb-e11f3f668104&hosts=ab9b901b-04a8-433c-8788-de8248b3182f&hosts=abe90ee1-4c9b-4e62-b428-dbf612d40096&hosts=ac1fcf6f-9447-4305-b466-c3baf3206b1a&hosts=ae8ce7c5-6091-4539-8525-deb98bfb314f&hosts=afd6eadb-39a5-4c04-9b9e-ba83424a8911&hosts=b22e3287-7cf5-400d-9959-1b0f4f6f5632&hosts=b36d2dfb-a6d1-40e4-9284-e67702e9a851&hosts=b4981c64-d1ab-42e8-805b-4d1379612634&hosts=b4c69217-d97e-4542-b528-614ef7bbcccb&hosts=b64e41f1-fecf-42ce-b5bd-5245d83da908&hosts=b6993668-8157-4d72-81ea-34b8cb3fadce&hosts=b7949751-8911-47be-9382-56f42798c1d2&hosts=b8366694-5ecf-464a-8eef-40af8ce0c272&hosts=b893f494-c4a2-4ac1-bd43-d141c631e2bd&hosts=b8b7cae4-7f28-4294-928d-097e6b56f70b&hosts=b8e8e775-8385-4975-b53a-863b559bbdb9&hosts=b9f8a553-254f-4cd6-b465-7ed6e5d81ae5&hosts=bac9f9b1-93dd-48db-a019-2efb771d9910&hosts=bb3eb1bb-d81c-4e74-95ad-93ab9722178f&hosts=bc76ef17-722f-4b58-845b-2e92ea75ed37&hosts=bd637acd-231c-4a7b-8870-178832d9563b&hosts=be3c867a-ee9a-4e2a-85ea-d33bda303589&hosts=c02db00c-2ae5-4108-925a-bca7a51d18e7&hosts=c051db75-dc21-4b63-823c-cb31c954c070&hosts=c2f72ca7-7ce3-4c42-82a8-18dc73061225&hosts=c3016179-dfd5-4136-a2b9-60c3e7f1596b&hosts=c31849f8-c13d-49dc-8a46-44bdac8f49c8&hosts=c3c52915-24c3-45f4-ade9-317863227f72&hosts=c425c76e-7ed0-48ba-b473-90061a2478b9&hosts=c57714b8-9588-4f61-ba27-0ffe7a61ead2&hosts=c6615cf1-a2ac-48e3-b2ff-ea5843e46f81&hosts=c66ecce9-cebf-441b-bdb4-99094d4511ab&hosts=c8401b98-43e2-42aa-81a3-f662f9a24e80&hosts=c8885b5f-19bd-41dc-b5f8-979409bd3b61&hosts=ca0210b2-2c34-462d-bceb-5d39fe293db6&hosts=ca1f86f2-947a-4c19-842e-459bcdcb79ad&hosts=ca71e964-9124-440d-83b5-e7e036739838&hosts=cab43811-1e65-445e-8988-0b3081e4215f&hosts=cbfb69a0-b097-41f4-82a5-78830b979782&hosts=d09b9bbb-7d40-405f-986a-5777a4dc4560&hosts=d0a24335-9c23-42b5-9e82-19582782614d&hosts=d0d19fb1-cd2f-492d-b5bd-1992a8b1ea94&hosts=d11e05bf-b828-4f72-9a4b-64a2b6e86a46&hosts=d19803ae-e383-46e1-8423-8f12a280cdba&hosts=d2b67af9-449e-4a4d-b875-813e64e72f62&hosts=d2cfd207-ea2b-45b4-aa97-9d4a0ab20d46&hosts=d314702b-a844-43c1-80b6-e2c004bac41e&hosts=d3e3d131-7853-4735-89b3-f5a013dcc95c&hosts=d408b5c6-dac9-4d16-b871-d9c6e24fa136&hosts=d4bb2ddc-081c-4a63-915c-3cee3dcc8fb5&hosts=d55878ff-6cf8-40df-b07d-ce28df83e58c&hosts=d69d82e8-60b6-4bef-ae74-b362eb9e8135&hosts=d6e688f0-08f4-4b30-acb4-a13ae97af1e2&hosts=d72efff3-2591-420b-8a39-2c37532453c4&hosts=d7548cc5-eb17-461d-bfdf-aa56a6ae5f81&hosts=d7ea9b81-df32-4847-8d57-92484aa5f838&hosts=da8e662c-1ebb-4009-a77f-fad1706f367e&hosts=db443daa-7b1a-4a93-899e-608d2f864076&hosts=dc9ea478-a8da-4526-8062-9c27709b072a&hosts=dd4f25aa-9d23-4326-b2d6-0b00a810ee38&hosts=ddb12eac-64a9-4854-8d09-801607425758&hosts=ddc012c9-cdac-4f9f-bed4-075a0b11e835&hosts=dea127d1-8245-4c50-991c-9c7ffdb7c2ed&hosts=dec915f8-0867-44e9-be10-e0cf57ef7573&hosts=df9b53d4-8059-4249-a65d-bc770ff2a8db&hosts=e03b798d-9e09-4b2b-9139-082044fefc92&hosts=e0d69c99-96ff-40cf-affc-8cfa8ae19e8a&hosts=e0fabb08-5e51-4798-bba3-cb18ded40ff1&hosts=e1c689f6-9627-4ab5-b035-9bca2503580f&hosts=e22702e5-9307-424b-84c7-5c11b670da7d&hosts=e30b36a2-3488-48ef-b5f1-daf630238627&hosts=e695486a-6473-4e9a-93b6-1737072a7218&hosts=e773222a-b65b-4f44-b942-fd31c3e00b4b&hosts=e8880050-3bad-4058-9715-b93d569d790f&hosts=e96fb238-acb8-4c93-a7c0-611138b54c86&hosts=ea0ce2e8-eee7-423b-b248-10e32d6ba4e1&hosts=eb620af6-776c-4d67-96d6-c2f1cce2c21c&hosts=eb68b94a-fa6a-4e7b-91b2-1b6bd74b3497&hosts=eb91db1a-597b-400a-9171-413a425d887d&hosts=ee59c97e-e2fe-4556-b0b2-c122af433ade&hosts=ee5d7945-9bc7-4cfe-af2c-884bd0ab16e7&hosts=ef25a4a9-070a-48c9-8dc9-0ee8e23eb4cf&hosts=efadc864-ed67-419d-b284-2298fe8d7172&hosts=f12f4e87-1419-4766-98fc-b7c7c1c8ca2f&hosts=f2329e0a-b3ec-448a-9fe3-b609aad49587&hosts=f369be3e-669b-47c2-96ef-91e32625d8c5&hosts=f3e450e8-9861-4a4e-ad62-7a3693e418ee&hosts=f4ae9f2a-0d33-4c26-b791-2a15cbc18be6&hosts=f6589fa7-b0e2-4df1-9054-d7a02222b943&hosts=f70d5003-4795-4982-8c27-1b8c972dd88e&hosts=f7a8aeb6-2ae3-47e1-a64e-5b6223ed02c5&hosts=f7e19ce8-d6e4-401e-9ab8-37bc0ad1c714&hosts=f9045883-7f02-43e2-adb1-db5793b5b352&hosts=f94a2b60-33d7-4da9-8b1d-37cc96f5ac2d&hosts=fa4edc94-e28c-4998-8136-0e131449f332&hosts=fac623d2-ad40-4a28-a663-3cd85b885edb&hosts=fc6c6bc1-ac3f-4123-9e2f-d992683e1f17&hosts=fceb6c5d-911c-425b-998e-2c342f8acb6f&hosts=ff17c0f2-9871-444e-9024-b51814f461a1&hosts=ffb00bde-9e53-44e7-8fee-d791ad7501ae&hosts=ffd644bb-3e70-4a23-839b-e9e10513ce5f&hosts=ffe12e41-c822-42a7-82d1-41b1198a9c4a

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.

Comment 8 Eric Helms 2024-06-06 12:47:36 UTC
This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there.

Due to differences in account names between systems, some fields were not replicated.  Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information.

To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "SAT-" followed by an integer.  You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like:

"Bugzilla Bug" = 1234567

In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information.