[Spacewalk-list] how to pull errata for rhel 7

Mike Ip mikeip1205 at gmail.com
Sat Apr 15 04:04:58 UTC 2017


Vyas,

Try to rename all of your cert and key file without a dot.
For example: 6323587780140822793.pem change to rhel7_client_cert

Just click the sync button on GUI and the errata with sync after packages.

I have this issue last day and fix it, now I can sync rhel6 and 7 rpm and errata from redhat in a same box automatically.

Mike

> 
> 
> 
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Fri, 14 Apr 2017 18:56:40 +0000
> From: "Devaguddi, Vyas" <Vyas.Devaguddi at inova.org>
> To: "spacewalk-list at redhat.com" <spacewalk-list at redhat.com>
> Subject: Re: [Spacewalk-list] how to pull errata for rhel 7
> Message-ID:
>    <984DDA1675887F4C8D03E34AF9F9A9D29EEFAA at NBWINEXH102M.net.inova.org>
> Content-Type: text/plain; charset="us-ascii"
> 
> Can you please provide the url for pulling the errata for rhel 7
> 
> Example : https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/extras/os
> 
> Vyas devaguddi
> UNIX Systems
> 45745 Nokes Blvd. Suite 110
> Dulles, VA 20166
> Phone : 703-889-2040
> Cell: 313-657-8930
> [cid:image001.jpg at 01CEF67E.83632C70]<http://www.inova.org/>
> 
> From: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Devaguddi, Vyas
> Sent: Tuesday, March 28, 2017 10:59 AM
> To: 'spacewalk-list at redhat.com'
> Subject: Re: [Spacewalk-list] how to pull errata for rhel 7
> 
> I have followed the process which you have provided but still I am having issues
> 
> Vyas devaguddi
> UNIX Systems
> 45745 Nokes Blvd. Suite 110
> Dulles, VA 20166
> Phone : 703-889-2040
> Cell: 313-657-8930
> 
> From: Devaguddi, Vyas
> Sent: Monday, March 27, 2017 12:19 AM
> To: spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>
> Subject: RE: [Spacewalk-list] how to pull errata for rhel 7
> 
> When I follow the steps and upload the three certs to my spacewalk server using browser ,
> 
> I am getting errors like that
> [root at nblnxyum001t ~]# sh /usr/local/bin/spacewalk_reposync
> ======================================
> | Channel: rhel7-x86_64
> ======================================
> ()
> Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/extras/os
> ERROR: failure: repodata/repomd.xml from rhel7-x86_64: [Errno 256] No more mirrors to try.
> https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/extras/os/repodata/repomd.xml: [Errno 14] curl#58 - "unable to load client cert: -8018 (SEC_ERROR_UNKNOWN_PKCS11_ERROR)"
> Sync completed.
> Total time: 0:00:00
> 
> Vyas devaguddi
> UNIX Systems
> 45745 Nokes Blvd. Suite 110
> Dulles, VA 20166
> Phone : 703-889-2040
> Cell: 313-657-8930
> 
> From: spacewalk-list-bounces at redhat.com<mailto:spacewalk-list-bounces at redhat.com> [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Boyd, Robert
> Sent: Thursday, March 23, 2017 4:07 PM
> To: spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>
> Subject: Re: [Spacewalk-list] how to pull errata for rhel 7
> 
> Vyas,
> 
> My name is Robert, and I'm the original poster of the archived message I referred to.
> 
> Before changing to use the cdn.redhat.com link you will want to read the archive message I mentioned.  There are several steps that you must perform that are spelled out there.  Simply switching to the URL I listed is only 1 of those steps.
> 
> Here's the archive link again:  https://www.redhat.com/archives/spacewalk-list/2015-December/msg00100.html
> 
> Read that, follow the steps and see how it goes then.
> 
> 
> Robert
> 
> 
> From: spacewalk-list-bounces at redhat.com<mailto:spacewalk-list-bounces at redhat.com> [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Devaguddi, Vyas
> Sent: Thursday, March 23, 2017 3:53 PM
> To: spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>
> Subject: Re: [Spacewalk-list] how to pull errata for rhel 7
> 
> Nick
> 
> When I have updated the url and I am getting this errors
> 
> [root at nblnxyum001t ~]# sh /usr/local/bin/spacewalk_reposync
> ======================================
> | Channel: rhel7-x86_64
> ======================================
> ()
> Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/extras/os
> Repo rhel-7-server-rpms forced skip_if_unavailable=True due to: /etc/pki/entitlement/6323587780140822793.pem
> Repo rhel-7-server-rpms forced skip_if_unavailable=True due to: /etc/pki/entitlement/6323587780140822793-key.pem
> ERROR: failure: repodata/repomd.xml from rhel7-x86_64: [Errno 256] No more mirrors to try.
> https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/extras/os/repodata/repomd.xml: [Errno 14] curl#58 - "unable to load client key: -8178 (SEC_ERROR_BAD_KEY)"
> Sync completed.
> Total time: 0:00:00
> 
> Vyas devaguddi
> UNIX Systems
> 45745 Nokes Blvd. Suite 110
> Dulles, VA 20166
> Phone : 703-889-2040
> Cell: 313-657-8930
> 
> From: spacewalk-list-bounces at redhat.com<mailto:spacewalk-list-bounces at redhat.com> [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Boyd, Robert
> Sent: Thursday, March 23, 2017 2:33 PM
> To: spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>
> Subject: Re: [Spacewalk-list] how to pull errata for rhel 7
> 
> Vyas,
> 
> Spacewalk will automatically pull errata If you link your channel repository directly to https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/optional/os
> 
> Have you looked at this message I posted a while back? Check out https://www.redhat.com/archives/spacewalk-list/2015-December/msg00100.html
> 
> It's an explanation of how to get a direct feed of the RHEL channels so that you don't have to pull errata through a separate process.
> 
> Robert
> 
> 
> Robert Boyd
> Sr. Systems Engineer
> PeopleFluent
> p. 919-645-2972 | c. 919-306-4681
> e. Robert.Boyd at PeopleFluent.com<mailto:robert.boyd at peoplefluent.com>
> 
> [http://mktg.peoplefluent.com/rs/peopleclick/images/140410_PF4colorLOGOx150.png]<http://www.peoplefluent.com/>
> Click here<http://www.peoplefluent.com/> to experience the power of the new PeopleFluent Mirror Suite (tm)
> Visit: www.peoplefluent.com<http://www.peoplefluent.com/> | Read: PeopleFluent Blog<http://peoplefluent.com/resources/peoplefluent-blog> | Follow: @PeopleFluent<http://twitter.com/peoplefluent>
> 
> From: spacewalk-list-bounces at redhat.com<mailto:spacewalk-list-bounces at redhat.com> [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Devaguddi, Vyas
> Sent: Thursday, March 23, 2017 10:56 AM
> To: spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>
> Subject: Re: [Spacewalk-list] how to pull errata for rhel 7
> 
> Hi Nick
> Here is the procedure how I am pulling errata for rhel 7
> [root at nblnxyum001t spacewalk_scripts-master]# ./ya-errata-import.pl --server 127.0.0.1 --channel rhel7-x86_64 --os-version 7 --publish --redhat --redhat-channel=rhel-x86_64-server-7 -startfromprevious twoweeks-quiet
> INFO: Architecture is not specified, will try to determine it based on the channel properties of 'rhel7-x86_64'
> INFO: Setting the OS variant to Redhat, if this is wrong please remove the --redhat option
> INFO: Server 127.0.0.1 is running API version 17
> INFO: Your API version is supported
> Please enter username: admin
> Please enter password:
> INFO: Authentication on 127.0.0.1 successful
> Please enter RHN username: vyasdevaguddi
> Please enter RHN password:
> INFO: Authentication on rhn.redhat.com successful
> INFO: User has administrator access to this server
> INFO: Checking if channel rhel7-x86_64 exists on 127.0.0.1
> INFO: Determining architecture for channel rhel7-x86_64
> INFO: Detected architecture 'x86_64' for channel 'rhel7-x86_64'
> INFO: Listing all packages in rhel7-x86_64
> INFO: Listing all errata in rhel7-x86_64 on 127.0.0.1
> INFO: Loading errata from rhn.redhat.com
> INFO: Getting erratas from date  till now
> WARNING: channel.software.listErrata returned an error: Fault returned from XML RPC Server, fault code -210: No such channel
> 
> INFO: No errata found, nothing will happen
> 
> Vyas devaguddi
> UNIX Systems
> 45745 Nokes Blvd. Suite 110
> Dulles, VA 20166
> Phone : 703-889-2040
> Cell: 313-657-8930
> 
> From: spacewalk-list-bounces at redhat.com<mailto:spacewalk-list-bounces at redhat.com> [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Boyd, Robert
> Sent: Thursday, March 23, 2017 10:36 AM
> To: spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>
> Subject: Re: [Spacewalk-list] how to pull errata for rhel 7
> 
> Vyas,
> 
> How are you linked to the RHEL7 distribution channels?   Are you using cdn or the old rhn?
> 
> Robert
> 
> Robert Boyd
> Sr. Systems Engineer
> PeopleFluent
> p. 919-645-2972 | c. 919-306-4681
> e. Robert.Boyd at PeopleFluent.com<mailto:robert.boyd at peoplefluent.com>
> 
> [http://mktg.peoplefluent.com/rs/peopleclick/images/140410_PF4colorLOGOx150.png]<http://www.peoplefluent.com/>
> Click here<http://www.peoplefluent.com/> to experience the power of the new PeopleFluent Mirror Suite (tm)
> Visit: www.peoplefluent.com<http://www.peoplefluent.com/> | Read: PeopleFluent Blog<http://peoplefluent.com/resources/peoplefluent-blog> | Follow: @PeopleFluent<http://twitter.com/peoplefluent>
> 
> 
> 
> From: spacewalk-list-bounces at redhat.com<mailto:spacewalk-list-bounces at redhat.com> [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Devaguddi, Vyas
> Sent: Wednesday, March 22, 2017 3:00 PM
> To: spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>
> Subject: [Spacewalk-list] how to pull errata for rhel 7
> 
> When I try to pull errata fro rhel 7  I am unable to find the channel
> 
> Vyas devaguddi
> UNIX Systems
> 45745 Nokes Blvd. Suite 110
> Dulles, VA 20166
> Phone : 703-889-2040
> Cell: 313-657-8930
> [cid:image001.jpg at 01CEF67E.83632C70]<http://www.inova.org/>
> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <https://www.redhat.com/archives/spacewalk-list/attachments/20170414/bc170476/attachment.html>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: image002.jpg
> Type: image/jpeg
> Size: 3582 bytes
> Desc: image002.jpg
> URL: <https://www.redhat.com/archives/spacewalk-list/attachments/20170414/bc170476/attachment.jpg>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: image003.png
> Type: image/png
> Size: 5805 bytes
> Desc: image003.png
> URL: <https://www.redhat.com/archives/spacewalk-list/attachments/20170414/bc170476/attachment.png>
> 
> ------------------------------
> 
> _______________________________________________
> 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 30
> ***********************************************




More information about the Spacewalk-list mailing list