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

Austin Macdonald amacdona at redhat.com
Mon Apr 2 18:08:54 UTC 2018


IIRC, "INFO" level logging shows the outgoing requests.

On Mon, Apr 2, 2018 at 2:03 PM, Brian Bouterse <bbouters at redhat.com> wrote:

> 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
>>
>
>
> _______________________________________________
> 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/87e4c9a2/attachment.htm>


More information about the Pulp-list mailing list