Skip to content
Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
020868c
add tumbleweed migration for uyuni
jcayouette Oct 27, 2025
1f8f855
Merge branch 'master' into migrations-tumbleweed-jcayouette
jcayouette Oct 27, 2025
7433e21
Update CHANGELOG.md
jcayouette Oct 27, 2025
287250c
Update modules/installation-and-upgrade/pages/container-deployment/uy…
jcayouette Oct 27, 2025
350bcf0
Update modules/installation-and-upgrade/pages/container-deployment/uy…
jcayouette Oct 27, 2025
85bd638
Update modules/installation-and-upgrade/pages/container-deployment/uy…
jcayouette Oct 27, 2025
8d48183
Update modules/installation-and-upgrade/pages/container-deployment/uy…
jcayouette Oct 27, 2025
75455b7
Update modules/installation-and-upgrade/pages/container-deployment/uy…
jcayouette Oct 27, 2025
71cca52
Update modules/installation-and-upgrade/pages/container-deployment/uy…
jcayouette Oct 27, 2025
e32c0e2
Update modules/installation-and-upgrade/pages/container-deployment/uy…
jcayouette Oct 27, 2025
af2359d
Update modules/installation-and-upgrade/pages/container-deployment/uy…
jcayouette Oct 27, 2025
b44ecb5
Update modules/installation-and-upgrade/pages/container-deployment/uy…
jcayouette Oct 27, 2025
a6598ea
Update modules/installation-and-upgrade/pages/container-deployment/uy…
jcayouette Oct 27, 2025
e3f13aa
Update modules/installation-and-upgrade/nav-installation-and-upgrade-…
jcayouette Oct 27, 2025
9fbacd1
Update modules/installation-and-upgrade/nav-installation-and-upgrade-…
jcayouette Oct 27, 2025
26830c8
Update modules/installation-and-upgrade/pages/container-deployment/uy…
jcayouette Oct 27, 2025
092fdad
Update modules/installation-and-upgrade/pages/container-deployment/uy…
jcayouette Oct 27, 2025
55cc51b
Update modules/installation-and-upgrade/pages/container-deployment/uy…
jcayouette Oct 27, 2025
b43ef3f
Update modules/installation-and-upgrade/pages/container-deployment/uy…
jcayouette Oct 27, 2025
f4d9773
Update modules/installation-and-upgrade/pages/container-deployment/uy…
jcayouette Oct 27, 2025
3be32b7
Update modules/installation-and-upgrade/pages/container-deployment/uy…
jcayouette Oct 27, 2025
3fb5914
Update modules/installation-and-upgrade/pages/container-deployment/uy…
jcayouette Oct 27, 2025
70ac793
Update modules/installation-and-upgrade/pages/container-deployment/uy…
jcayouette Oct 27, 2025
5a0604b
Update modules/installation-and-upgrade/pages/container-deployment/uy…
jcayouette Oct 27, 2025
9481984
Update modules/installation-and-upgrade/pages/container-deployment/uy…
jcayouette Oct 27, 2025
471a551
Update modules/installation-and-upgrade/pages/container-deployment/uy…
jcayouette Oct 27, 2025
7d91d7d
Update modules/installation-and-upgrade/pages/container-deployment/uy…
jcayouette Oct 27, 2025
9ed6575
Update modules/installation-and-upgrade/pages/container-deployment/uy…
jcayouette Oct 27, 2025
8bcb35e
Update modules/installation-and-upgrade/pages/container-deployment/uy…
jcayouette Oct 27, 2025
d4ec7cd
Update modules/installation-and-upgrade/pages/container-deployment/uy…
jcayouette Oct 28, 2025
4d40546
Update modules/installation-and-upgrade/pages/container-deployment/uy…
jcayouette Oct 28, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
- Added Tumbleweed migration for Uyuni
- Updated and corrected the migration instructions for
server and proxy in Installation and Upgrade Guide
- Added SSL certificates requirement before migrations
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,11 @@ endif::[]
ifeval::[{uyuni-content} == true]
** Upgrade and Migration
*** Server
**** xref:container-deployment/uyuni/migrate-uyuni-server-from-micro55-tumbleweed.adoc[Migrate from SUSE Micro 5.5 to Tumbleweed]
**** xref:container-deployment/uyuni/migrate-uyuni-to-a-container.adoc[Legacy Server Migration to Container]
**** xref:container-management/updating-server-containers.adoc[Server Upgrade]
*** Proxy
**** xref:container-deployment/uyuni/migrate-uyuni-proxy-from-micro55-tumbleweed.adoc[Migrate Proxy from SUSE Micro 5.5 to Tumbleweed]
**** xref:container-deployment/uyuni/proxy-migration-uyuni.adoc[Legacy Proxy Migration to Container]
**** xref:container-management/updating-proxy-containers.adoc[Proxy Upgrade]
*** Clients
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,204 @@
= Migrate {productname} Proxy from SUSE Micro 5.5 to Tumbleweed
:revdate: 2025-10-27
:page-revdate: {revdate}
:description: This page describes how to migrate a {productname} Proxy host from SUSE Micro 5.5 to a fresh openSUSE Tumbleweed installation using the proxy administration tool [command]``mgrpxy``.
ifeval::[{mlm-content} == true]

:noindex:
endif::[]

This page describes how to migrate a {productname} Proxy host from SUSE Micro 5.5 to a fresh openSUSE Tumbleweed installation using the proxy administration tool [command]``mgrpxy``.

[IMPORTANT]
====
This guide was tested on Tumbleweed only. There is no known reason it wouldn’t work on other supported bases, but always validate in a test environment before production.
====



