13 Replies Latest reply on Aug 19, 2013 5:46 PM by Vinnie Lima

    Linux patch download failed


      Hi,all

       

           When I download the patch by the redhat_downloader.sh, it fails with the errors:Error while updating feed: Error while retriving latest packages for channel: rhel-i386-as-4. Please check the channel label. (Caused By: org.apache.xmlrpc.XmlRpcException: No such channel (Caused By: No such channel)). The configfile contents as follows:

      <!--

           Please categorize the erratype/errata ID/update level filter as per one of the valid OS, Architecture values.

           Valid values for OS are RHES3, RHES4, RHES5, RHES6, RHAS3, RHAS4,

           Valid values for Architecture are s390x, x86 and x86_64

          

           Please use downloader command with -listChannel option

           to know applicable OS and Architecture.

          

           Expect Redhat Analysis to fail if OS Arch values are not from the above valid set of values.

           User is responsible for selecting correct combination of OS Arch, downloader will

           not validate it.

      -->

       

      <redhat-downloader-config>

          <config>

        <!--<proxy-settings>

          <port>8080</port>

          <host>127.0.0.1</host>

          <username>user</username>

          <password></password>

          <domain-name></domain-name>

          <proxy-type>ntlm-v2</proxy-type>

        </proxy-settings>-->

        <temporary-location>/tmp</temporary-location>

        <payload-repository-location>/home/media/patch/repository</payload-repository-location>

        <!-- The default value for download-request-retries will be 10 if no value is specified -->

        <download-request-retries>10</download-request-retries>

        <download-request-timeout>180000</download-request-timeout>

        <downloader-parallel-threads>10</downloader-parallel-threads>

          </config>

       

          <subscription>

        <errata-type-filter>

         <os>RHAS4</os>

         <arch>x86</arch>

         <channel-label>rhel-i386-as-4</channel-label>
                   <errata-severity>

          <critical>true</critical>

          <high>true</high>

      What should I do? Thanks!

        • 1. Re: Linux patch download failed

          The config file seems correct , I expect it should work.

           

          What version of downloader you are using?

           

          -Chetan

          • 2. Re: Linux patch download failed

            Also, your proxy details are still commented , so if you are using the proxy then remove the <!----> from proxy setting.

             

            -Chetan

            • 3. Re: Linux patch download failed

              Hi,

                 

                   The version is 8.3, and I do not use the proxy agent. Thank you very much!

                 

              Best wishes,

              yours youcai

              • 4. Re: Linux patch download failed
                Bill Robinson

                can you post the complete config file ?

                • 5. Re: Linux patch download failed

                  Hi,

                     

                       The complete content of the config file as follows:

                     

                        

                  • 6. Re: Linux patch download failed

                    Hi,

                     

                    I tried the same filter with offline 8.3 (windows and linux) and i was able to download the rpms.

                     

                    If you still have this issue, i would suggest to log a support ticket.

                     

                    -Chetan

                    • 7. Re: Linux patch download failed
                      Bill Robinson

                      could you attach the file ?

                      • 8. Re: Linux patch download failed

                        Hi,Chetan

                           

                             I run the download the patch through windows, it also have the same error, the result is on the attchment.

                        • 9. Re: Linux patch download failed

                          Hello,

                           

                          Screenshot says you are using 8.2.1 offline downloader and channel_level is "rhel-i386-server-5"

                           

                          Make sure you have following filter in your config file for this channel level (below is the only list i got from -listChannel for this)

                           

                          <errata-type-filter>

                            <os>RHES5</os>

                            <arch>x86</arch>

                            <channel-label>rhel-i386-server-5</channel-label>

                            <errata-severity>

                            <critical>true</critical>

                            <high>true</high>

                            <moderate>true</moderate>

                            <low>true</low>

                            </errata-severity>

                            <errata-type>

                            <security>true</security>

                            <bugfix>true</bugfix>

                            <enhancement>true</enhancement>

                            </errata-type>

                            </errata-type-filter>

                           

                          Above filter works perfectly with offline 8.2.1 at my end.

                           

                          Can you share your complete config file ?

                           

                          -Chetan

                          • 10. Re: Linux patch download failed
                            Jim Wilson

                            youcai1121 NameToUpdate

                             

                            Did this get resolved?

                            If so, please can you update the discussion thread with details so that is can be marked as answered.

                             

                            Thanks & Regards,

                            Jim (Community Manager/Facilitator)

                            • 11. Re: Linux patch download failed
                              Vinnie Lima

                              Having same issues with BSA 8.3 online patch catalog (Red Hat):

                               

                              Error while updating feed: Error while retriving latest packages for channel: rhel-x86_64-server-6. Please check the channel label. (Caused By: org.apache.xmlrpc.XmlRpcException: No such channel (Caused By: No such channel))

                               

                              Not using the offline downloader but will try that next.

                              • 12. Re: Linux patch download failed
                                Vinnie Lima

                                Same happened with offline downloader for bsa 8.3.0 running on Linux:

                                 

                                Building metadata

                                Processing all online filters

                                Downloader failed with errors: Error while updating feed: Error while retriving latest packages for channel: rhel-x86_64-server-6. Please check the channel label. (Caused By: org.apache.xmlrpc.XmlRpcException: No such channel (Caused By: No such channel)) --- Cause:

                                 

                                Using the following config:

                                 

                                <redhat-downloader-config>

                                    <config>

                                                <temporary-location>/tmp</temporary-location>

                                                <payload-repository-location>/rhn_repo/rhel-x86_64-server-6</payload-repository-location>

                                                <!-- The default value for download-request-retries will be 10 if no value is specified -->

                                                <download-request-retries>10</download-request-retries>

                                                <download-request-timeout>180000</download-request-timeout>

                                                <downloader-parallel-threads>10</downloader-parallel-threads>

                                    </config>

                                    <subscription>

                                                <errata-type-filter>

                                                        <os>RHES6</os>

                                                        <arch>x86_64</arch>

                                                        <channel-label>rhel-x86_64-server-6</channel-label>

                                                        <errata-severity>

                                                                <critical>true</critical>

                                                                <high>true</high>

                                                                <moderate>true</moderate>

                                                                <low>false</low>

                                                        </errata-severity>

                                                        <errata-type>

                                                                <security>true</security>

                                                                <bugfix>true</bugfix>

                                                                <enhancement>false</enhancement>

                                                        </errata-type>

                                                </errata-type-filter>

                                    </subscription>

                                </redhat-downloader-config>

                                • 13. Re: Linux patch download failed
                                  Vinnie Lima

                                  The reason why mine failed is because the RHN creds I was using expired subscription