[Spacewalk-list] Help Needed - While Syncing Error with RedHat Repo from Pulp Server

Robert Paschedag robert.paschedag at web.de
Fri May 11 04:39:36 UTC 2018


Am 10. Mai 2018 23:31:54 MESZ schrieb "Arumugam, Saravanan(Aswath)" <Saravanan.Arumugam at astrazeneca.com>:
>Hello,
>
>I have a PULP server and I had Successfully synced RHEL 7 Repo to and I
>had Exported the same to HTTP URL.
>As a testing - I can add the same URL to repo file and successfully get
>the "yum repolist"
>
>The Real problem is when the same URL is added to Spacewalk and I get
>the below error. Can anyone help me on this ?
>
>I tried the same via both IP and Hostname and I get different Error for
>each test cases.
>
>--LOG---
>[root at spacewalk-server01 reposync]# tailf test-rhel7-x86.log
>https://pulpserver.example.io/pulp/repos/RHEL/7/x86_64/rhel-7-server-rhn-tools-rpms/repodata/repomd.xml:
>[Errno 14] curl#22 - "The requested URL returned error: 502"
>2018/05/09 12:39:06 +02:00 Sync of channel completed in 0:00:01.
>2018/05/10 23:17:11 +02:00 Command: ['/usr/bin/spacewalk-repo-sync',
>'--channel', 'test-rhel7-x86', '--type', 'yum']
>2018/05/10 23:17:11 +02:00 Sync of channel started.
>2018/05/10 23:17:12 +02:00 Repo URL:
>http://pulpserver.example.io/pulp/repos/RHEL/7/x86_64/rhel-7-server-optional-rpms
>2018/05/10 23:17:13 +02:00 ERROR: failure: repodata/repomd.xml from
>test-rhel7-x86: [Errno 256] No more mirrors to try.
>http://pulpserver.example.io/pulp/repos/RHEL/7/x86_64/rhel-7-server-optional-rpms/repodata/repomd.xml:
>[Errno 14] HTTP Error 502 - Bad Gateway
>2018/05/10 23:17:13 +02:00 ERROR: failure: repodata/repomd.xml from
>test-rhel7-x86: [Errno 256] No more mirrors to try.
>http://pulpserver.example.io/pulp/repos/RHEL/7/x86_64/rhel-7-server-optional-rpms/repodata/repomd.xml:
>[Errno 14] HTTP Error 502 - Bad Gateway
>2018/05/10 23:17:13 +02:00 Sync of channel completed in 0:00:01.
>^C
>[root at spacewalk-server01 reposync]# /usr/bin/spacewalk-repo-sync
>--channel test-rhel7-x86 --type yum
>23:18:19 ======================================
>23:18:19 | Channel: test-rhel7-x86
>23:18:19 ======================================
>23:18:19 Sync of channel started.
>23:18:20 Repo URL:
>http://10.0.0.1/pulp/repos/RHEL/7/x86_64/rhel-7-server-optional-rpms
>23:23:50 ERROR: failure: repodata/repomd.xml from test-rhel7-x86:
>[Errno 256] No more mirrors to try.
>http://10.0.0.1/pulp/repos/RHEL/7/x86_64/rhel-7-server-optional-rpms/repodata/repomd.xml:
>[Errno 12] Timeout on
>http://10.0.0.1/pulp/repos/RHEL/7/x86_64/rhel-7-server-optional-rpms/repodata/repomd.xml:
>(28, 'Operation too slow. Less than 1000 bytes/sec transferred the last
>30 seconds')
>http://10.0.0.1/pulp/repos/RHEL/7/x86_64/rhel-7-server-optional-rpms/repodata/repomd.xml:
>[Errno 12] Timeout on
>http://10.0.0.1/pulp/repos/RHEL/7/x86_64/rhel-7-server-optional-rpms/repodata/repomd.xml:
>(28, 'Operation too slow. Less than 1000 bytes/sec transferred the last
>30 seconds')
>http://10.0.0.1/pulp/repos/RHEL/7/x86_64/rhel-7-server-optional-rpms/repodata/repomd.xml:
>[Errno 12] Timeout on
>http://10.0.0.1/pulp/repos/RHEL/7/x86_64/rhel-7-server-optional-rpms/repodata/repomd.xml:
>(28, 'Operation too slow. Less than 1000 bytes/sec transferred the last
>30 seconds')
>http://10.0.0.1/pulp/repos/RHEL/7/x86_64/rhel-7-server-optional-rpms/repodata/repomd.xml:
>[Errno 12] Timeout on
>http://10.0.0.1/pulp/repos/RHEL/7/x86_64/rhel-7-server-optional-rpms/repodata/repomd.xml:
>(28, 'Operation too slow. Less than 1000 bytes/sec transferred the last
>30 seconds')
>http://10.0.0.1/pulp/repos/RHEL/7/x86_64/rhel-7-server-optional-rpms/repodata/repomd.xml:
>[Errno 12] Timeout on
>http://10.0.0.1/pulp/repos/RHEL/7/x86_64/rhel-7-server-optional-rpms/repodata/repomd.xml:
>(28, 'Operation too slow. Less than 1000 bytes/sec transferred the last
>30 seconds')
>http://10.0.0.1/pulp/repos/RHEL/7/x86_64/rhel-7-server-optional-rpms/repodata/repomd.xml:
>[Errno 12] Timeout on
>http://10.0.0.1/pulp/repos/RHEL/7/x86_64/rhel-7-server-optional-rpms/repodata/repomd.xml:
>(28, 'Operation too slow. Less than 1000 bytes/sec transferred the last
>30 seconds')
>http://10.0.0.1/pulp/repos/RHEL/7/x86_64/rhel-7-server-optional-rpms/repodata/repomd.xml:
>[Errno 12] Timeout on
>http://10.0.0.1/pulp/repos/RHEL/7/x86_64/rhel-7-server-optional-rpms/repodata/repomd.xml:
>(28, 'Operation too slow. Less than 1000 bytes/sec transferred the last
>30 seconds')
>http://10.0.0.1/pulp/repos/RHEL/7/x86_64/rhel-7-server-optional-rpms/repodata/repomd.xml:
>[Errno 12] Timeout on
>http://10.0.0.1/pulp/repos/RHEL/7/x86_64/rhel-7-server-optional-rpms/repodata/repomd.xml:
>(28, 'Operation too slow. Less than 1000 bytes/sec transferred the last
>30 seconds')
>http://10.0.0.1/pulp/repos/RHEL/7/x86_64/rhel-7-server-optional-rpms/repodata/repomd.xml:
>[Errno 12] Timeout on
>http://10.0.0.1/pulp/repos/RHEL/7/x86_64/rhel-7-server-optional-rpms/repodata/repomd.xml:
>(28, 'Operation too slow. Less than 1000 bytes/sec transferred the last
>30 seconds')
>http://10.0.0.1/pulp/repos/RHEL/7/x86_64/rhel-7-server-optional-rpms/repodata/repomd.xml:
>[Errno 12] Timeout on
>http://10.0.0.1/pulp/repos/RHEL/7/x86_64/rhel-7-server-optional-rpms/repodata/repomd.xml:
>(28, 'Operation too slow. Less than 1000 bytes/sec transferred the last
>30 seconds')
>23:23:51 Sync of channel completed in 0:05:31.
>23:23:51 Total time: 0:05:31
>
>
This all looks like a simple network (and maybe DNS) problem between your spacewalk and pulp server.

I would use curl on the SW server to test the download manually

Robert.
>Thank You,
>Saravanan Arumugam
>
>________________________________
>
>Confidentiality Notice: This message is private and may contain
>confidential and proprietary information. If you have received this
>message in error, please notify us and remove it from your system and
>note that you must not copy, distribute or take any action in reliance
>on it. Any unauthorized use or disclosure of the contents of this
>message is not permitted and may be unlawful.


-- 
sent from my mobile device




More information about the Spacewalk-list mailing list