Actions
Bug #34209
closedcapsule sync broken with new mirroring policy
Difficulty:
Triaged:
Yes
Description
Since https://github.com/Katello/katello/pull/9834 was merged, Katelli pipelines are red because they fail to sync a capsule:
hammer capsule content synchronize --id=$PROXY_ID' failed with status 70 # Error: Error message: the server returns an error # HTTP status code: 400 # Response headers: {"date"=>"Mon, 03 Jan 2022 00:39:10 GMT", "server"=>"gunicorn", "content-type"=>"application/json", "vary"=>"Accept,Cookie", "allow"=>"POST, OPTIONS", "x-frame-options"=>"DENY", "content-length"=>"152", "x-con tent-type-options"=>"nosniff", "referrer-policy"=>"same-origin", "correlation-id"=>"62f0f18c-8d66-4852-a53c-3a48167e4b9a", "access-control-expose-headers"=>"Correlation-ID", "via"=>"1.1 pipe-katello-proxy-nightly-centos7.n41.exam ple.com", "connection"=>"close"} # Response body: {"non_field_errors":["Cannot use 'mirror' and 'sync_policy' options simultaneously. The 'mirror' option is deprecated, please use 'sync_policy' only."]} # Could not lookup a publication_href for repo 31 # Error message: the server returns an error # HTTP status code: 400
Actions