Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reinstalling/recreating a legacy Uyuni-Server build (pre 2024.10) without containers (podman/k8s) #9434

Open
rhar78 opened this issue Nov 5, 2024 · 2 comments
Labels
question Further information is requested

Comments

@rhar78
Copy link

rhar78 commented Nov 5, 2024

Question

What do you want to know about Uyuni?
We have build Uyuni prior to 2024.10 and been using it stably for some time.

In case of catastrophic event we would like to know what installations steps (and repositories) we need to use in order recreate our instance of Uyuni-Server (like for like). Our currently Uyuni-Server is running on SUSE Leap 15.5 (more detail below) and therefore not using containers (podman/k8s).

So would it be possible to tell us:

  1. What are the manual steps for re-installing Uyuni-Server on Leap prior to 2024-10 (ideally for 2024.07 or the nearest stable release)?
  2. What repository should we use for this? (the latest repositories referenced in documentation refer to containers/mgradm however we used zypper/yast2 for build and configuration)

Please let me know if you need further details. Thanks.

Version of Uyuni Server and Proxy (if used)

zypper info Uyuni-Server-release and zypper info Uyuni-Proxy-release (if used)

# zypper info Uyuni-Server-release
Loading repository data...
Reading installed packages...


Information for package Uyuni-Server-release:
---------------------------------------------
Repository     : @System
Name           : Uyuni-Server-release
Version        : 2024.07-230900.219.1.uyuni3
Arch           : x86_64
Vendor         : obs://build.opensuse.org/systemsmanagement:Uyuni
Installed Size : 1.4 KiB
Installed      : Yes
Status         : up-to-date
Source package : Uyuni-Server-release-2024.07-230900.219.1.uyuni3.src
Upstream URL   : https://www.uyuni-project.org/
Summary        : Uyuni Server
Description    :
    Uyuni lets you efficiently manage physical, virtual,
    and cloud-based Linux systems. It provides automated and cost-effective
    configuration and software management, asset management, and system
    provisioning.
# zypper search -s Uyuni-Server
Loading repository data...
Reading installed packages...
S  | Name                 | Type    | Version                     | Arch   | Repository
---+----------------------+---------+-----------------------------+--------+--------------------
i+ | Uyuni-Server         | product | 2024.07-0                   | x86_64 | (System Packages)
v  | Uyuni-Server         | product | 2024.10-0                   | x86_64 | Uyuni Server Stable
i+ | Uyuni-Server-release | package | 2024.07-230900.219.1.uyuni3 | x86_64 | (System Packages)
v  | Uyuni-Server-release | package | 2024.10-241000.224.1.uyuni5 | x86_64 | Uyuni Server Stable

# uname -a
Linux uyuni01 5.14.21-150500.55.83-default #1 SMP PREEMPT_DYNAMIC Wed Oct 2 08:09:07 UTC 2024 (0d53847) x86_64 x86_64 x86_64 GNU/Linux

# cat /etc/os-release
NAME="openSUSE Leap"
VERSION="15.5"
ID="opensuse-leap"
ID_LIKE="suse opensuse"
VERSION_ID="15.5"
PRETTY_NAME="openSUSE Leap 15.5"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:15.5"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
DOCUMENTATION_URL="https://en.opensuse.org/Portal:Leap"
LOGO="distributor-logo-Leap"
@rhar78 rhar78 added the question Further information is requested label Nov 5, 2024
@stdevel
Copy link
Contributor

stdevel commented Nov 12, 2024

Hi rhar78, you can use point release URLs when installing a new server, in your case this would be: https://download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Snapshots:/2024.07/images/

I'm using this mechanism for developing the Uyuni Ansible Collection, that also can simply recreate an old release:

---
- hosts: retro.giertz.loc
  remote_user: root
  roles:
    - role: stdevel.uyuni.server
      uyuni_release: '2024.07'

@rhar78
Copy link
Author

rhar78 commented Nov 12, 2024

Awesome. This is very helpful. Thankyou.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants