Hi Peter, If I understand correctly what you are doing, you want to add channels to an already onboarded server, and you want to do it from the salt minion itself. Is that right? I don't understand what do you mean with a "key under Software => Keys". The keys are at "Systems => Activation Keys". Is that what you mean? The key is generated on the Uyuni server, not from the minion. In other words, the workflow is: 1. You add the channels for the OS you want, and sync them on the server. 2. You create an activation key on the server, and you assing the channels you want to the activation key 3. You start bootstrapping clients, from either WebUI, bootstrap scripts or API. You don't really need to touch the salt configuration on the client. I am not aware the doc says you need to manually add grains with the activation key to the client. But if it is there: can you tell me where it is? Maybe we need a fix there. On lunes, 6 de julio de 2020 11:08:42 (CEST) Huber, Peter wrote:
Hello,
we are on a process to migrate our old spacewalk installation to uyuni or foreman. At the moment we are evaluating uyuni against foreman/katello. Till now a lot of things are working fine, but I found one thing, I don't understand. I configured all Centos 7 and Centos 8 channels and they are updated daily, this part is working fine. Now I want to subscribe a Centos test system. I do so by editing a salt config file in this way:
master: <our uyuni server name>
server_id_use_src: adler32
enable_legacy_startup_events: False
enable_fqdns_grains: False
grains:
susemanager:
activation-key: "1-centos8-x86_64"
After starting salt-minion, a key is generated and I can see the key under Software => Keys. My expectation is that the server will be added by accepting the key. This works fine, but the server has no base channel and no child channels.. When I look at the activation key (1-centos8-x86_64) I see a base channel and a lot of child channels activated for this key. Why are these channels not activated after registering a new server?
Thank you, Peter
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com