[Satellite 6.10] Repository sync ends in warning with HTTP 400 error and Response body: {"sync_policy":["Unexpected field"]}
Issue
After updating packages on Satellite server via the satellite-maintain packages update command, all repository sync tasks fail with HTTP 400 error. For each of the repository sync tasks, the 6: Actions::Pulp3::Repository::Sync subtask is skipped with the following error reported:
PulpRpmClient::ApiError
Error message: the server returns an error HTTP status code: 400 Response headers: {"Date"=>"Tue, 15 Mar 2022 10:16:06 GMT", "Server"=>"gunicorn", "Content-Type"=>"application/json", "Vary"=>"Accept,Cookie", "Allow"=>"POST, OPTIONS", "X-Frame-Options"=>"SAMEORIGIN", "Content-Length"=>"36", "Correlation-ID"=>"2f436ec3-7755-4049-8527-ade7b25d1197", "Access-Control-Expose-Headers"=>"Correlation-ID", "Via"=>"1.1 satellite.example.com", "Connection"=>"close"} Response body: {"sync_policy":["Unexpected field"]}
Environment
- Red Hat Satellite 6.10
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.