[Spacewalk-list] Unable sync with rhel7 repository

Mike Ip mikeip1205 at gmail.com
Fri Apr 14 06:28:14 UTC 2017


Hi all,

I have a rhel7.3 and spacewalk 2.6 installed which is subscribe by rhsm.

The problem is I can using yum install from redhat directly but cant
sync redhat repository by using spacewalk.

I have create a repository on spacewalk gui and the setting is below:

Repository Label*: rhel7
Repository URL*:
https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os
Repository Type*: yum
SSL CA Certificate: redhat-uep.pem
SSL Client Certificate: 8619936254321567573.pem
SSL Client Key:  8619936254321567573-key.pem

The Cert and Key which is same as the file in /etc/yum.repos.d/redhat.repo

After I click Sync in spacewalk or use 'spacewalk-repo-sync', it cant sync
anything

*Does anyone know how to sync redhat repository with spacewalk?*


2017/04/14 13:36:35 +08:00 Sync of channel completed in 0:00:00.
2017/04/14 13:40:02 +08:00 Command: ['/usr/bin/spacewalk-repo-sync',
'--channel', 'rhel7_local', '--type', 'yum']
2017/04/14 13:40:02 +08:00 Sync of channel started.
2017/04/14 13:40:02 +08:00 Repo URL:
https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os
2017/04/14 13:40:02 +08:00 Sync of channel completed in 0:00:00.


# spacewalk-repo-sync --channel rhel7_local
14:24:55 ======================================
14:24:55 | Channel: rhel7_local
14:24:55 ======================================
14:24:55 Sync of channel started.
14:24:55 Repo URL:
https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os
14:24:56 ERROR: failure: repodata/repomd.xml from
content_dist_rhel_server_7_7Server_x86_64_os: [Errno 256] No more
mirrors to try.https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml:
[Errno 14] curl#35 - "TCP connection reset by peer"
14:24:56 Sync of channel completed in 0:00:00.
14:24:56 Total time: 0:00:00
[root at spacewalk-test reposync]# spacewalk-repo-sync --channel rhel7_local
14:25:02 ======================================
14:25:02 | Channel: rhel7_local
14:25:02 ======================================
14:25:02 Sync of channel started.
14:25:02 Repo URL:
https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os
14:25:02 ERROR: failure: repodata/repomd.xml from
content_dist_rhel_server_7_7Server_x86_64_os: [Errno 256] No more
mirrors to try.https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml:
[Errno 14] curl#35 - "Peer reports failure of signature verification
or key exchange."
14:25:02 Sync of channel completed in 0:00:00.
14:25:02 Total time: 0:00:00


Thanks,

Mike Ip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20170414/109be1b0/attachment.htm>


More information about the Spacewalk-list mailing list