== Overview of the Proxy Migration Process

You will:

* Save proxy configuration from the old system (including Apache/Squid tuning).
* Reinstall the host with openSUSE Tumbleweed.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May be you want to precise that the server profile is to be used as in the server doc

* Re-register the host using the system reactivation key.
* Install [command]``mgrpxy`` (and Podman if needed).
* Restore configuration and run [command]``mgrpxy install podman`` with optional tuning files.


== Requirements and Considerations

* Keep the same hostname/FQDN and IP when possible so the server and clients interact with the proxy as before.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when possible is strange here as if the FQDN / IP is not kept the migration cannot work using the next steps

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will add the fix in the next batch. I do not think this is breaking (though possibly misleading).

* Ensure you have the “system reactivation key” for the existing proxy system (UI: Systems > select the proxy > Details > Reactivation).
* Ensure SSH/scp access to move configuration archives off and onto the machine.

== Migration Procedure

=== Step 1: Save Proxy Configuration and Tuning Files

.Procedure: Save Proxy Configuration and Tuning Files
[role="procedure"]
____
. Copy the Uyuni proxy configuration directory to a safe location:
+
[source,shell]
----
scp -r /etc/uyuni <USER>@<HOST>:/some/where/safe/
----
. Identify Apache and Squid tuning files currently in use by the legacy proxy services:
+
[source,shell]
----
systemctl cat uyuni-proxy-httpd.service | grep EXTRA_CONF= | sed 's/.*=-v\([^:]\+\):.*/\1/'
systemctl cat uyuni-proxy-squid.service | grep EXTRA_CONF= | sed 's/.*=-v\([^:]\+\):.*/\1/'
----
. Copy those tuning files to the same safe location as well.
[TIP]
====
Typical default paths after you copy them back will be:
* Apache tuning: [path]``/etc/uyuni/proxy/apache.conf``
* Squid tuning: [path]``/etc/uyuni/proxy/squid.conf``
====
____

=== Step 2: Reinstall the Host with openSUSE Tumbleweed
.Procedure: Reinstalling the Host with openSUSE Tumbleweed
[role="procedure"]
____
. Reinstall the machine with openSUSE Tumbleweed (server profile recommended).
. Set the same hostname/FQDN and IP as before when possible.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same thing with the when possible

____



=== Step 3: Re-register the Host with the Reactivation Key

.Procedure: Re-registering the Host with the Reactivation Key
[role="procedure"]
____
. From the {productname} Web UI, obtain the system reactivation key for the existing proxy system record (Systems > Details > Reactivation).
. Bootstrap/re-register the Tumbleweed host using that reactivation key so it claims the existing system entry.
[NOTE]
====
Use your standard bootstrapping process for Tumbleweed hosts in your environment (for example, the bootstrap script or your configuration management), ensuring the reactivation key is applied.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't check, but do we document the possible ways to do this? I know that the bootstrap script works, but not sure this is possible from the UI for example

====
____



=== Step 4: Install {productname} Proxy Tools and Podman

.Procedure: Installing Proxy Tools and Podman
[role="procedure"]
____
. Add the Uyuni Master repository and install tools:
+
[source,shell]
----
zypper ar https://download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Master/images/repo/Uyuni-Server-POOL-x86_64-Media1 uyuni-server-master
zypper ref
zypper in mgrpxy mgrctl mgradm-bash-completion mgrctl-bash-completion
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

About the list of packages to install, on paper it should just work out of the box installing Uyuni-Proxy-release that should pull in all the others. we should test this again, but it should just work

----
. Ensure Podman is installed (required to run containers):
+
[source,shell]
----
zypper in podman
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can squash podman in the previous command too.

----
____



=== Step 5: Restore Configuration and Install the Proxy

.Procedure: Restoring Configuration and Install the Proxy
[role="procedure"]
____
. Copy back the saved configuration directory to the new host:
+
[source,shell]
----
scp -r <USER>@<HOST>:/some/where/safe/uyuni /etc/
----
. If you saved Apache/Squid tuning files, place them at the expected default paths or note their locations for parameters in the next command:
+
[source,shell]
----
# Default paths expected by mgrpxy parameters (adjust/move your files accordingly)
# Apache tuning: /etc/uyuni/proxy/apache.conf
# Squid tuning: /etc/uyuni/proxy/squid.conf
----
. Run the proxy installation with Podman. If you do not use tuning files, omit the corresponding parameters:
+
[source,shell]
----
# With tuning files
mgrpxy install podman \
--tuning-httpd /etc/uyuni/proxy/apache.conf \
--tuning-squid /etc/uyuni/proxy/squid.conf
# If you have no tuning files, remove the tuning parameters:
# mgrpxy install podman
----
[NOTE]
====
In an upcoming release, if tuning files are placed at the default paths noted above, the explicit parameters will not be required.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change is already merged: uyuni-project/uyuni-tools#669. It may even part of the release shipped with this doc.

====
____


=== Step 6: Verify the Proxy

.Procedure: Verifying the Proxy
[role="procedure"]
____
. Check containers are running:
+
[source,shell]
----
mgrctl ps
# or
podman ps
----
. Confirm the proxy appears healthy in the {productname} Web UI and that clients using this proxy operate normally.
____

== Troubleshooting

* If Podman was missing, install it and rerun the [command]``mgrpxy install`` step.
* Verify the host’s time, hostname, and IP match expectations.
* If the host did not reattach to the existing system record, confirm you used the correct reactivation key and repeat the bootstrap.

Loading