[prev in list] [next in list] [prev in thread] [next in thread]
List: katello
Subject: RE: Sync repo via http proxy
From: "Innes, Duncan" <Duncan.Innes () virginmoney ! com>
Date: 2013-08-29 12:58:29
Message-ID: 56343345B145C043AE990701E3D1939501D56BF0 () EXVS2 ! nrplc ! localnet
[Download RAW message or body]
--===============2667814106466403591==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01CEA4B7.7517CD6E"
This is a multi-part message in MIME format.
Thanks for the pointer. I'm probably closer, but still no cigar:
[root@edpldwkst03 ~]# cat
/etc/pulp/server/plugins.conf.d/yum_importer.json
{
"proxy_host" : "http://<PROXY_IP> <http://<PROXY_IP>> ",
"proxy_port" : 80,
"proxy_username" : "username",
"proxy_password" : "password"
}
[root@edpldwkst03 ~]# cat
/usr/lib/pulp/plugins/importers/yum_importer/yum_importer.conf
{
"proxy_url" : "http://<PROXY_IP> <http://<PROXY_IP>> ",
"proxy_port" : 80,
"proxy_username" : "username",
"proxy_password" : "password"
}
I see your ticket uses proxy_host whereas the pulp recipe page I saw
(http://pulp-rpm-user-guide.readthedocs.org/en/latest/recipes.html#use-a
-proxy) uses proxy_url. I've tried the files with the various
combinations, but still get nothing. Same error in the pulp.log too.
The zone this box is in can't access the web proxy that doesn't require
user authentication. Is this a problem?
D
________________________________
From: katello-bounces@lists.fedorahosted.org
[mailto:katello-bounces@lists.fedorahosted.org] On Behalf Of Justin
Sherrill
Sent: 29 August 2013 12:23
To: katello@lists.fedorahosted.org
Subject: Re: Sync repo via http proxy
On 08/29/2013 05:45 AM, Innes, Duncan wrote:
Hi,
Trying to set up a repo sync via a web proxy, but the
various methods I've used all fail.
The wiki says to edit /etc/pulp/pulp.conf, but this
appears to be out of date due to using pulp 2.2.0
Pulp 2.2.0 says edit
/etc/pulp/server/plugins.conf.d/yum_importer.json. I've done this very
carefully and restarted katello completely.
Am I going wrong somewhere?
Hi Duncan,
I believe you're close to getting it working, see this bugzilla
for more details:
https://bugzilla.redhat.com/show_bug.cgi?id=985106
-Justin
Duncan Innes
_______________________________________________
katello mailing list
katello@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/katello
This message has been checked for viruses and spam by the Virgin Money email scanning \
system powered by Messagelabs.
This e-mail is intended to be confidential to the recipient. If you receive a copy in \
error, please inform the sender and then delete this message.
Virgin Money plc - Registered in England and Wales (Company no. 6952311). Registered \
office - Jubilee House, Gosforth, Newcastle upon Tyne NE3 4PL. Virgin Money plc is \
authorised by the Prudential Regulation Authority and regulated by the Financial \
Conduct Authority and the Prudential Regulation Authority.
The following companies also trade as Virgin Money. They are both authorised and \
regulated by the Financial Conduct Authority, are registered in England and Wales and \
have their registered office at Discovery House, Whiting Road, Norwich NR4 6EJ: \
Virgin Money Personal Financial Service Limited (Company no. 3072766) and Virgin \
Money Unit Trust Managers Limited (Company no. 3000482).
For further details of Virgin Money group companies please visit our website at \
virginmoney.com
[Attachment #3 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19298"></HEAD>
<BODY bgColor=#ffffff text=#000000>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=852434412-29082013>Thanks for the pointer. I'm probably closer, but
still no cigar:</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=852434412-29082013></SPAN></FONT> </DIV><FONT color=#0000ff size=2
face=Arial>[root@edpldwkst03 ~]# cat
/etc/pulp/server/plugins.conf.d/yum_importer.json <BR>{<BR> "proxy_host" :
"</FONT><A href="http://<PROXY_IP>"><FONT face=Arial><FONT size=2>http://<SPAN
class=852434412-29082013><PROXY_IP></SPAN></FONT></FONT></A><FONT
color=#0000ff size=2 face=Arial>",<BR> "proxy_port" :
80,<BR> "proxy_username" : "<SPAN
class=852434412-29082013>username</SPAN>",<BR> "proxy_password" : "<SPAN
class=852434412-29082013>password</SPAN>"<BR>}<BR>[root@edpldwkst03 ~]# cat
/usr/lib/pulp/plugins/importers/yum_importer/yum_importer.conf
<BR>{<BR> "proxy_url" : "</FONT><A href="http://<PROXY_IP>"><FONT
face=Arial><FONT size=2>http://<SPAN
class=852434412-29082013><PROXY_IP></SPAN></FONT></FONT></A><FONT
color=#0000ff size=2 face=Arial>",<BR> "proxy_port" :
80,<BR> "proxy_username" : "<SPAN
class=852434412-29082013>username</SPAN>",<BR> "proxy_password" : "<SPAN
class=852434412-29082013>password</SPAN>"<BR>}<BR></FONT>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=852434412-29082013></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=852434412-29082013>I see your ticket uses proxy_host whereas the pulp
recipe page I saw (<A
href="http://pulp-rpm-user-guide.readthedocs.org/en/latest/recipes.html#use-a-proxy">h \
ttp://pulp-rpm-user-guide.readthedocs.org/en/latest/recipes.html#use-a-proxy</A>) \
uses proxy_url. I've tried the files with the various combinations, but still \
get nothing. Same error in the pulp.log too.</SPAN></FONT></DIV> <DIV dir=ltr \
align=left><FONT color=#0000ff size=2 face=Arial><SPAN \
class=852434412-29082013></SPAN></FONT> </DIV> <DIV dir=ltr align=left><FONT \
color=#0000ff size=2 face=Arial><SPAN class=852434412-29082013>The zone this box is \
in can't access the web proxy that doesn't require user authentication. Is \
this a problem?</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=852434412-29082013></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=852434412-29082013>D</SPAN></FONT></DIV><BR>
<BLOCKQUOTE
style="BORDER-LEFT: #0000ff 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; \
MARGIN-RIGHT: 0px"> <DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> katello-bounces@lists.fedorahosted.org
[mailto:katello-bounces@lists.fedorahosted.org] <B>On Behalf Of </B>Justin
Sherrill<BR><B>Sent:</B> 29 August 2013 12:23<BR><B>To:</B>
katello@lists.fedorahosted.org<BR><B>Subject:</B> Re: Sync repo via http
proxy<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=moz-cite-prefix>On 08/29/2013 05:45 AM, Innes, Duncan
wrote:<BR></DIV>
<BLOCKQUOTE
cite=mid:56343345B145C043AE990701E3D1939501D56BED@EXVS2.nrplc.localnet
type="cite">
<META name=GENERATOR content="MSHTML 8.00.6001.19298">
<DIV><SPAN class=327553709-29082013><FONT size=2
face=Arial>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=327553709-29082013></SPAN> </DIV>
<DIV><SPAN class=327553709-29082013><FONT size=2 face=Arial>Trying to set up
a repo sync via a web proxy, but the various methods I've used all
fail.</FONT></SPAN></DIV>
<DIV><SPAN class=327553709-29082013></SPAN> </DIV>
<DIV><SPAN class=327553709-29082013><FONT size=2 face=Arial>The wiki says to
edit /etc/pulp/pulp.conf, but this appears to be out of date due to using
pulp 2.2.0</FONT></SPAN></DIV>
<DIV><SPAN class=327553709-29082013></SPAN> </DIV>
<DIV><SPAN class=327553709-29082013><FONT size=2 face=Arial>Pulp 2.2.0 says
edit /etc/pulp/server/plugins.conf.d/yum_importer.json. I've done this
very carefully and restarted katello completely.</FONT></SPAN></DIV>
<DIV><SPAN class=327553709-29082013></SPAN> </DIV>
<DIV><SPAN class=327553709-29082013><FONT size=2 face=Arial>Am I going wrong
somewhere?<BR><BR></FONT></SPAN></DIV></BLOCKQUOTE>Hi Duncan,<BR><BR>I believe
you're close to getting it working, see this bugzilla for more details:
<BR><BR><A class=moz-txt-link-freetext
href="https://bugzilla.redhat.com/show_bug.cgi?id=985106">https://bugzilla.redhat.com/show_bug.cgi?id=985106</A><BR><BR>-Justin<BR><BR>
<BLOCKQUOTE
cite=mid:56343345B145C043AE990701E3D1939501D56BED@EXVS2.nrplc.localnet
type="cite">
<DIV> </DIV>
<DIV align=left><FONT size=2 face=Arial>Duncan Innes</FONT></DIV> <BR><PRE \
wrap="">_______________________________________________ katello mailing list
<A class=moz-txt-link-abbreviated \
href="mailto:katello@lists.fedorahosted.org">katello@lists.fedorahosted.org</A> <A \
class=moz-txt-link-freetext \
href="https://lists.fedorahosted.org/mailman/listinfo/katello">https://lists.fedorahosted.org/mailman/listinfo/katello</A>
</PRE></BLOCKQUOTE></BLOCKQUOTE><br clear="both">
This message has been checked for viruses and spam by the Virgin Money email scanning \
system powered by Messagelabs.<BR> <BR>
<BR>
<BR>
This e-mail is intended to be confidential to the recipient. If you receive a copy in \
error, please inform the sender and then delete this message.<BR> <BR>
Virgin Money plc - Registered in England and Wales (Company no. 6952311). Registered \
office - Jubilee House, Gosforth, Newcastle upon Tyne NE3 4PL. Virgin Money plc is \
authorised by the Prudential Regulation Authority and regulated by the Financial \
Conduct Authority and the Prudential Regulation Authority.<BR> <BR>
The following companies also trade as Virgin Money. They are both authorised and \
regulated by the Financial Conduct Authority, are registered in England and Wales and \
have their registered office at Discovery House, Whiting Road, Norwich NR4 6EJ: \
Virgin Money Personal Financial Service Limited (Company no. 3072766) and Virgin \
Money Unit Trust Managers Limited (Company no. 3000482).<BR> <BR>
For further details of Virgin Money group companies please visit our website at \
virginmoney.com<BR> </BODY></HTML>
[Attachment #4 (unknown)]
_______________________________________________
katello mailing list
katello@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/katello
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic