[Spacewalk-list] 404-error for Cloned Channel from Client behind Proxy
Matthias Gruber
MGruber at metzler.com
Tue Jul 30 17:45:53 UTC 2019
Hi!
I have some strange error in my opinion...
I have cloned channels for my RHEL 7 Servers (server-rpms, optional,
supplemental, extra etc.p.p.)
My client is behind a Spacewalk-Proxy in the same network as the
Spacewalk-Server (doing that for performance and split reasons), several
Proxies in other networks to come.
However...
If I subscribe the Client to the Cloned-Basechannel and the attached
cloned Child-Channels (the whole RHEL 7-Stuff) I get all other except the
Server-Base-Channel which counts 0
[root at lvasx-bo2 etc]# yum clean all
Loaded plugins: fastestmirror, product-id, rhnplugin,
search-disabled-repos, subscription-manager
Cleaning repos: basis-chnl-os-rhel-7 chnl-os-rhel-7-server
chnl-os-rhel-7-server-extras chnl-os-rhel-7-server-fastrack
: chnl-os-rhel-7-server-optional
chnl-os-rhel-7-server-optional-fastrack
chnl-os-rhel-7-server-supplementary
Cleaning up list of fastest mirrors
Other repos take up 240 bytes of disk space (use --verbose for details)
[root at lvasx-bo2 etc]# yum repolist
Loaded plugins: fastestmirror, product-id, rhnplugin,
search-disabled-repos, subscription-manager
This system is receiving updates from RHN Classic or Red Hat Satellite.
Determining fastest mirrors
clone-basis-chnl-os-rhel-7 |
871 B 00:00:00
clone-basis-chnl-os-rhel-7/primary | 129 B 00:00:00
clone-chnl-epel-rhel-7 | 1.3
kB 00:00:00
clone-chnl-epel-rhel-7/group | 365 kB 00:00:00
clone-chnl-epel-rhel-7/updateinfo | 1.2 MB 00:00:00
clone-chnl-epel-rhel-7/primary | 3.9 MB 00:00:00
clone-chnl-epel-rhel-7 13595/13595
clone-chnl-os-rhel-7-server-extras | 1.1 kB 00:00:00
clone-chnl-os-rhel-7-server-extras/updateinfo | 176 kB
00:00:00
clone-chnl-os-rhel-7-server-extras/primary | 183 kB 00:00:00
clone-chnl-os-rhel-7-server-extras 1118/1118
clone-chnl-os-rhel-7-server-fastrack | 871 B 00:00:00
clone-chnl-os-rhel-7-server-fastrack/primary | 129 B
00:00:00
clone-chnl-os-rhel-7-server-optional | 1.1 kB 00:00:00
clone-chnl-os-rhel-7-server-optional/updateinfo | 2.1
MB 00:00:00
clone-chnl-os-rhel-7-server-optional/primary | 2.6 MB
00:00:00
clone-chnl-os-rhel-7-server-optional 17856/17856
clone-chnl-os-rhel-7-server-optional-fastrack | 871 B
00:00:00
clone-chnl-os-rhel-7-server-optional-fastrack/primary | 129 B
00:00:00
clone-chnl-os-rhel-7-server-supplementary | 1.1 kB 00:00:00
clone-chnl-os-rhel-7-server-supplementary/updateinfo | 52 kB 00:00:00
clone-chnl-os-rhel-7-server-supplementary/primary |
88 kB 00:00:00
clone-chnl-os-rhel-7-server-supplementary 322/322
clone-chnl-spacewalk-29-client-rhel-7 | 871 B 00:00:00
clone-chnl-spacewalk-29-client-rhel-7/primary | 16 kB
00:00:00
clone-chnl-spacewalk-29-client-rhel-7 73/73
repo id repo
name status
clone-basis-chnl-os-rhel-7 clone-basis-chnl-os-rhel-7 0
clone-chnl-epel-rhel-7 clone-chnl-epel-rhel-7 13,595
clone-chnl-os-rhel-7-server clone-chnl-os-rhel-7-server 0
clone-chnl-os-rhel-7-server-extras clone-chnl-os-rhel-7-server-extras
1,118
clone-chnl-os-rhel-7-server-fastrack clone-chnl-os-rhel-7-server-fastrack
0
clone-chnl-os-rhel-7-server-optional clone-chnl-os-rhel-7-server-optional
17,856
clone-chnl-os-rhel-7-server-optional-fastrack
clone-chnl-os-rhel-7-server-optional-fastrack 0
clone-chnl-os-rhel-7-server-supplementary
clone-chnl-os-rhel-7-server-supplementary 322
clone-chnl-spacewalk-29-client-rhel-7
clone-chnl-spacewalk-29-client-rhel-7 73
repolist: 32,964
If I subscribe the server to the "original" none-cloned base-channel... no
problem, getting all Packages in the server-channel and not 0 as in the
cloned
I had a look into access.log of the httd
10.50.55.100 - - [30/Jul/2019:19:22:33 +0200] "GET
/XMLRPC/GET-REQ/clone-chnl-spacewalk-29-client-rhel-6/repodata/repomd.xml
HTTP/1.1" 200 871 "-" "rhn.rpclib.py/2.9.52.9.5-1.el61.el6"
10.50.55.100 - - [30/Jul/2019:19:23:00 +0200] "GET
/XMLRPC/GET-REQ/clone-basis-chnl-os-rhel-7/repodata/repomd.xml HTTP/1.1"
304 - "-" "rhn.rpclib.py/2.9.52.9.5-1.el71.el7"
10.50.55.100 - - [30/Jul/2019:19:23:00 +0200] "GET
/XMLRPC/GET-REQ/clone-basis-chnl-os-rhel-7/repodata/primary.xml.gz
HTTP/1.1" 200 129 "-" "rhn.rpclib.py/2.9.52.9.5-1.el71.el7"
10.50.55.100 - - [30/Jul/2019:19:23:00 +0200] "GET
/XMLRPC/GET-REQ/clone-chnl-epel-rhel-7/repodata/repomd.xml HTTP/1.1" 304 -
"-" "rhn.rpclib.py/2.9.52.9.5-1.el71.el7"
10.50.55.100 - - [30/Jul/2019:19:23:00 +0200] "GET
/XMLRPC/GET-REQ/clone-chnl-epel-rhel-7/repodata/comps.xml HTTP/1.1" 200
373476 "-" "rhn.rpclib.py/2.9.52.9.5-1.el71.el7"
10.50.55.100 - - [30/Jul/2019:19:23:00 +0200] "GET
/XMLRPC/GET-REQ/clone-chnl-epel-rhel-7/repodata/updateinfo.xml.gz
HTTP/1.1" 200 1300281 "-""rhn.rpclib.py/2.9.52.9.5-1.el71.el7"
10.50.55.100 - - [30/Jul/2019:19:23:00 +0200] "GET
/XMLRPC/GET-REQ/clone-chnl-epel-rhel-7/repodata/primary.xml.gz HTTP/1.1"
200 4049997 "-" "rhn.rpclib.py/2.9.52.9.5-1.el71.el7"
10.50.55.100 - - [30/Jul/2019:19:23:04 +0200] "GET
/XMLRPC/GET-REQ/clone-chnl-os-rhel-7-server/repodata/repomd.xml HTTP/1.1"
404 - "-" "rhn.rpclib.py/2.9.52.9.5-1.el71.el7"
10.50.55.100 - - [30/Jul/2019:19:23:04 +0200] "GET
/XMLRPC/GET-REQ/clone-chnl-os-rhel-7-server/repodata/repomd.xml HTTP/1.1"
404 - "-" "rhn.rpclib.py/2.9.52.9.5-1.el71.el7"
And I see 404-Errors
A look into the rhn_proxy_broker I also see 404s (yes the timestamp is not
exact in the example, ist from another try)
2019/07/30 19:27:00 +02:00 1273 10.50.17.22: proxy/rhnShared._serverCommo
2019/07/30 19:27:00 +02:00 1273 10.50.17.22:
broker/rhnBroker.handler('Leaving handler with status code 404',)
2019/07/30 19:27:00 +02:00 1273 10.50.17.22:
proxy/apacheHandler.handler('Leaving with status code 404',)
2019/07/30 19:27:00 +02:00 1273 10.50.17.22:
proxy/apacheHandler.cleanupHandler
2019/07/30 19:27:00 +02:00 1568 10.50.17.22:
proxy/apacheServer.__call__('New request, component proxy.broker',)
2019/07/30 19:27:00 +02:00 1568 10.50.17.22: broker/rhnBroker.handler
2019/07/30 19:27:00 +02:00 1568 10.50.17.22: proxy/rhnShared._serverCommo
I rebuild the squid-cache... no problem....
I use this proxy also with Centos 6 + 7 and RHEL 6 and have no trouble
with those cloned channels at all....
Any clues or hints for me...
I also cloned the server-channel again with another name... same result,
also a spacewalk-fsck had no success
Any help is appreciated.... thanks in advance
cheers
Matthias
------------------------------------------------------------------------------------
METZLER
Informationstechnologie
Matthias Gruber
IT-Infrastruktur & -Betrieb
B. Metzler seel. Sohn & Co.
Kommanditgesellschaft auf Aktien
Untermainanlage 1
60329 Frankfurt am Main
Telefon (0 69) 21 04 - 43 30
Telefax (0 69) 21 04 - 40 40
MGruber at metzler.com
www.metzler.com
Persönlich haftende Gesellschafter: Harald Illy, Michael Klaus, Friedrich von Metzler, Emmerich Müller, Gerhard Wiesheu
Vorsitzender des Aufsichtsrats: Dr. Christoph Schücking
Sitz der Gesellschaft: Frankfurt am Main, Handelsregister-Nr. HRB 27 515
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfänger sein, so bitten wir Sie höflich, dies unverzüglich dem Absender mitzuteilen und die Nachricht zu löschen. Es ist unzulässig, die Nachricht unbefugt weiterzuleiten oder zu kopieren. Da wir nicht die Echtheit oder Vollständigkeit der in dieser Nachricht enthaltenen Informationen garantieren oder zusichern können, sind die vorstehenden Ausführungen rechtlich nicht bindend. Eine Haftung hierfür wird ausgeschlossen.
This message is confidential. If you are not the intended recipient, we kindly ask you to inform the sender and delete the information. Any unauthorised dissemination or copying hereof is prohibited. As we cannot guarantee or assure the genuineness or completeness of the information contained in this message, the statements set forth above are not legally binding. Accordingly we cannot accept any liability for their contents.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20190730/c090ddde/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20190730/c090ddde/attachment.sig>
More information about the Spacewalk-list
mailing list