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@dc1-ubun20test:/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://myserver.mydomain:443/rhn/manager/download
ubuntu-2004-amd64-main-security-uyuni main
deb [trusted=yes] https://myserver.mydomain:443/rhn/manager/download
ubuntu-20.04-pool-amd64-uyuni main
deb [trusted=yes] https://myserver.mydomain:443/rhn/manager/download
ubuntu-2004-amd64-uyuni-client main
deb [trusted=yes] https://myserver.mydomain:443/rhn/manager/download
ubuntu-2004-amd64-universe-updates-uyuni main
deb [trusted=yes] https://myserver.mydomain:443/rhn/manager/download
ubuntu-2004-amd64-universe-uyuni main
deb [trusted=yes] https://myserver.mydomain:443/rhn/manager/download
ubuntu-2004-amd64-main-uyuni main
deb [trusted=yes] https://myserver.mydomain:443/rhn/manager/download
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
Sent: Saturday, January 30, 2021 6:38 AM
To: Paul-Andre Panon
Cc: Pau Garcia ; 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
Gesendet: Wed Jan 27 01:01:40 GMT+01:00 2021
An: Pau Garcia , 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.*