I recapitulate:

yum install <package>

* With basic configuration on-demand download policy

yum -> pulp-streamer -> external ---> Error 503 in yum

* WIth ProxyRemote * "http://proxy_url:8080"; in 
/etc/httpd/conf.d/pulp_streamer.conf

yum -> pulp-streamer -> external ---> Error 407 in yum (require proxy 
authorization)

* With RequestHeader set Proxy-Authorization "Basic <base64 user:pass>" and 
SetEnv proxy-chain-auth On in <Location /streamer/> block in 
/etc/httpd/conf.d/pulp_streamer.conf

yum -> pulp-streamer -> external ---> Error 301 Redirect permanently in yum

Any idea to fix this little problem?

On-demand download policy is very intersting to download only required 
packages.

Le jeudi 9 juin 2016 15:47:30 UTC+2, [email protected] a écrit :
>
> With immediate policy, it's ok.
>
> With on-demand or backgroup: [Errno 14] HTTPS Error 301 - Moved 
> Permanently in yum command.
>
> Le mercredi 8 juin 2016 16:22:15 UTC+2, David a écrit :
>>
>> Nicolas,
>>
>> Are you trying to sync repositories via on-demand or background? The 
>> options would use pulp-streamer/squid. Can you also try to just grab them 
>> using the immediate download policy? That should eliminate squid and 
>> pulp-streamer from the equation.
>>
>> You shouldn't really have to tweak the pulp_streamer or squid 
>> configuration. As long as Satellite can fetch the repositories through your 
>> corporate proxy, squid should work as well.
>>
>> David
>>
>>
>> On Wednesday, June 8, 2016 at 9:33:38 AM UTC-4, [email protected] wrote:
>>>
>>> I progress...
>>>
>>> Adding in /etc/httpd/conf.d/pulp_streamer.conf:
>>> ProxyRemote * "http://proxy_url:8080";
>>> RequestHeader set Proxy-Authorization "Basic <base64 username:password>"
>>>
>>> yum update return now:
>>> [Errno 14] HTTPS Error 301 - Moved Permanently
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to