<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=PT link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Hello,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><br>I spotted a typo. The correct syntax is:<o:p></o:p></span></p><pre><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'><br></span><span lang=EN-US style='font-size:12.0pt;color:black'>server.satellite.http_proxy = proxy.example.com:3128<o:p></o:p></span></pre><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Thanks,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Nuno<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='mso-fareast-language:PT'>From:</span></b><span lang=EN-US style='mso-fareast-language:PT'> spacewalk-list-bounces@redhat.com [mailto:spacewalk-list-bounces@redhat.com] <b>On Behalf Of </b>Nuno Higgs<br><b>Sent:</b> terça-feira, 26 de setembro de 2017 16:43<br><b>To:</b> spacewalk-list@redhat.com<br><b>Subject:</b> Re: [Spacewalk-list] Error in proxy defs in spacewalk-repo-sync since upgrading to 2.7<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='color:#1F497D'>Hello All,<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Found a workaround on that issue:<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>a) Unconfigure the /etc/rhn/spacewalk-repo-sync/yum.cnf proxy setting.<br>b) Enable/configure the server.satellite.http_proxy flag as suggested on </span><span style='color:#1F497D'><a href="https://access.redhat.com/solutions/175053"><span lang=EN-US style='color:#1F497D;text-decoration:none'>https://access.redhat.com/solutions/175053</span></a></span><span lang=EN-US style='color:#1F497D'> for file /etc/rhn/rhn.conf.<br><br>server.satellite.http_proxy = </span><span style='color:#1F497D'><a href="http://proxy.example.com:3128/" target="_blank" title="Opens in a new window"><span lang=EN-US style='color:#1F497D;text-decoration:none'>http://proxy.example.com:3128</span></a></span><span lang=EN-US style='color:#1F497D'><br><br>I’ve opened the bugzilla report 1496172 regarding the issue. </span><span style='color:#1F497D'>Don’t know if the /etc/rhn/spacewalk-repo-sync/yum.cnf has been deprecated, or if this is a bug.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><br>Thanks,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Nuno<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='mso-fareast-language:PT'>From:</span></b><span lang=EN-US style='mso-fareast-language:PT'> <a href="mailto:spacewalk-list-bounces@redhat.com">spacewalk-list-bounces@redhat.com</a> [<a href="mailto:spacewalk-list-bounces@redhat.com">mailto:spacewalk-list-bounces@redhat.com</a>] <b>On Behalf Of </b>Nuno Higgs<br><b>Sent:</b> terça-feira, 26 de setembro de 2017 16:08<br><b>To:</b> <a href="mailto:spacewalk-list@redhat.com">spacewalk-list@redhat.com</a><br><b>Subject:</b> [Spacewalk-list] Error in proxy defs in spacewalk-repo-sync since upgrading to 2.7<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-US>Hello All,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Since upgrading our spacewalk 2.6 to 2.7 on RHEL7.4 we are having issues using the proxy to connect to the internet and download packages.<br>This is the log of the issue:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>15:55:38 ======================================<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>15:55:38 | Channel: rhel7serverpgdg94<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>15:55:38 ======================================<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>15:55:38 Sync of channel started.<o:p></o:p></span></p><p class=MsoNormal>15:55:38 Repo URL: <a href="https://download.postgresql.org/pub/repos/yum/9.4/redhat/rhel-7-x86_64/">https://download.postgresql.org/pub/repos/yum/9.4/redhat/rhel-7-x86_64/</a><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>15:55:38 ERROR: failure: repodata/repomd.xml from rhel7serverpgdg9.4: [Errno 256] No more mirrors to try.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><a href="https://download.postgresql.org/pub/repos/yum/9.4/redhat/rhel-7-x86_64/repodata/repomd.xml">https://download.postgresql.org/pub/repos/yum/9.4/redhat/rhel-7-x86_64/repodata/repomd.xml</a>: [Errno 14] curl#5 - <b>"Could not resolve proxy: http; Unknown error"</b><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>15:55:38 Sync of channel completed in 0:00:00.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>15:55:38 Total time: 0:00:00<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><br>Our /etc/rhn/spacewalk-repo-sync/yum.cnf is:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>[main]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>proxy=http://172.16.3.254:3128<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><br>The proxy is responding to requests and the issue only appears to be active on RHEL7.4. We have a pre-prod 7.3 Centos that is working without issues.<br>If we remove the http form the config, the reposync halts with an error: Please set protocol – http, https, ftp, socks, etc.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Has anybody seen this?<br><br>Thanks,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Nuno<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div></body></html>