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

Arumugam, Saravanan(Aswath) Saravanan.Arumugam at astrazeneca.com
Sat May 12 15:37:24 UTC 2018


Please find the Curl Output.

--OUTPUT---
curl http:// pulpserver.example.io/pulp/repos/RHEL/7/x86_64/rhel-7-server-optional-rpms/repodata/repomd.xml
<?xml version="1.0" encoding="UTF-8"?>
<repomd xmlns="http://linux.duke.edu/metadata/repo" xmlns:rpm="http://linux.duke.edu/metadata/rpm"><revision>1525284945</revision>
<data type="filelists"><location href="repodata/2b99a3b180ff3bb02078b83848fb86c0a9baa1cb-filelists.xml.gz" /><timestamp>1525285168</timestamp><size>20239135</size><checksum type="sha1">2b99a3b180ff3bb02078b83848fb86c0a9baa1cb</checksum><open-size>332097871</open-size><open-checksum type="sha1">be0c05f2d8ce7ece34e38a4cca3594fbd98ea569</open-checksum></data>
<data type="other"><location href="repodata/881d65e70e747d59026b18ff12816eb05ac5bf02-other.xml.gz" /><timestamp>1525285170</timestamp><size>8651772</size><checksum type="sha1">881d65e70e747d59026b18ff12816eb05ac5bf02</checksum><open-size>35230099</open-size><open-checksum type="sha1">8e87753a78bd074dd803b3a32c4a1769c11a6108</open-checksum></data>
<data type="primary"><location href="repodata/482b6bb2740d34818e48355cc719a36e74028528-primary.xml.gz" /><timestamp>1525285170</timestamp><size>4556257</size><checksum type="sha1">482b6bb2740d34818e48355cc719a36e74028528</checksum><open-size>33015403</open-size><open-checksum type="sha1">ac25a8dcab61a9475e8192e13b3841ae421a9f47</open-checksum></data>
<data type="updateinfo"><location href="repodata/77ca9c0c8647577957f4f4189e5fd22be0cfc589-updateinfo.xml.gz" /><timestamp>1525285206</timestamp><size>2022466</size><checksum type="sha1">77ca9c0c8647577957f4f4189e5fd22be0cfc589</checksum><open-size>10302030</open-size><open-checksum type="sha1">b3a7ef5b29cd02510433f033ad3c640fec393392</open-checksum></data>
<data type="group"><location href="repodata/554fbc878d98b3563e46433ff070a282769587a3-comps.xml" /><timestamp>1525285206</timestamp><size>27472</size><checksum type="sha1">554fbc878d98b3563e46433ff070a282769587a3</checksum></data>
<data type="productid"><location href="repodata/productid" /><timestamp>1525283410</timestamp><size>2159</size><checksum type="sha1">b0e1a15fdf4ed323ec196646b26516b00579f124</checksum></data>
</repomd>
[root at sesklsw02 ~]#

Thank You,
Saravanan Arumugam
Unix/Linux Architect

-----Original Message-----
From: Robert Paschedag [mailto:robert.paschedag at web.de]
Sent: 11 May 2018 10:18 PM
To: Arumugam, Saravanan(Aswath) <Saravanan.Arumugam at astrazeneca.com>; spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] Help Needed - While Syncing Error with RedHat Repo from Pulp Server

Am 11.05.2018 um 18:01 schrieb Arumugam, Saravanan(Aswath):
> Yes Curl returns the Needed output in the CLI.
>
> I can see the Packages and repodata folder while I pass curl command
> in CLI

I'm not sure, if I got that right.

What packages do you see, when you download the "repomd.xml" file via curl?

Can you show some example output?

Robert

