<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello and thanks for your response <br>
</p>
<p>I run the commands to re-generate the repomd.xml and I saw in
taskomatic_daeamon logs and in the respective directories of the
repositories that the files were recreated.</p>
<p><br>
</p>
<p>However, if I rerun the command to synchronize the channel it
fails again. <br>
</p>
<p>/usr/bin/spacewalk-repo-sync -c centos7_x86_64_ceph1.1 <br>
======================================<br>
| Channel: centos7_x86_64_ceph1.1<br>
======================================<br>
Sync of channel started.<br>
<br>
Processing repository with URL:
<a class="moz-txt-link-freetext" href="http://download.ceph.com/rpm-luminous/el7/x86_64/">http://download.ceph.com/rpm-luminous/el7/x86_64/</a><br>
ERROR: Cannot retrieve repository metadata (repomd.xml) for
repository: centos7_x86_64_ceph1.1. Please verify its path and try
again<br>
Sync of channel completed in 0:00:30.<br>
Total time: 0:00:30<br>
<br>
</p>
<p><br>
</p>
<p><br>
</p>
<p>IINFO: Connected to <a class="moz-txt-link-freetext" href="https://SPACEWALK/rpc/api">https://SPACEWALK/rpc/api</a> as USER</p>
<p>Repository Label: ceph<br>
Repository URL:
<a class="moz-txt-link-freetext" href="http://download.ceph.com/rpm-luminous/el7/x86_64/">http://download.ceph.com/rpm-luminous/el7/x86_64/</a><br>
Repository Type: yum<br>
Repository SSL Ca Certificate: None<br>
Repository SSL Client Certificate: None</p>
<p><br>
</p>
<p>Thanks <br>
</p>
<p><br>
</p>
<p>V</p>
<p><br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 25/01/2019 21:00, Dennis Pittman
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:DM5PR13MB15773D7D729E1802133B639AC79B0@DM5PR13MB1577.namprd13.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
Hello V,</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
I think missed the point during my last response. <br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
Check your configured repos:</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
"spacecmd repo_details centos7_x86_64_ceph"</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
or</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
"spacewalk-repo-sync -l" to get a list of software channels
with associated repos.</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
--Dennis P<br>
</div>
<div>
<div style="font-family:Calibri,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
face="Calibri, sans-serif" color="#000000"><b>From:</b>
Dennis Pittman <a class="moz-txt-link-rfc2396E" href="mailto:djpittma@outlook.com"><djpittma@outlook.com></a><br>
<b>Sent:</b> Friday, January 25, 2019 3:52 PM<br>
<b>To:</b> Vasileios Baousis; <a class="moz-txt-link-abbreviated" href="mailto:spacewalk-list@redhat.com">spacewalk-list@redhat.com</a><br>
<b>Subject:</b> Re: [Spacewalk-list] Fwd:
spacewalk-repo-sync</font>
<div> </div>
</div>
<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
Hello V,</div>
<div style="font-family:Calibri,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
There could be several reasons why the repodata "repomd.xml"
is not being created or updated. The simple step would be
to look at your taskomatic logs and see where the failure
occurs.
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
EL type hosts log locations are: "/var/log/rhn" In there
you'll find most of the logs needed to diagnose what's
failing.</div>
<div style="font-family:Calibri,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
Here's some other stuff I pulled together from the web and
this community.</div>
<div style="font-family:Calibri,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
=====</div>
<div style="font-family:Calibri,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
<span>How To - Regenerate Spacewalk\Satellite software
channel(s) repodata<br>
</span>
<div><br>
</div>
<div><< Source:
<a class="moz-txt-link-freetext" href="https://www.unixinfo.nl/rh-red-hat-satellite-re-generating-repodata-channel-fix/">https://www.unixinfo.nl/rh-red-hat-satellite-re-generating-repodata-channel-fix/</a>
>><br>
</div>
<div><< Source : Redhat Solution 319983 >><br>
</div>
<div><br>
</div>
<div>Issue:<br>
</div>
<div> * Red Hat Satellite is not re-generating repodata
for any channel , How to fix and regenerate the repodata ?<br>
</div>
<div> * On the Red Hat Satellite server repodata is
missing under /var/cache/rhn/repodata/channel-label , even
after restarting taskomatic service repodata is not
getting generated<br>
</div>
<div> * On the Red Hat Satellite client, yum fails with;
<br>
</div>
<div><br>
</div>
<div> "Error: Cannot retrieve repository metadata
(repomd.xml) for repository: channel-label.
<br>
</div>
<div> Please verify its path and try again"<br>
</div>
<div><br>
</div>
<div> * Difference in Packages Count on satellite and on
client for same channel<br>
</div>
<div><br>
</div>
<div> <br>
</div>
<div>Environment:<br>
</div>
<div> * Red Hat Satellite<br>
</div>
<div> * Red Hat Enterprise Linux (RHEL)<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Resolution:<br>
</div>
<div>Follow the steps below on your Red Hat Satellite server
to force repodata generation for any software channel
(problematic or not).<br>
</div>
<div><br>
</div>
<div> Option 1: Schedule repodata re-generation task for
taskomatic daemon using API:<br>
</div>
<div><br>
</div>
<div> # spacewalk-api --server=<your Satellite
FQDN> --user=<admin user> --password=<
paswword> channel.software.regenerateYumCache %session%
<Channel Label>
<br>
</div>
<div><br>
</div>
<div> Note: Replace satellite server hostname ,
username/password and channel label with proper values.
<br>
</div>
<div> If there is more than one affected channel, then
run this command multiple time with different channel
labels.<br>
</div>
<div><br>
</div>
<div> Example: To re-generate repodata for
rhn-tools-rhel-x86_64-server-6 channel you can use this
command:<br>
</div>
<div><br>
</div>
<div> # spacewalk-api --server=sw.sciquest.com
--user=sciquest1 --password=secret
channel.software.regenerateYumCache %session%
rhel6-rhn-tools-x86_64-20180618
<br>
</div>
<div><br>
</div>
<div> Option 2: Force execution of the scheduled task<br>
</div>
<div><br>
</div>
<div> - Login to `RH Satellite` WebUi<br>
</div>
<div> - Click on `Admin` tab<br>
</div>
<div> - Click on `Task Schedules` on left hand menu<br>
</div>
<div> - Click on `Channel-repodata-bunch`<br>
</div>
<div> - Click on button "Single Run Schedule" <br>
</div>
<div><br>
</div>
<div> Monitor /var/log/rhn/rhn_taskomatic_daemon.log file
on the spacewalk server for progress of the repodata
re-generation and confirm whether repodata files got
created under /var/cache/rhn/repodata/channel-label
directory or not.<br>
</div>
<div><br>
</div>
<div> # ls -l
/var/cache/rhn/repodata/<channel-label> <br>
</div>
<div><br>
</div>
<div><br>
</div>
<div> Note: Initially we can see files with ".new"
extension which means that repodata re-generation is in
progress.<br>
</div>
<div> Once the ".new" extension is removed, this means
that repodata generation has completed.<br>
</div>
<div><br>
</div>
<div> After the above steps are completed you can run the
below mentioned commands on the client and confirm Channel
contents are available to the client or not:<br>
</div>
<div><br>
</div>
<div> # yum clean all<br>
</div>
<div> # yum repolist <br>
</div>
<span></span></div>
<div style="font-family:Calibri,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
--Dennis P</div>
<div style="font-family:Calibri,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div>
<div style="font-family:Calibri,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font
style="font-size:11pt" face="Calibri, sans-serif"
color="#000000"><b>From:</b>
<a class="moz-txt-link-abbreviated" href="mailto:spacewalk-list-bounces@redhat.com">spacewalk-list-bounces@redhat.com</a>
<a class="moz-txt-link-rfc2396E" href="mailto:spacewalk-list-bounces@redhat.com"><spacewalk-list-bounces@redhat.com></a> on behalf of
Vasileios Baousis <a class="moz-txt-link-rfc2396E" href="mailto:bbaous@gmail.com"><bbaous@gmail.com></a><br>
<b>Sent:</b> Friday, January 25, 2019 3:41 PM<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:spacewalk-list@redhat.com">spacewalk-list@redhat.com</a><br>
<b>Subject:</b> [Spacewalk-list] Fwd:
spacewalk-repo-sync</font>
<div> </div>
</div>
<div style="background-color:#FFFFFF">
<div class="x_x_moz-forward-container">Hello, <br>
</div>
<div class="x_x_moz-forward-container"><br>
</div>
<div class="x_x_moz-forward-container">After my spacewalk
upgrade to 2.9 all my channel synchronizations are
failing . e.g
<br>
<p style="margin-top: 0px; margin-bottom: 0px;">/usr/bin/spacewalk-repo-sync
-c centos7_x86_64_ceph -t yum</p>
<p style="margin-top: 0px; margin-bottom: 0px;">Processing
repository with URL: <a
href="https://nam05.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdownload.ceph.com%2Frpm-luminous%2Fel7%2Fx86_64%2F%3Ffbclid%3DIwAR1aUnNiBiKu_SCxkWCK2GH48PZwKDshJdxHzBZ64uoiDVQ9ecjKhlN7izY&data=02%7C01%7C%7C65793e5366b44996dc4c08d683058820%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636840457109278687&sdata=QjwWNn7jcwgE4ba%2BKbYBvmVuj69ubwpc0VxwlWzvDN0%3D&reserved=0"
originalsrc="http://download.ceph.com/rpm-luminous/el7/x86_64/?fbclid=IwAR1aUnNiBiKu_SCxkWCK2GH48PZwKDshJdxHzBZ64uoiDVQ9ecjKhlN7izY"
shash="BQtas3pK5NEXqmRR66neDaljKxD1lZsf/BVk0fejSlNIQ4M7iO+gaOqgH+LnImhDEGRUobt7Y3n1H6v8Tu2wOTAsiMCNeD0KU3mEjMg8j0lp9lEt8GjrWTLaIAmgVROAewcqg1lnmZF0OplV/LH1HI7086ibAgcoIPPBOT5jJZg="
target="_blank" rel="noopener nofollow"
moz-do-not-send="true">
http://download.ceph.com/rpm-luminous/el7/x86_64/</a></p>
<br>
ERROR: Cannot retrieve repository metadata (repomd.xml)
for repository: centos7_x86_64_ceph1.1. Please verify
its path and try again
<div class="x_x_text_exposed_show">
<p style="margin-top: 0px; margin-bottom: 0px;">All
the channel sync used to work properly before the
upgrade.
<br>
</p>
<p style="margin-top: 0px; margin-bottom: 0px;">Any
suggestions?<br>
Thanks</p>
<p style="margin-top: 0px; margin-bottom: 0px;">V<br>
</p>
</div>
<p style="margin-top: 0px; margin-bottom: 0px;"><br>
</p>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</body>
</html>