[prev in list] [next in list] [prev in thread] [next in thread]
List: spacewalk-list
Subject: Re: [Spacewalk-list] channel weirdness
From: Guy Matz <guymatz () gmail ! com>
Date: 2021-07-14 16:50:37
Message-ID: CABnTgtV3mU4cQy_29DqXs8R21cZ+2GGDNMfLxAQTx3K58UWypg () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
All better!! Thank you!!!
On Wed, Jul 14, 2021 at 11:37 AM Bill ten Bensel <WHTENBEN@up.com> wrote:
> The .new is from taskomatic updating the repository. It creates the .new
> to allow systems to continue to receive the "older" repository information
> until it has completed the task. When taskomatic finishes, it moves the
> .new to the expected files. If this hasn't completed, then you will want
> to check taskomatic and/or recreate the repodata for that channel.
>
>
>
> Check the taskomatic logs on the spacewalk to see what is going on. Ã
> /var/log/rhn/rhn_taskomatic_daemon.log
>
>
>
> Restart taskomatic and check the logs.
>
> Recreate the cache: (If doing the move, any systems checking in could
> receive errors. If you have abrt enabled on your systems, you could see
> yum or rhn generate errors.)
>
>
> Move /var/cache/rhn/repodata/prod-centos7-x86_64 to another location
>
> spacewalk-api --server={spacewalk-fqdn} --user={ID}
> --password={my_secret} channel.software.regenerateYumCache %session%
> prod-centos7-x86_64
>
>
>
> Thanks and good luck
>
>
>
> *From:* spacewalk-list-bounces@redhat.com <
> spacewalk-list-bounces@redhat.com> *On Behalf Of *Guy Matz
> *Sent:* Wednesday, July 14, 2021 10:03 AM
> *To:* spacewalk-list@redhat.com
> *Subject:* Re: [Spacewalk-list] channel weirdness
>
>
>
> ** PROCEED WITH CAUTION - This email was sent from outside the Company **
>
>
>
>
> That didn't exactly work. The checksums in the repomd.xml file were not
> right . . . After manually updating repomd.xml I now get:
>
> matz@nyc-lv01 ~ $ sudo yum repolist
> Loaded plugins: fastestmirror, langpacks, priorities, rhnplugin,
> versionlock
> This system is receiving updates from RHN Classic or Red Hat Satellite.
> Determining fastest mirrors
> schro | 2.9 kB 00:00
> schro/7/x86_64/primary_db | 97 kB 00:00
> prod-centos7-x86_64 | 1.0 kB 00:00
> prod-centos7-x86_64/group | 893 kB 00:00
> prod-centos7-x86_64/primary | 12 MB 00:01
> Error: Error reading from file
> /var/cache/yum/x86_64/7/prod-centos7-x86_64/primary.xml.gz: CRC check
> failed 0x584621a9 != 0xfd19ef97L
>
>
>
> Any advice?
>
>
>
> On Wed, Jul 14, 2021 at 10:02 AM Guy Matz <guymatz@gmail.com> wrote:
>
> Ah!! So it looks like my metadata files got created, but with a ".new"
> extension!!
>
>
>
> matz@pdx-lv01:/var/cache/rhn/repodata/prod-centos7-x86_64$ ls -lrt
> total 608196
> -rw-r--r-- 1 root root 1039 May 3 08:48 repomd.xml
> -rw-r--r-- 1 root root 11414104 May 3 08:48 primary.xml.gz
> -rw-r--r-- 1 root root 248871638 May 3 08:48 other.xml.gz
> -rw-r--r-- 1 root root 27746744 May 3 08:48 filelists.xml.gz
> -rw-r--r-- 1 root root 12895419 Jun 25 13:48 primary.xml.gz.new
> -rw-r--r-- 1 root root 32289039 Jun 25 13:48 filelists.xml.gz.new
> -rw-r--r-- 1 root root 289556494 Jun 25 13:48 other.xml.gz.new
>
>
>
> What's up with that?! Can I just mv the .new files in place?
>
>
>
>
>
> On Mon, Jul 12, 2021 at 1:10 PM Brian Long <briandlong@gmail.com> wrote:
>
> There are a couple of things to check. When you promote a channel
> using spacewalk-manage-channel-lifecycle, it takes a while for spacewalk to
> generate the new yum metadata (could be 5-15 minutes depending on your
> server and other activities). You can run "ls -ltr /var/cache/rhn/repodata
> | tail" to see if the channel you promoted has updated the metadata. Also,
> yum-based systems typically cache the repodata locally for six hours.
> Unless you run "yum clean metadata" and "yum check-update" manually, it
> could be up to six hours before your hosts see the updated repodata from
> Spacewalk. This can be lowered in /etc/yum.conf on each client, but it
> will add more load to your spacewalk server.
>
>
>
> /Brian/
>
>
>
> On Fri, Jul 9, 2021 at 6:48 PM Guy Matz <guymatz@gmail.com> wrote:
>
> Hello! I have archived my prod channel and promoted from test to prod,
> however my clients don't see the new updates in the prod channel! I see
> the updates on the spacewalk server, but not on the clients! What's up
> with that?!
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/spacewalk-list
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/spacewalk-list
>
> This email and any attachments may contain information that is
> confidential and/or privileged for the sole use of the intended recipient.
> Any use, review, disclosure, copying, distribution or reliance by others,
> and any forwarding of this email or its contents, without the express
> permission of the sender is strictly prohibited by law. If you are not the
> intended recipient, please contact the sender immediately, delete the
> e-mail and destroy all copies.
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/spacewalk-list
[Attachment #5 (text/html)]
<div dir="ltr">All better!! Thank you!!!<br></div><br><div class="gmail_quote"><div \
dir="ltr" class="gmail_attr">On Wed, Jul 14, 2021 at 11:37 AM Bill ten Bensel <<a \
href="mailto:WHTENBEN@up.com">WHTENBEN@up.com</a>> wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex">
<div style="overflow-wrap: break-word;" lang="EN-US">
<div class="gmail-m_8924020654623774412WordSection1">
<p class="MsoNormal">The .new is from taskomatic updating the repository. It \
creates the .new to allow systems to continue to receive the "older" repository \
information until it has completed the task. When taskomatic finishes, it moves the \
.new to the expected files. If this hasn't completed, then you will want to check \
taskomatic and/or recreate the repodata for that channel.<u></u><u></u></p> <p \
class="MsoNormal"><u></u> <u></u></p> <p class="MsoNormal">Check the taskomatic logs \
on the spacewalk to see what is going on. <span style="font-family:Wingdings">Ã \
</span> /var/log/rhn/rhn_taskomatic_daemon.log<u></u><u></u></p> <p \
class="MsoNormal"><u></u> <u></u></p> <p class="MsoNormal">Restart taskomatic and \
check the logs.<br> <br>
Recreate the cache: (If doing the move, any systems checking in could receive \
errors. If you have abrt enabled on your systems, you could see yum or rhn generate \
errors.)<u></u><u></u></p> <p class="MsoNormal"><br>
Move /var/cache/rhn/repodata/prod-centos7-x86_64 to another \
location<u></u><u></u></p> <p class="MsoNormal">spacewalk-api \
--server={spacewalk-fqdn} --user={ID} --password={my_secret} \
channel.software.regenerateYumCache %session% prod-centos7-x86_64<u></u><u></u></p> \
<p class="MsoNormal"><u></u> <u></u></p> <p class="MsoNormal">Thanks and good \
luck<u></u><u></u></p> <p class="MsoNormal"><u></u> <u></u></p>
<div style="border-color:rgb(225,225,225) currentcolor \
currentcolor;border-style:solid none none;border-width:1pt medium medium;padding:3pt \
0in 0in"> <p class="MsoNormal"><b>From:</b> <a \
href="mailto:spacewalk-list-bounces@redhat.com" \
target="_blank">spacewalk-list-bounces@redhat.com</a> <<a \
href="mailto:spacewalk-list-bounces@redhat.com" \
target="_blank">spacewalk-list-bounces@redhat.com</a>> <b>On Behalf Of </b>Guy \
Matz<br> <b>Sent:</b> Wednesday, July 14, 2021 10:03 AM<br>
<b>To:</b> <a href="mailto:spacewalk-list@redhat.com" \
target="_blank">spacewalk-list@redhat.com</a><br> <b>Subject:</b> Re: \
[Spacewalk-list] channel weirdness<u></u><u></u></p> </div>
<p class="MsoNormal"><u></u> <u></u></p>
<p><strong><span style="font-size:19.5pt;font-family:"Calibri",sans-serif">* \
PROCEED WITH CAUTION - This email was sent from outside the Company \
*</span></strong><u></u><u></u></p> <p class="MsoNormal"><br>
<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">That didn't exactly work. The checksums in the repomd.xml \
file were not right . . . After manually updating repomd.xml I now \
get:<u></u><u></u></p> </div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">matz@nyc-lv01 \
~ $ sudo yum repolist<br> Loaded plugins: fastestmirror, langpacks, priorities, \
rhnplugin, versionlock<br> This system is receiving updates from RHN Classic or Red \
Hat Satellite.<br> Determining fastest mirrors<br>
schro | \
2.9 kB 00:00<br> schro/7/x86_64/primary_db \
| 97 kB 00:00<br> prod-centos7-x86_64 \
| 1.0 kB 00:00<br> prod-centos7-x86_64/group \
| 893 kB 00:00<br> prod-centos7-x86_64/primary \
| 12 MB 00:01<br>
Error: Error reading from file \
/var/cache/yum/x86_64/7/prod-centos7-x86_64/primary.xml.gz: CRC check failed \
0x584621a9 != 0xfd19ef97L</span><u></u><u></u></p> </div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Any advice?<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">On Wed, Jul 14, 2021 at 10:02 AM Guy Matz <<a \
href="mailto:guymatz@gmail.com" target="_blank">guymatz@gmail.com</a>> \
wrote:<u></u><u></u></p> </div>
<blockquote style="border-color:currentcolor currentcolor currentcolor \
rgb(204,204,204);border-style:none none none solid;border-width:medium medium medium \
1pt;padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in"> <div>
<div>
<p class="MsoNormal">Ah!! So it looks like my metadata files got created, but with \
a ".new" extension!!<u></u><u></u></p> </div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier \
New"">matz@pdx-lv01:/var/cache/rhn/repodata/prod-centos7-x86_64$ ls -lrt<br> \
total 608196<br>
-rw-r--r-- 1 root root 1039 May 3 08:48 repomd.xml<br>
-rw-r--r-- 1 root root 11414104 May 3 08:48 primary.xml.gz<br>
-rw-r--r-- 1 root root 248871638 May 3 08:48 other.xml.gz<br>
-rw-r--r-- 1 root root 27746744 May 3 08:48 filelists.xml.gz<br>
-rw-r--r-- 1 root root 12895419 Jun 25 13:48 primary.xml.gz.new<br>
-rw-r--r-- 1 root root 32289039 Jun 25 13:48 filelists.xml.gz.new<br>
-rw-r--r-- 1 root root 289556494 Jun 25 13:48 \
other.xml.gz.new</span><u></u><u></u></p> </div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">What's up with that?! Can I just mv the .new files in \
place?<u></u><u></u></p> </div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">On Mon, Jul 12, 2021 at 1:10 PM Brian Long <<a \
href="mailto:briandlong@gmail.com" target="_blank">briandlong@gmail.com</a>> \
wrote:<u></u><u></u></p> </div>
<blockquote style="border-color:currentcolor currentcolor currentcolor \
rgb(204,204,204);border-style:none none none solid;border-width:medium medium medium \
1pt;padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in"> <div>
<p class="MsoNormal">There are a couple of things to check. When you promote a \
channel using spacewalk-manage-channel-lifecycle, it takes a while for spacewalk to \
generate the new yum metadata (could be 5-15 minutes depending on your server and \
other activities). You can run "ls -ltr /var/cache/rhn/repodata | tail" \
to see if the channel you promoted has updated the metadata. Also, yum-based \
systems typically cache the repodata locally for six hours. Unless you run \
"yum clean metadata" and "yum check-update" manually, it could \
be up to six hours before your hosts see the updated repodata from Spacewalk. This \
can be lowered in /etc/yum.conf on each client, but it will add more load to your \
spacewalk server.<u></u><u></u></p> <div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">/Brian/<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">On Fri, Jul 9, 2021 at 6:48 PM Guy Matz <<a \
href="mailto:guymatz@gmail.com" target="_blank">guymatz@gmail.com</a>> \
wrote:<u></u><u></u></p> </div>
<blockquote style="border-color:currentcolor currentcolor currentcolor \
rgb(204,204,204);border-style:none none none solid;border-width:medium medium medium \
1pt;padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in"> <div>
<p class="MsoNormal">Hello! I have archived my prod channel and promoted from test \
to prod, however my clients don't see the new updates in the prod channel! I \
see the updates on the spacewalk server, but not on the clients! What's up with \
that?! <u></u><u></u></p>
</div>
<p class="MsoNormal">_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com" \
target="_blank">Spacewalk-list@redhat.com</a><br> <a \
href="https://listman.redhat.com/mailman/listinfo/spacewalk-list" \
target="_blank">https://listman.redhat.com/mailman/listinfo/spacewalk-list</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal">_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com" \
target="_blank">Spacewalk-list@redhat.com</a><br> <a \
href="https://listman.redhat.com/mailman/listinfo/spacewalk-list" \
target="_blank">https://listman.redhat.com/mailman/listinfo/spacewalk-list</a><u></u><u></u></p>
</blockquote>
</div>
</blockquote>
</div>
</div>
This email and any attachments may contain information that is confidential and/or \
privileged for the sole use of the intended recipient. Any use, review, disclosure, \
copying, distribution or reliance by others, and any forwarding of this email or its \
contents, without the express permission of the sender is strictly prohibited by \
law. If you are not the intended recipient, please contact the sender immediately, \
delete the e-mail and destroy all copies. </div>
_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com" \
target="_blank">Spacewalk-list@redhat.com</a><br> <a \
href="https://listman.redhat.com/mailman/listinfo/spacewalk-list" rel="noreferrer" \
target="_blank">https://listman.redhat.com/mailman/listinfo/spacewalk-list</a></blockquote></div>
_______________________________________________
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://listman.redhat.com/mailman/listinfo/spacewalk-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic