Hi, I have enrolled a centos 8 client. This client is not reinstalled, running in production for months and was never connected to our old spacewalk-system. I onboarded the client in the following way: cd /etc/yum.repos.d/ wget https://download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Stable:... yum install salt salt-minion cd /etc/salt/minion.d vi <hostaname>.conf master: ymaster-server> server_id_use_src: adler32 enable_legacy_startup_events: False enable_fqdns_grains: False grains: susemanager: activation_key: "1-centos8-x86_64" systemctl restart salt-minion systemctl enable salt-minion Webgui Salt => Keys, accept the key. Everything seems fine, but verifying this, shows a problem, I don't understand. yum check on the centos 8 client shows that all repositories are listed more than once. In /etc/yum.repo.d is only the susemanager repo, I have moved all other repos or disabled them. Patching this client does not work. After uninstalling salt and salt-minion, deleting the centos 8 server from uyuni this problem does not disappear. I removed all salt config files I could find. Now I have only one repofile in /etc/yum.repos.d, called CentOS-Base.repo yum check shows: Repository BaseOS is listed more than once in the configuration The server has no connection to the uyuni server and have really no idea what happed. Starting up this centos 8 client from a backup, shows that this problem appears after onboarding to uyuni. Any idea what went wrong? Thank you, Peter
On 7/8/20, at 8:48 AM, Huber, Peter wrote:
yum check on the centos 8 client shows that all repositories are listed more than once. In /etc/yum.repo.d is only the susemanager repo, I have moved all other repos or disabled them. Patching this client does not work.
After uninstalling salt and salt-minion, deleting the centos 8 server from uyuni this problem does not disappear. I removed all salt config files I could find. Now I have only one repofile in /etc/yum.repos.d, called CentOS-Base.repo
yum check shows: Repository BaseOS is listed more than once in the configuration
This is a bug that is currently being handled: it will _probably_ make
it into the next Uyuni release.
Workaround: to remove the duplicate repo message, uninstall the Uyuni
yum plugin on the CentOS 8 minion:
mv /usr/share/yum-plugins/susemanagerplugin.py /tmp
and launch a `yum update` to check if still showing.
Keep in mind that the minion is not registered to Uyuni anymore as you
stated in the second part of your message.
HTH
--
Michele Bologna
Removing susemanagerpugin solves the problem, but
- there was no uyuni package installed, I think I uninstalled it.
- the path on an centos 8 system is not /usr/share/yum-plugins/susemanagerplugin.py but /usr/lib/python3.6/site-packages/dnf-plugins
You can check this but executing yum-config-manager --dump
So I hope the bugfix will be in the next release, till then we will not manage any centos 8 system with Uyuni.
Thank you,
Peter
-----Ursprüngliche Nachricht-----
Von: Michele Bologna
yum check on the centos 8 client shows that all repositories are listed more than once. In /etc/yum.repo.d is only the susemanager repo, I have moved all other repos or disabled them. Patching this client does not work.
After uninstalling salt and salt-minion, deleting the centos 8 server from uyuni this problem does not disappear. I removed all salt config files I could find. Now I have only one repofile in /etc/yum.repos.d, called CentOS-Base.repo
yum check shows: Repository BaseOS is listed more than once in the configuration
This is a bug that is currently being handled: it will _probably_ make
it into the next Uyuni release.
Workaround: to remove the duplicate repo message, uninstall the Uyuni
yum plugin on the CentOS 8 minion:
mv /usr/share/yum-plugins/susemanagerplugin.py /tmp
and launch a `yum update` to check if still showing.
Keep in mind that the minion is not registered to Uyuni anymore as you
stated in the second part of your message.
HTH
--
Michele Bologna
participants (2)
-
Huber, Peter
-
Michele Bologna