Registering openSUSE MicroOS Clients

This section contains information about registering clients running these openSUSE MicroOS operating systems:

  • openSUSE MicroOS

Support for openSUSE MicroOS clients is provided as a technology preview for testing purposes, and not all features are fully functional at this stage. This feature is expected to be fully supported in a later version of Uyuni. Do not use this feature on production systems.

Add Software Channels

Before you register openSUSE MicroOS clients to your Uyuni Server, you need to add the required software channels, and synchronize them.

The channels you need for this procedure are:

Table 1. openSUSE MicroOS Channels - CLI
OS Version Base Channel Client Channel Updates Channel

openSUSE MicroOS

opensuse_tumbleweed

opensuse_tumbleweed-non-oss

opensuse_tumbleweed-update

Procedure: Adding Software Channels at the Command Prompt
  1. At the command prompt on the Uyuni Server, as root, use the spacewalk-common-channels command to add the appropriate channels:

    spacewalk-common-channels \
    <channel_label_1> \
    <channel_label_2> \
    <channel_label_3> \
    ... <channel_label_n>
  2. Synchronize the channels:

    spacewalk-repo-sync
  3. Ensure the synchronization is complete before continuing.

Check Synchronization Status

Procedure: Checking Synchronization Progress
  1. In the Uyuni Web UI, navigate to Software  Manage  Channels, then click the channel associated to the repository.

  2. Navigate to the Repositories tab, then click Sync and check Sync Status.

Procedure: Checking Synchronization Progress from the Command Prompt
  1. At the command prompt on the Uyuni Server, as root, use the tail command to check the synchronization log file:

    tail -f /var/log/rhn/reposync/<channel-label>.log
  2. Each child channel generates its own log during the synchronization progress. You need to check all the base and child channel log files to be sure that the synchronization is complete.

openSUSE MicroOS channels can be very large. Synchronization can sometimes take several hours.

Trust Certificates Keys on Clients

openSUSE MicroOS is not yet fully enabled, so there are some manual steps to trust the Uyuni SSL certificate on MicroOS clients.

Procedure: Installing and Configuring Salt
  1. On the client, at the command prompt, as root, retrieve the SSL certificate file from the server:

    curl -k https://uyuni-server.hispa-net.com/pub/RHN-ORG-TRUSTED-SSL-CERT -o /etc/pki/trust/anchors/RHN-ORG-TRUSTED-SSL-CERT
  2. Update the certificates on the client:

    update-ca-certificates
  3. Install the required packages:

    transactional-update pkg install salt-minion dmidecode
  4. Reboot the client. If a message is shown indicating that there is a conflict with busybox-hostname, click Deinstallation of busybox-hostname.

  5. Create a new file called /etc/salt/minion.d/susemanager-transactional.conf with this content:

    module_executors:
    - transactional_update
    - direct_call

Your Uyuni Server will not show the true state of the client in the Web UI until after you have rebooted the client. This feature is expected to be fully supported in a later version of Uyuni.

If Salt is failing to install any software, you could be using an old version of Salt. Upgrade your Salt packages to the latest version to resolve this problem.

Register Clients

For more information on registering your clients, see Client Registration Overview.