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

Waldirio Manhães Pinheiro waldirio at gmail.com
Mon Mar 27 04:57:36 UTC 2017


Hello guys, good morning

Just one attention point, I believe the correct repo name is
*rhel-7-server-rpms*, maybe only update this one will help you on your
script.

Let me know if works.

______________
Atenciosamente
Waldirio
msn: waldirio at gmail.com
Skype: waldirio
Site: www.waldirio.com.br
Blog: blog.waldirio.com.br
LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646
PGP: www.waldirio.com.br/public.html

On Mon, Mar 27, 2017 at 1:19 AM, Devaguddi, Vyas <Vyas.Devaguddi at inova.org>
wrote:

> 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] *On Behalf Of *Boyd, Robert
> *Sent:* Thursday, March 23, 2017 4:07 PM
>
> *To:* 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 <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
> *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 <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
> *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 <robert.boyd at peoplefluent.com>*
>
>
>
> [image:
> 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 ™*
> Visit: 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 <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
> *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 <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
> *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* <robert.boyd at peoplefluent.com>
>
>
>
> [image:
> 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 ™*
> Visit: 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 <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
> *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
>
> [image: cid:image001.jpg at 01CEF67E.83632C70] <http://www.inova.org/>
>
>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20170327/0ed9b460/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 3582 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20170327/0ed9b460/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 5805 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20170327/0ed9b460/attachment.png>


More information about the Spacewalk-list mailing list