Actually I do and I don't. There's no auth.conf, ppanon@mydomain@mytestclient:/etc/apt$ ls -al total 20 drwxr-xr-x 7 root root 158 Dec 7 19:42 . drwxr-xr-x 97 root root 8192 Feb 4 06:03 .. drwxr-xr-x 2 root root 296 Jan 28 06:40 apt.conf.d drwxr-xr-x 2 root root 30 Jan 26 23:17 auth.conf.d drwxr-xr-x 2 root root 6 Apr 9 2020 preferences.d -rw-r--r-- 1 root root 2779 Jan 26 23:17 sources.list -rw-r--r-- 1 root root 2743 Jul 31 2020 sources.list.curtin.old drwxr-xr-x 2 root root 39 Jan 26 23:17 sources.list.d drwxr-xr-x 2 root root 123 Jul 31 2020 trusted.gpg.d but there is a file in the auth.conf.d subdirectory ppanon@mydomain@mytestclient:/etc/apt$ ls -al auth.conf.d/ total 8 drwxr-xr-x 2 root root 30 Jan 26 23:17 . drwxr-xr-x 7 root root 158 Dec 7 19:42 .. -rw------- 1 _apt root 5058 Jan 26 23:17 susemanager.conf For each channel there are two entries: ppanon@mydomain@mytestclient:/etc/apt$ sudo more auth.conf.d/susemanager.conf [sudo] password for ppanon@mydomain: # susemanager.conf managed by SUSE Manager # Do not edit this file, changes will be overwritten # machine myserver.mydomain:443/rhn/manager/download/dists/<channel1> login <long encrypted string> machine myserver.mydomain:443/rhn/manager/download/<channel1> login <long encrypted string> machine myserver.mydomain:443/rhn/manager/download/dists/<channel2> login <long encrypted string#2> machine myserver.mydomain:443/rhn/manager/download/<channel2> login <long encrypted string#2> . . . The encrypted strings are the same for the two entries for each channel, but differ from channel to channel. So maybe the problem is that the auth.conf file which should include the files in the subdirectory are missing? I'm not sure what the syntax for that would be and it didn't look like that was necessary in the man page. I've tried to run #sudo apt -oDebug::pkgAcquire::Worker=1 update and I don't see any indication that tokens are being submitted in the URLs listed in the output, but I don't know if that should be visible or not. Err:1 https://myserver.mydomain:443/rhn/manager/download ubuntu-2004-amd64-main-security-uyuni InRelease <- https:102%20Status%0aURI:%20https://myserver.mydomain:443/rhn/manager/download/dists/ubuntu-20.04-pool-a...) <- https:102%20Status%0aURI:%20https://myserver.mydomain:443/rhn/manager/download/dists/ubuntu-20.04-pool-a...) <- https:102%20Status%0aURI:%20https://myserver.mydomain:443/rhn/manager/download/dists/ubuntu-20.04-pool-a... <- https:400%20URI%20Failure%0aFailReason:%20HttpError404%0aMessage:%20404%20%20404%20[IP:%2010.90.16.11%20443]%0aURI:%20https://myserver.mydomain:443/rhn/manager/download/dists/ubuntu-20.04-pool-a... Ign:8 https://myserver.mydomain:443/rhn/manager/download ubuntu-20.04-pool-amd64-uyuni InRelease <- https:102%20Status%0aURI:%20https://myserver.mydomain:443/rhn/manager/download/dists/ubuntu-2004-amd64-u... <- https:200%20URI%20Start%0aLast-Modified:%20Sun,%2008%20Nov%202020%2017:04:03%20+0000%0aURI:%20https://myserver.mydomain:443/rhn/manager/download/dists/ubuntu-2004-amd64-u... Get:9 https://myserver.mydomain:443/rhn/manager/download ubuntu-2004-amd64-uyuni-client InRelease <- https:400%20URI%20Failure%0aTransient-Failure:%20true%0aFailReason:%20HttpError404%0aMessage:%20Undetermined%20Error%20[IP:%2010.90.16.11%20443]%0aURI:%20https://myserver.mydomain:443/rhn/manager/download/dists/ubuntu-2004-amd64-u... -> https:600%20URI%20Acquire%0aURI:%20https://myserver.mydomain:443/rhn/manager/download/dists/ubuntu-20.04-pool-a... Err:9 https://myserver.mydomain:443/rhn/manager/download ubuntu-2004-amd64-uyuni-client InRelease <- https:102%20Status%0aURI:%20https://myserver.mydomain:443/rhn/manager/download/dists/ubuntu-2004-amd64-u...) <- https:102%20Status%0aURI:%20https://myserver.mydomain:443/rhn/manager/download/dists/ubuntu-2004-amd64-u...) <- https:102%20Status%0aURI:%20https://myserver.mydomain:443/rhn/manager/download/dists/ubuntu-2004-amd64-u... <- https:200%20URI%20Start%0aLast-Modified:%20Tue,%2008%20Dec%202020%2012:19:09%20+0000%0aURI:%20https://myserver.mydomain:443/rhn/manager/download/dists/ubuntu-2004-amd64-u... Get:10 https://myserver.mydomain:443/rhn/manager/download ubuntu-2004-amd64-universe-updates-uyuni InRelease <- https:400%20URI%20Failure%0aTransient-Failure:%20true%0aMessage:%20Undetermined%20Error%20[IP:%2010.90.16.11%20443]%0aURI:%20https://myserver.mydomain:443/rhn/manager/download/dists/ubuntu-2004-amd64-u... Err:10 https://myserver.mydomain:443/rhn/manager/download ubuntu-2004-amd64-universe-updates-uyuni InRelease <- https:102%20Status%0aURI:%20https://myserver.mydomain:443/rhn/manager/download/dists/ubuntu-2004-amd64-u...) <- https:102%20Status%0aURI:%20https://myserver.mydomain:443/rhn/manager/download/dists/ubuntu-2004-amd64-u...) <- https:102%20Status%0aURI:%20https://myserver.mydomain:443/rhn/manager/download/dists/ubuntu-2004-amd64-u... <- https:200%20URI%20Start%0aLast-Modified:%20Sun,%2008%20Nov%202020%2017:06:43%20+0000%0aURI:%20https://myserver.mydomain:443/rhn/manager/download/dists/ubuntu-2004-amd64-u... Get:11 https://myserver.mydomain:443/rhn/manager/download ubuntu-2004-amd64-universe-uyuni InRelease -----Original Message----- From: Robert Paschedag <robert.paschedag@web.de> Sent: Thursday, February 4, 2021 12:18 PM To: Paul-Andre Panon <paul-andre.panon@avigilon.com> Cc: Pau Garcia <pau.garcia@suse.com>; users@lists.uyuni-project.org Subject: RE: Registration problems with Ubuntu 20.04 and Uyuni So you really do not have an apt auth.conf file? sent from my mobile device-------- Originale Nachricht -------- Von: Paul-Andre Panon <paul-andre.panon@avigilon.com> Gesendet: Thu Feb 04 02:24:35 GMT+01:00 2021 An: Robert Paschedag <robert.paschedag@web.de> Cc: Pau Garcia <pau.garcia@suse.com>, users@lists.uyuni-project.org Betreff: RE: Registration problems with Ubuntu 20.04 and Uyuni Hi Robert, Thanks for the info on what that token should be and where. I'll keep in mind the forthcoming change of location. But for now, since we're still running Uyuni 2020.11, it should be in the sources.list file and it just isn't ppanon@mydomain@mytestclient:/etc/apt$ more /etc/apt/sources.list.d/susemanager\:channels.list # Channels managed by SUSE Manager # Do not edit this file, changes will be overwritten # deb [trusted=yes] https://urldefense.proofpoint.com/v2/url?u=https-3A__myserver.mydomain-3A443_rhn_manager_download&d=DwIFaQ&c=q3cDpHe1hF8lXU5EFjNM_A&r=2sQoWEMcncSKL5kWoc_nrZbhUyhuj8tJfA91_lDSglQ&m=pxVgKDn-f6RHE3D2lDunlML94QxZ3C_Febju36NyR1s&s=qfcb9vUZM4RnSc2sU3_5gAtK5Q9vejVBXHPQmvug5c0&e= ubuntu-2004-amd64-main-security-uyuni main deb [trusted=yes] https://urldefense.proofpoint.com/v2/url?u=https-3A__myserver.mydomain-3A443_rhn_manager_download&d=DwIFaQ&c=q3cDpHe1hF8lXU5EFjNM_A&r=2sQoWEMcncSKL5kWoc_nrZbhUyhuj8tJfA91_lDSglQ&m=pxVgKDn-f6RHE3D2lDunlML94QxZ3C_Febju36NyR1s&s=qfcb9vUZM4RnSc2sU3_5gAtK5Q9vejVBXHPQmvug5c0&e= ubuntu-20.04-pool-amd64-uyuni main deb [trusted=yes] https://urldefense.proofpoint.com/v2/url?u=https-3A__myserver.mydomain-3A443_rhn_manager_download&d=DwIFaQ&c=q3cDpHe1hF8lXU5EFjNM_A&r=2sQoWEMcncSKL5kWoc_nrZbhUyhuj8tJfA91_lDSglQ&m=pxVgKDn-f6RHE3D2lDunlML94QxZ3C_Febju36NyR1s&s=qfcb9vUZM4RnSc2sU3_5gAtK5Q9vejVBXHPQmvug5c0&e= ubuntu-2004-amd64-uyuni-client main deb [trusted=yes] https://urldefense.proofpoint.com/v2/url?u=https-3A__myserver.mydomain-3A443_rhn_manager_download&d=DwIFaQ&c=q3cDpHe1hF8lXU5EFjNM_A&r=2sQoWEMcncSKL5kWoc_nrZbhUyhuj8tJfA91_lDSglQ&m=pxVgKDn-f6RHE3D2lDunlML94QxZ3C_Febju36NyR1s&s=qfcb9vUZM4RnSc2sU3_5gAtK5Q9vejVBXHPQmvug5c0&e= ubuntu-2004-amd64-universe-updates-uyuni main deb [trusted=yes] https://urldefense.proofpoint.com/v2/url?u=https-3A__myserver.mydomain-3A443_rhn_manager_download&d=DwIFaQ&c=q3cDpHe1hF8lXU5EFjNM_A&r=2sQoWEMcncSKL5kWoc_nrZbhUyhuj8tJfA91_lDSglQ&m=pxVgKDn-f6RHE3D2lDunlML94QxZ3C_Febju36NyR1s&s=qfcb9vUZM4RnSc2sU3_5gAtK5Q9vejVBXHPQmvug5c0&e= ubuntu-2004-amd64-universe-uyuni main deb [trusted=yes] https://urldefense.proofpoint.com/v2/url?u=https-3A__myserver.mydomain-3A443_rhn_manager_download&d=DwIFaQ&c=q3cDpHe1hF8lXU5EFjNM_A&r=2sQoWEMcncSKL5kWoc_nrZbhUyhuj8tJfA91_lDSglQ&m=pxVgKDn-f6RHE3D2lDunlML94QxZ3C_Febju36NyR1s&s=qfcb9vUZM4RnSc2sU3_5gAtK5Q9vejVBXHPQmvug5c0&e= ubuntu-2004-amd64-main-uyuni main deb [trusted=yes] https://urldefense.proofpoint.com/v2/url?u=https-3A__myserver.mydomain-3A443_rhn_manager_download&d=DwIFaQ&c=q3cDpHe1hF8lXU5EFjNM_A&r=2sQoWEMcncSKL5kWoc_nrZbhUyhuj8tJfA91_lDSglQ&m=pxVgKDn-f6RHE3D2lDunlML94QxZ3C_Febju36NyR1s&s=qfcb9vUZM4RnSc2sU3_5gAtK5Q9vejVBXHPQmvug5c0&e= ubuntu-2004-amd64-main-updates-uyuni main So how do I fix this? Is there a salt command I can use to try to replicate that part of the bootstrap and get more information to find out why it's failing? Is there a salt command I can use to generate and populate those tokens after the fact? Thanks, Paul-Andre -----Original Message----- From: Robert Paschedag <robert.paschedag@web.de> Sent: Saturday, January 30, 2021 6:38 AM To: Paul-Andre Panon <paul-andre.panon@avigilon.com> Cc: Pau Garcia <pau.garcia@suse.com>; users@lists.uyuni-project.org Subject: RE: Registration problems with Ubuntu 20.04 and Uyuni Hi Paul-Andre, when zu register via salt, within your sources.list file created by uyuni, you should have a token attached to every channel that client is subscribed to. A latest fix moves those token information into the auth.conf file (a .netrc like file). See also Robert sent from my mobile device-------- Originale Nachricht -------- Von: Paul-Andre Panon <paul-andre.panon@avigilon.com> Gesendet: Wed Jan 27 01:01:40 GMT+01:00 2021 An: Pau Garcia <pau.garcia@suse.com>, users@lists.uyuni-project.org Betreff: RE: Registration problems with Ubuntu 20.04 and Uyuni Well, it’s a definite improvement. I’ve rolled that into the template customization scripts and I can now see more than 1 system registered. Thank you. I’m now seeing a different problem. W: Failed to fetch https://urldefense.proofpoint.com/v2/url?u=https-3A__myuniserver.mydomain-3A443_rhn_manager_download_dists_ubuntu-2D2004-2Damd64-2Dmain-2Dsecurity-2Duyuni_InRelease&d=DwIFaQ&c=q3cDpHe1hF8lXU5EFjNM_A&r=2sQoWEMcncSKL5kWoc_nrZbhUyhuj8tJfA91_lDSglQ&m=uXLXgJZnU7L6qtsKpTFhdwYWbJJ47fyrl1qTBRu4-D8&s=RtMA8z2YPpn1X1WUP4o1G2CizV-ZfgHAHmK0hyKlDb4&e= Undetermined Error [IP: AA.BB.CC.DD 443] If I try to go to that URL from a browser, I get You need a token to access /manager/download/ubuntu-2004-amd64-main-security-uyuni/repodata/InRelease The only reference I’ve found in google for that appears to be in Spanish and CentOS related on a capa9.net forum. -- *For more information on how and why we collect your personal information, please visit our Privacy Policy <https://www.motorolasolutions.com/en_us/about/privacy-policy.html?elqTrackId=8980d888905940e39a2613a7a3dcb0a7&elqaid=2786&elqat=2#privacystatement>.* -- *For more information on how and why we collect your personal information, please visit our Privacy Policy <https://www.motorolasolutions.com/en_us/about/privacy-policy.html?elqTrackId=8980d888905940e39a2613a7a3dcb0a7&elqaid=2786&elqat=2#privacystatement>.*