>
> Thank You,
> Saravanan Arumugam
> Unix/Linux Architect
>
> -----Original Message-----
> From: Robert Paschedag [mailto:robert.paschedag at web.de]
> Sent: 11 May 2018 07:44 PM
> To: Arumugam, Saravanan(Aswath) <Saravanan.Arumugam at astrazeneca.com>;
> spacewalk-list at redhat.com; spacewalk-list (spacewalk-list at redhat.com)
> <spacewalk-list at redhat.com>
> Subject: RE: [Spacewalk-list] Help Needed - While Syncing Error with
> RedHat Repo from Pulp Server
>
> Am 11. Mai 2018 14:58:22 MESZ schrieb "Arumugam, Saravanan(Aswath)" <Saravanan.Arumugam at astrazeneca.com>:
>> I did check with Local Network and Firewall team.
>>
>> They didn’t find any issues in the network/Firewall side.
>>
>> I can Curl the packager in CLI and access the URL From Spacewalk
>> server.
>
> So
>
> curl
> http://10.0.0.1/pulp/repos/RHEL/7/x86_64/rhel-7-server-optional-rpms/r
> epodata/repomd.xml
>
> works as expected?
>
> Robert
>>
>> Thank You,
>> Saravanan Arumugam
>> Unix/Linux Architect
>>
>> -----Original Message-----
>> From: Robert Paschedag [mailto:robert.paschedag at web.de]
>> Sent: 11 May 2018 10:10 AM
>> To: spacewalk-list at redhat.com; Arumugam, Saravanan(Aswath)
>> <Saravanan.Arumugam at astrazeneca.com>; spacewalk-list
>> (spacewalk-list at redhat.com) <spacewalk-list at redhat.com>
>> Subject: Re: [Spacewalk-list] Help Needed - While Syncing Error with
>> RedHat Repo from Pulp Server
>>
>> 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://clicktime.symantec.com/a/1/Hbl199YinFurOnfga8noS1V5O7Px1OoSB
>>> ZU
>>> -
>>> k0fOPEw=?d=fT603RfHe9cErPH5sukGtvxfhOW8WHCpQWoReepDe6eFEowSrtwHU8Cqm
>>> yO
>>> 0
>>> iTKkZx-9LVvDsrNhjiJV5agJD-TTNEt3VoKdS6FMpp3yVmf7NAsseXk4i3ndpUrsQutt
>>> Ml
>>> a
>>> KQURHPrDnmKb0iHIXzE9BI04Pfk3NpsqN6HHUaWSpvqj3aKwcHTAFvQgGw2Lx-fqzXVX
>>> CJ
>>> H
>>> bclctDe8CtdL8H_Zfk5mWEpkhzOaFB1NVf1qn_KutyAVu1CcAm222yxJbp7Lb-eKv-Mr
>>> Qw
>>> K
>>> hgb2cj1lxwYAMDnTaOTF6ifb2srJDMGiJSxujG_vSJV66R-C4pvqgAke754zlHaZHPsE
>>> y-
>>> e
>>> 5-0KtjO3jclcMwutm96_hFpBFFyC_7_j5POZzUIvZnytgOa2gZg-Rhnm1k8N67pTOnLR
>>> ge
>>> l
>>> YyXkDYRNC6a1Scx7I0dWK8B06xl3-JuckMpA%3D&u=https%3A%2F%2Fpulpserver.e
>>> xa
>>> m
>>> ple.io%2Fpulp%2Frepos%2FRHEL%2F7%2Fx86_64%2Frhel-7-server-rhn-tools-
>>> rp m s%2Frepodata%2Frepomd.xml%3A [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:
>>> https://clicktime.symantec.com/a/1/lXtHBjxY3onbpGJGun3Xw8IqTP0e02oGS
>>> gY
>>> k
>>> -dPFS9E=?d=fT603RfHe9cErPH5sukGtvxfhOW8WHCpQWoReepDe6eFEowSrtwHU8Cqm
>>> yO
>>> 0
>>> iTKkZx-9LVvDsrNhjiJV5agJD-TTNEt3VoKdS6FMpp3yVmf7NAsseXk4i3ndpUrsQutt
>>> Ml
>>> a
>>> KQURHPrDnmKb0iHIXzE9BI04Pfk3NpsqN6HHUaWSpvqj3aKwcHTAFvQgGw2Lx-fqzXVX
>>> CJ
>>> H
>>> bclctDe8CtdL8H_Zfk5mWEpkhzOaFB1NVf1qn_KutyAVu1CcAm222yxJbp7Lb-eKv-Mr
>>> Qw
>>> K
>>> hgb2cj1lxwYAMDnTaOTF6ifb2srJDMGiJSxujG_vSJV66R-C4pvqgAke754zlHaZHPsE
>>> y-
>>> e
>>> 5-0KtjO3jclcMwutm96_hFpBFFyC_7_j5POZzUIvZnytgOa2gZg-Rhnm1k8N67pTOnLR
>>> ge
>>> l
>>> YyXkDYRNC6a1Scx7I0dWK8B06xl3-JuckMpA%3D&u=http%3A%2F%2Fpulpserver.ex
>>> am
>>> p
>>> le.io%2Fpulp%2Frepos%2FRHEL%2F7%2Fx86_64%2Frhel-7-server-optional-rp
>>> ms
>>> 2018/05/10 23:17:13 +02:00 ERROR: failure: repodata/repomd.xml from
>>> test-rhel7-x86: [Errno 256] No more mirrors to try.
>>> https://clicktime.symantec.com/a/1/ljm8Chyr80rPFGrEhCcXRHeNwmIN5pOLD
>>> WD
>>> W
>>> UYpWK24=?d=fT603RfHe9cErPH5sukGtvxfhOW8WHCpQWoReepDe6eFEowSrtwHU8Cqm
>>> yO
>>> 0
>>> iTKkZx-9LVvDsrNhjiJV5agJD-TTNEt3VoKdS6FMpp3yVmf7NAsseXk4i3ndpUrsQutt
>>> Ml
>>> a
>>> KQURHPrDnmKb0iHIXzE9BI04Pfk3NpsqN6HHUaWSpvqj3aKwcHTAFvQgGw2Lx-fqzXVX
>>> CJ
>>> H
>>> bclctDe8CtdL8H_Zfk5mWEpkhzOaFB1NVf1qn_KutyAVu1CcAm222yxJbp7Lb-eKv-Mr
>>> Qw
>>> K
>>> hgb2cj1lxwYAMDnTaOTF6ifb2srJDMGiJSxujG_vSJV66R-C4pvqgAke754zlHaZHPsE
>>> y-
>>> e
>>> 5-0KtjO3jclcMwutm96_hFpBFFyC_7_j5POZzUIvZnytgOa2gZg-Rhnm1k8N67pTOnLR
>>> ge
>>> l
>>> YyXkDYRNC6a1Scx7I0dWK8B06xl3-JuckMpA%3D&u=http%3A%2F%2Fpulpserver.ex
>>> am
>>> p
>>> le.io%2Fpulp%2Frepos%2FRHEL%2F7%2Fx86_64%2Frhel-7-server-optional-rp
>>> ms % 2Frepodata%2Frepomd.xml%3A [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.
>>> https://clicktime.symantec.com/a/1/ljm8Chyr80rPFGrEhCcXRHeNwmIN5pOLD
>>> WD
>>> W
>>> UYpWK24=?d=fT603RfHe9cErPH5sukGtvxfhOW8WHCpQWoReepDe6eFEowSrtwHU8Cqm
>>> yO
>>> 0
>>> iTKkZx-9LVvDsrNhjiJV5agJD-TTNEt3VoKdS6FMpp3yVmf7NAsseXk4i3ndpUrsQutt
>>> Ml
>>> a
>>> KQURHPrDnmKb0iHIXzE9BI04Pfk3NpsqN6HHUaWSpvqj3aKwcHTAFvQgGw2Lx-fqzXVX
>>> CJ
>>> H
>>> bclctDe8CtdL8H_Zfk5mWEpkhzOaFB1NVf1qn_KutyAVu1CcAm222yxJbp7Lb-eKv-Mr
>>> Qw
>>> K
>>> hgb2cj1lxwYAMDnTaOTF6ifb2srJDMGiJSxujG_vSJV66R-C4pvqgAke754zlHaZHPsE
>>> y-
>>> e
>>> 5-0KtjO3jclcMwutm96_hFpBFFyC_7_j5POZzUIvZnytgOa2gZg-Rhnm1k8N67pTOnLR
>>> ge
>>> l
>>> YyXkDYRNC6a1Scx7I0dWK8B06xl3-JuckMpA%3D&u=http%3A%2F%2Fpulpserver.ex
>>> am
>>> p
>>> le.io%2Fpulp%2Frepos%2FRHEL%2F7%2Fx86_64%2Frhel-7-server-optional-rp
>>> ms % 2Frepodata%2Frepomd.xml%3A [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
>> ________________________________
>>
>>
>> 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
> ________________________________
>
>
> 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.
>

________________________________


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.




More information about the Spacewalk-list mailing list