Ubuntu repos not working after upgrade to 2022.02
Hi all ! After upgrading from 2021.12 to 2022.02, the registered Ubuntu 18.04/20.04 are not able to get the repos anymore. Result of an 'apt update': E: Failed to fetch https://uyu01v:443/rhn/manager/download/dists/ubuntu-1804-amd64-main-uyuni/m... 404 Not Found [IP: 10.0.0.1 443] E: Failed to fetch https://uyu01v:443/rhn/manager/download/dists/ubuntu-18.04-pool-amd64-uyuni/... 404 Not Found [IP: 10.0.0.1 443] E: Failed to fetch https://uyu01v:443/rhn/manager/download/dists/ubuntu-1804-amd64-uyuni-client... 404 Not Found [IP: 10.0.0.1 443] E: Failed to fetch https://uyu01v:443/rhn/manager/download/dists/ubuntu-1804-amd64-universe-uyu... 404 Not Found [IP: 10.0.0.1 443] E: Failed to fetch https://uyu01v:443/rhn/manager/download/dists/ubuntu-1804-amd64-multiverse-u... 404 Not Found [IP: 10.0.0.1 443] E: Failed to fetch https://uyu01v:443/rhn/manager/download/dists/ubuntu-1804-amd64-main-updates... 404 Not Found [IP: 10.0.0.1 443] E: Failed to fetch https://uyu01v:443/rhn/manager/download/dists/ubuntu-1804-amd64-main-securit... 404 Not Found [IP: 10.0.0.1 443] E: Failed to fetch https://uyu01v:443/rhn/manager/download/dists/ubuntu-1804-amd64-universe-upd... 404 Not Found [IP: 10.0.0.1 443] E: Failed to fetch https://uyu01v:443/rhn/manager/download/dists/ubuntu-1804-amd64-multiverse-u... 404 Not Found [IP: 10.0.0.1 443] E: Some index files failed to download. They have been ignored, or old ones used instead. I have tried to remove the apt cache on the registered servers, but no luck. I have tried to force the repo sync to regenerate the repos metadata on the Uyuni server , but it did not help neither. Somebody with this same issue ? Do I just need to be patient to let internal Uyuni mechanism to regenerate caches or whatever ? Thanks ! Philippe. Philippe Bidault | Unix Engineer | Getronics ________________________________ M. 34617301667 | E. Philippe.Bidault@Getronics.com | W. www.getronics.comhttp://www.getronics.com Follow us on: [cid:SocialLink_Linkedin_32x32_e7c75ee5-f8bf-4d58-979b-3050856d34e9.png]https://www.linkedin.com/company/getronics/ [cid:SocialLink_Twitter_32x32_cb75fe15-abe1-46a3-9ac3-fc99d077e43b.png] https://twitter.com/getronics [cid:SocialLink_Youtube_32x32_1946f212-29cc-40bc-9061-3536027a9813.png] https://www.youtube.com/channel/UCfEFIFxLdxxhMN-Eaa6pXVA https://twitter.com/getronics Getronics CMC Service Desk Iberia S.L - VAT No:S.L.: B66686262. Registered Office - Getronics CMC Service Desk Iberia S.L, C/Rosselloi, Porcel, 21 planta 11, 08016 Barcelona, Spain. The information transmitted is intended only for use by the addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. Thank you. Legal disclaimer: http://www.getronics.com/legal/ and further details of how we treat your personal data can be found in our privacy policyhttps://www.getronics.com/policy-pages/corporate-policy-legal-disclaimer/
Found it ! An apply highstate is needed on the Ubuntu registered clients as the repository configuration has changed.
From: Bidault, Philippe
Hi.
Sounds a bit confusig as the change which can affect (not sure if it's really the one I think about, will check later) it was included last summer or beginning of the autumn last yer.
Victor
On Tue, 2022-03-15 at 14:08 +0000, Bidault, Philippe via Uyuni Users wrote:
Found it ! An apply highstate is needed on the Ubuntu registered clients as the repository configuration has changed.
From: Bidault, Philippe
Hi Victor,
In the apply highstate result, I can see changes done on the repositories URL:
ID: mgrchannels_repo
Function: file.managed
Name: /etc/apt/sources.list.d/susemanager:channels.list
Result: true
Comment: File /etc/apt/sources.list.d/susemanager:channels.list updated
Started: 13:22:08.227150
Duration: 498.783
SLS: channels
Changed: diff: "---
+++
@@ -2,27 +2,27 @@
# Do not edit this file, changes will be overwritten
#
-deb [trusted=yes] https://uyu01v:443/rhn/manager/download\https://uyu01v:443/rhn/manager/download/
\ ubuntu-2004-amd64-main-uyuni main
+deb [trusted=yes] https://uyu01v:443/rhn/manager/download ubuntu-2004-amd64-main-uyuni/
\
-deb [trusted=yes] https://uyu01v:443/rhn/manager/download ubuntu-20.04-pool-amd64-uyuni main
+deb [trusted=yes] https://uyu01v:443/rhn/manager/download\https://uyu01v:443/rhn/manager/download/
\ ubuntu-20.04-pool-amd64-uyuni/
-deb [trusted=yes] https://uyu01v:443/rhn/manager/download ubuntu-2004-amd64-universe-uyuni main
\
+deb [trusted=yes] https://uyu01v:443/rhn/manager/download ubuntu-2004-amd64-universe-uyuni/
-deb [trusted=yes] https://uyu01v:443/rhn/manager/download\https://uyu01v:443/rhn/manager/download/
\ ubuntu-2004-amd64-multiverse-uyuni main
+deb [trusted=yes] https://uyu01v:443/rhn/manager/download ubuntu-2004-amd64-multiverse-uyuni/
\
\
-deb [trusted=yes] https://uyu01v:443/rhn/manager/download ubuntu-2004-amd64-main-updates-uyuni main
+deb [trusted=yes] https://uyu01v:443/rhn/manager/download\https://uyu01v:443/rhn/manager/download/
\ ubuntu-2004-amd64-main-updates-uyuni/
-deb [trusted=yes] https://uyu01v:443/rhn/manager/download ubuntu-2004-amd64-main-security-uyuni\
\ main
+deb [trusted=yes] https://uyu01v:443/rhn/manager/download ubuntu-2004-amd64-main-security-uyuni/
-deb [trusted=yes] https://uyu01v:443/rhn/manager/download\https://uyu01v:443/rhn/manager/download/
\ ubuntu-2004-amd64-universe-updates-uyuni main
+deb [trusted=yes] https://uyu01v:443/rhn/manager/download ubuntu-2004-amd64-universe-updates-uyuni/
\
\
-deb [trusted=yes] https://uyu01v:443/rhn/manager/download ubuntu-2004-amd64-multiverse-updates-uyuni main
+deb [trusted=yes]\
\ https://uyu01v:443/rhn/manager/download ubuntu-2004-amd64-multiverse-updates-uyuni/
"
And seems that /etc/apt/auth.conf.d/susemanager.conf has been added too or modified not sure:
----------
ID: aptauth_conf
Function: file.managed
Name: /etc/apt/auth.conf.d/susemanager.conf
Result: true
Comment: File /etc/apt/auth.conf.d/susemanager.conf updated
Started: 13:22:08.726436
Duration: 255.17
SLS: channels
Changed: diff: "---
+++
@@ -2,27 +2,19 @@
# Do not edit this file, changes will be overwritten
#
-machine uyu01v:443/rhn/manager/download/dists/ubuntu-2004-amd64-universe-uyuni\
\ login eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2NzgyNCCCCNTYsImlhdCI6MTY0NjczMTg1NIjoxNjQ2NzMxNzM2LCJqdGkiOiJ5Qk8zVTQyV1VOUFAwWmhLMEdEeHJnIiwib3JnIjvbmx5Q2hhbm5lbHMiOlsidWJ1bnR1LTIwMDQtYW1kNjQtdW5pdmVyc2UtdXl1bmkiXX0.xGLdYHEAELTEc0_0GT8CbeEvHGDI1CBd-gFpE
\
….
Philippe.
From: Victor Zhestkov
Hi Philippe.
Yup, I mean this change, but there is a configuration in Apache to prevent the issues on switch the repos to flat format and I'm sure I've tested it and the change was made long time ago as I said.
Will check what else can affect it. Thanks for reporting.
Victor
On Tue, 2022-03-15 at 14:23 +0000, Bidault, Philippe wrote:
Hi Victor,
In the apply highstate result, I can see changes done on the repositories URL:
ID: mgrchannels_repo
Function: file.managed
Name: /etc/apt/sources.list.d/susemanager:channels.list
Result: true
Comment: File /etc/apt/sources.list.d/susemanager:channels.list updated
Started: 13:22:08.227150
Duration: 498.783
SLS: channels
Changed: diff: "---
+++
@@ -2,27 +2,27 @@
# Do not edit this file, changes will be overwritten
#
-deb [trusted=yes] https://uyu01v:443/rhn/manager/download\https://uyu01v:443/rhn/manager/download/
\ ubuntu-2004-amd64-main-uyuni main
+deb [trusted=yes] https://uyu01v:443/rhn/manager/download ubuntu-2004-amd64-main-uyuni/
\
-deb [trusted=yes] https://uyu01v:443/rhn/manager/download ubuntu-20.04-pool-amd64-uyuni main
+deb [trusted=yes] https://uyu01v:443/rhn/manager/download\https://uyu01v:443/rhn/manager/download/
\ ubuntu-20.04-pool-amd64-uyuni/
-deb [trusted=yes] https://uyu01v:443/rhn/manager/download ubuntu-2004-amd64-universe-uyuni main
\
+deb [trusted=yes] https://uyu01v:443/rhn/manager/download ubuntu-2004-amd64-universe-uyuni/
-deb [trusted=yes] https://uyu01v:443/rhn/manager/download\https://uyu01v:443/rhn/manager/download/
\ ubuntu-2004-amd64-multiverse-uyuni main
+deb [trusted=yes] https://uyu01v:443/rhn/manager/download ubuntu-2004-amd64-multiverse-uyuni/
\
\
-deb [trusted=yes] https://uyu01v:443/rhn/manager/download ubuntu-2004-amd64-main-updates-uyuni main
+deb [trusted=yes] https://uyu01v:443/rhn/manager/download\https://uyu01v:443/rhn/manager/download/
\ ubuntu-2004-amd64-main-updates-uyuni/
-deb [trusted=yes] https://uyu01v:443/rhn/manager/download ubuntu-2004-amd64-main-security-uyuni\
\ main
+deb [trusted=yes] https://uyu01v:443/rhn/manager/download ubuntu-2004-amd64-main-security-uyuni/
-deb [trusted=yes] https://uyu01v:443/rhn/manager/download\https://uyu01v:443/rhn/manager/download/
\ ubuntu-2004-amd64-universe-updates-uyuni main
+deb [trusted=yes] https://uyu01v:443/rhn/manager/download ubuntu-2004-amd64-universe-updates-uyuni/
\
\
-deb [trusted=yes] https://uyu01v:443/rhn/manager/download ubuntu-2004-amd64-multiverse-updates-uyuni main
+deb [trusted=yes]\
\ https://uyu01v:443/rhn/manager/download ubuntu-2004-amd64-multiverse-updates-uyuni/
"
And seems that /etc/apt/auth.conf.d/susemanager.conf has been added too or modified not sure:
----------
ID: aptauth_conf
Function: file.managed
Name: /etc/apt/auth.conf.d/susemanager.conf
Result: true
Comment: File /etc/apt/auth.conf.d/susemanager.conf updated
Started: 13:22:08.726436
Duration: 255.17
SLS: channels
Changed: diff: "---
+++
@@ -2,27 +2,19 @@
# Do not edit this file, changes will be overwritten
#
-machine uyu01v:443/rhn/manager/download/dists/ubuntu-2004-amd64-universe-uyuni\
\ login eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2NzgyNCCCCNTYsImlhdCI6MTY0NjczMTg1NIjoxNjQ2NzMxNzM2LCJqdGkiOiJ5Qk8zVTQyV1VOUFAwWmhLMEdEeHJnIiwib3JnIjvbmx5Q2hhbm5lbHMiOlsidWJ1bnR1LTIwMDQtYW1kNjQtdW5pdmVyc2UtdXl1bmkiXX0.xGLdYHEAELTEc0_0GT8CbeEvHGDI1CBd-gFpE
\
….
Philippe.
From: Victor Zhestkov
participants (2)
-
Bidault, Philippe
-
Victor Zhestkov