Proxy - Major Upgrade

Before you perform any proxy update, schedule a maintenance window. The clients registered to Uyuni through the proxy will not be able to connect to Uyuni while the update is in progress. For more information about maintenance windows, see Maintenance Windows.

Major proxy upgrades include a version upgrade of the operating system. For more information, see the Uyuni 2024.03 release notes.

1. Preparation for the Upgrade

Procedure: Adding openSUSE Leap 15.5 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 opensuse_leap15_5 \
    opensuse_leap15_5-non-oss \
    opensuse_leap15_5-non-oss-updates \
    opensuse_leap15_5-updates \
    opensuse_leap15_5-backports-updates \
    opensuse_leap15_5-sle-updates \
    uyuni-proxy-stable-leap-155
  2. Fully synchronize all channels with spacewalk-repo-sync.

2. Upgrade the Proxy

To upgrade a proxy you first stop the proxy service, then you replace the software repositories and update the software, and finally you restart the proxy service.

Procedure: Updating the Uyuni Proxy
  1. On the Uyuni Proxy, stop the proxy service:

    spacewalk-proxy stop
  2. In the Uyuni Server Web UI, navigate to Systems  Proxy and click the name of the proxy.

  3. Click Software  Software Channels, and as the base channel select the openSUSE Leap 15.5 channel that is listed in the Customs Channels list.

  4. In the Child Channels pane, select the 15.5 child channels.

  5. Click Next, and Confirm Software Channel Change with Confirm.

  6. Click Details  Remote Command, add zypper --non-interactive dup --allow-vendor-change --replacefiles to the script field, and click Schedule

  7. Wait until the remote command is executed.

  8. On the Uyuni Proxy, start the proxy service:

    spacewalk-proxy start

If you need to update many proxies, you can create an action chain of this command sequence on the Uyuni Server. You can use the action chain to perform updates on multiple proxies at the same time.