Hi,

 

I’m trying to set up an Uyuni server to replace a Spacewalk server, starting with setting up support for Ubuntu 20.04. Ideally we would like to be able to use a vSphere VM template that we can use to generate/clone new VMs, and then run a script on that new VM to customize it with the specific desired hostname, AD domain registration, and Uyuni registration. For the Uyuni registration, I started with the generated bootstrap script and customized it with an Activation Key and the Ubuntu GPG keys (ubuntu-gpg-pubkey-871920D1991BC93C.key,uyuni-gpg-pubkey-0d20833e.key) .

 

The registration script appears to work. If I look in Uyuni’s Salt->Keys page, I see the key, can approve it and the system shows up in the system list…. the first time.
On subsequent VMs however, I see the key in the Salt->Keys page, can approve them, and then after some time I only see one of the two VMs in the system list, usually the last one added.

 

While setting up the Uyuni server and VM template, it took me a while to figure out I was supposed to use the modified bootstrap script, so I had first tried to install salt packages on the template and thought that might be the problem. I took a hint from the bootstrap script and tried to run
  apt-get purge salt-minion

  apt-get purge salt-common

  rm -rf /etc/salt/minion.d/
on the template to clear any salt state, cleared systems and keys on the Uyuni server, and started over creating new VMs,… with the same result.

Any suggestions on what could be going wrong?

 

Thanks,

Paul-Andre Panon, B.Sc.

Senior Systems Administrator

Video Security & Analytics

 

o: +1.604.629.5182 ext 2190

m: +1.604.787.4547

 


For more information on how and why we collect your personal information, please visit our Privacy Policy.