Attempt to bootstrap a client to a SUSE Manager 3 Server returns "Internal Server Error"

  • 7017994
  • 29-Aug-2016
  • 22-Jan-2017


SUSE Manager 3


Attempting to bootstrap a new client to a SUSE Manager 3 returns the following at the bottom of the bootstrap output:

* registering
An error has occurred:
rhn-plugin: Error communicating with server. The message was:
Internal Server Error
See /var/log/up2date for more information

*** Error: Registering the system failed.

Looking at the /var/log/apache2/error_log on the SUSE Manager server shows:

[Fri Aug 26 15:21:18.415612 2016] [wsgi:error] [pid 17191] IntegrityError: duplicate key value violates unique constraint "rhn_server_maid_uq"
[Fri Aug 26 15:21:18.415615 2016] [wsgi:error] [pid 17191] DETAIL:  Key (machine_id)=(xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx) already exists.

Where the x's represent the actual uuid of the system that is being bootstrapped.


On the SLES 11 SPx clients exhibiting the issue enter the following as root:

rm /var/lib/dbus/machine-id
dbus-uuidgen --ensure

On SLES 12 SPx clients exhibit the issue enter the following as root:

rm /etc/machine-id
rm /var/lib/dbus/machine-id
dbus-uuidgen --ensure


The bootstrap should now run without the duplicate key issue.


With SUSE Manager 3 clients must now have unique uuids.  If you are cloning systems make sure to run the 2 commands above before attempting to bootstrap the client.

Feedback service temporarily unavailable. For content questions or problems, please contact Support.