Hi Stefan.

mgrchannels_susemanagerplugin_dnf is failing as it's detecting python version wrong way due to using python from salt bundle. We need to align this state for salt bundle.

About the long time of not accepting the key as I remember it's increasing the interval of retries to authenticate, probably you need to wait sone more time after accepting the key.

Victor

From: Stefan Bluhm <opensuse.org@bluhm-de.com>
Sent: Tuesday, December 28, 2021 12:42:26 PM
To: uyuni-users <uyuni-users@opensuse.org>
Subject: Re: Registering CentOS 7 client - Question and salt state error
 
Sorry, I sneezed and sent the mail before completing by mistake... Here the full one.




Good Morning,

Can you please assist me with two questions whilst I am trying to get familiar with the salt minions/registration?
(Background: AlmaLinux 8 Uyuni Server 2021.12 / CentOS7 client)

1. Bootstrapping the CentOS7 client manually does work. It took me a long time to accept the key on the master (multitasking/dinner).
   The minion tried to contact the server a few times but then not anymore (it seems).
   I had to manually restart "venv-salt-minion.service" on the client. Is this the expected behavior?

2. Failed to apply state(s): highstate
   I have quite some errors when applying the initial state to the minion. Are these error messages from the server or from the client?

 ----------
          ID: mgrchannels_susemanagerplugin_dnf
    Function: file.managed
        Name: /usr/lib/python3.9/site-packages/dnf-plugins/susemanagerplugin.py
      Result: false
     Comment: Parent directory not present
     Started: 09:43:49.047068
    Duration: 40.854
         SLS: channels
     Changed: {}
----------

CentOS 7 does not have any Python 3.9 (nor does my Uyuni Server). Where should the file come from?

Also some more errors that I will probably tackle later:

----------
          ID: null
    Function: file.managed
        Name: null
      Result: false
     Comment: One or more requisite failed: channels.mgrchannels_susemanagerplugin_dnf
     Started: 09:43:50.324922
    Duration: 0.003
         SLS: channels
     Changed: {}
----------
          ID: null
    Function: cmd.run
        Name: null
      Result: false
     Comment: One or more requisite failed: channels.mgrchannels_repo
     Started: 09:43:50.325277
    Duration: 0.002
         SLS: channels
     Changed: {}
----------
          ID: null
    Function: cmd.run
        Name: null
      Result: false
     Comment: One or more requisite failed: channels.mgrchannels_repo
     Started: 09:43:50.325494
    Duration: 0.002
         SLS: channels
     Changed: {}




Thank you and best wishes,

Stefan