[Pulp-list] advice for extracting more information from 'Forbidden' during sync jobs?

Brian Bouterse bbouters at redhat.com
Mon Apr 2 18:03:16 UTC 2018


Did the log show anything? I think if the task has a fatal exception it
logs it.

If you don't see any errors, maybe patch the code to add some log
statements? Maybe someone could link to the area where a 403 error would be
handled?

On Mon, Apr 2, 2018 at 11:04 AM, Kodiak Firesmith <kfiresmith at gmail.com>
wrote:

> Hi Pulp People,
> I suspect Red Hat is having some limited trouble with their CDN lately as
> 2 Red Hat CDN repos started throwing forbiddens last week, and 2 additional
> repos started throwing forbiddens over the weekend for a total of 4 out of
> perhaps about 80 Red Hat CDN repos currently showing forbidden during sync.
>
> The biggest problem is that it happens later into the sync and even with
> TCPDump running it all happens within a TLS v1.2 tunnel so I can't see what
> the remote origin of the 403 is.  Pulp is currently "too helpful" in that
> it completely obfuscates paths and response codes, even during '-vvv'
> runs.
>
> Here's an example:
>
>  https://cdn.redhat.com/content/beta/rhel/server/7/x86_64/rhscl/1/os
>
> $pulp-admin  rpm repo sync run --repo-id=rhel-server-rhscl-7-beta-rpms
> +----------------------------------------------------------------------+
>         Synchronizing Repository [rhel-server-rhscl-7-beta-rpms]
> +----------------------------------------------------------------------+
>
> This command may be exited via ctrl+c without affecting the request.
>
>
> Downloading metadata...
> [\]
> ... completed
>
> Downloading repository content...
> [-]
> [==================================================] 100%
> RPMs:       0/0 items
> Delta RPMs: 0/0 items
>
> ... completed
>
> Downloading distribution files...
> [==================================================] 100%
> Distributions: 0/0 items
>
> Task Failed
>
> Error retrieving metadata: Forbidden
>
>
> If anyone has any advice, that would be rad.  Thanks all!
>
>  - Kodiak
>
> _______________________________________________
> Pulp-list mailing list
> Pulp-list at redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20180402/9fda1a5e/attachment.htm>


More information about the Pulp-list mailing list