Project

General

Profile

Actions

Bug #34209

closed

capsule sync broken with new mirroring policy

Added by Evgeni Golov over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Fixed in Releases:
Found in Releases:

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

Related issues 1 (0 open1 closed)

Related to Katello - Feature #33939: support pulp-rpm's sync_policy to give better control on mirroring optionsClosedJustin SherrillActions
Actions #1

Updated by The Foreman Bot over 2 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Evgeni Golov
  • Pull request https://github.com/Katello/katello/pull/9874 added
Actions #2

Updated by Evgeni Golov over 2 years ago

  • Related to Feature #33939: support pulp-rpm's sync_policy to give better control on mirroring options added
Actions #3

Updated by The Foreman Bot over 2 years ago

  • Fixed in Releases Katello 4.4.0 added
Actions #4

Updated by Evgeni Golov over 2 years ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by Jonathon Turel over 2 years ago

  • Target version changed from Katello 4.4.0 to Katello 4.3.0
  • Triaged changed from No to Yes
Actions #6

Updated by The Foreman Bot over 2 years ago

  • Pull request https://github.com/Katello/katello/pull/9899 added
Actions

Also available in: Atom PDF