Project

General

Profile

Actions

Bug #20214

closed

Regresion Redhat Repos can't sync Error retrieving metadata: Forbidden

Added by Mario Gamboa over 7 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
Repositories
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Today i just upgrade to 3.4.2 katello and try to resync the redhat repos and this ones fail , also i refresh the manifest and try again same issue

Jul 5 13:53:26 satellite pulp: py.warnings:WARNING: (2901-49824)
Jul 5 13:53:26 satellite pulp: pulp.server.async.tasks:INFO: Task failed : [9447f888-f1b1-49ff-ac2e-4b340a11d96e] : Error retrieving metadata: Forbidden
Jul 5 13:53:26 satellite pulp: py.warnings:WARNING: (2901-49824) /usr/lib/python2.7/site-packages/mongoengine/document.py:367: DeprecationWarning: update is deprecated. Use replace_one, update_one or update_many instead.
Jul 5 13:53:26 satellite pulp: py.warnings:WARNING: (2901-49824) upsert=upsert, **write_concern)
Jul 5 13:53:26 satellite pulp: py.warnings:WARNING: (2901-49824)
Jul 5 13:53:26 satellite pulp: celery.worker.job:INFO: Task pulp.server.managers.repo.sync.sync[9447f888-f1b1-49ff-ac2e-4b340a11d96e] raised expected: PulpCodedException()
Jul 5 13:53:26 satellite pulp: celery.worker.job:INFO: Task pulp.server.async.tasks._release_resource[4f0c24af-5f7f-4524-867d-fbdef3693a14] succeeded in 0.00388895600008s: None

Foreman Debug
http://debugs.theforeman.org/foreman-debug-pW746.tar.xz

Actual Results
Katello is not able of sync the RedHat repos is Forbidden

Expect result
Katello able to sync RedHat Repos without issues

Actions #1

Updated by Mario Gamboa over 7 years ago

Looking this behavior i notice this only happen if i try to sync manual meanwhile syncing with a sync plan apparently is working fine i don't know what could be the difference

Actions #2

Updated by Justin Sherrill over 7 years ago

  • Status changed from New to Need more information

This may be a duplicate of http://projects.theforeman.org/issues/20242

would you be able to test this patch? https://github.com/Katello/katello/pull/6859

Actions #3

Updated by Mario Gamboa over 7 years ago

  • Status changed from Need more information to Resolved

Apply patch and the issue is not happen anymore

Actions #4

Updated by Eric Helms over 7 years ago

  • Translation missing: en.field_release changed from 267 to 281
Actions

Also available in: Atom PDF