SUSE Manager/SaltClientfromTemplate

From MicroFocusInternationalWiki
Revision as of 21:31, 22 September 2016 by Rfparedes (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

When provisioning a new VM using the hypervisor's templating utility and then registering the VM as a salt client to SUSE Manager 3, you may not see the server listed under System menu in UI. Similarly, you may click the server name under Salt Onboarding and get the following error:

We're sorry, but the system could not be found.

The issue is the result of another VM already registered with SUSE Manager having the same machine_id in /var/lib/dbus/machine_id. This /var/lib/dbus/machine_id won't change during reboots. A unique machine id needs to be generated for this new VM salt client with:

dbus-uuidgen > /var/lib/dbus/machine-id

Restart the salt minion: systemctl restart salt-minion

The new VM will now properly populate in Systems.