[Spacewalk-list] Unable sync with rhel7 repository

Mike Ip mikeip1205 at gmail.com
Fri Apr 14 07:05:21 UTC 2017


Hi all,

After some troubleshoot, I change the name for all the SSL Cert file that
without a dot and everything be all right now.

Thanks,
Mike

>

------------------------------
>
> Message: 3
> Date: Fri, 14 Apr 2017 14:28:14 +0800
> From: Mike Ip <mikeip1205 at gmail.com>
> To: spacewalk-list at redhat.com
> Subject: [Spacewalk-list] Unable sync with rhel7 repository
> Message-ID:
>         <CAD0+pHYHBGAKbp3fcpyKJpN8X-PxhSVras=mKmQtTLYEKTFapA at mail.
> gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> 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: <https://www.redhat.com/archives/spacewalk-list/
> attachments/20170414/109be1b0/attachment.html>
>
> ------------------------------
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
> End of Spacewalk-list Digest, Vol 107, Issue 26
> ***********************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20170414/1ce12028/attachment.htm>


More information about the Spacewalk-list mailing list