uyuni-project / uyuni

Source code for Uyuni
https://www.uyuni-project.org/
GNU General Public License v2.0
428 stars 177 forks source link

`mgradm support config` fails for containerized Uyuni 2024.05 #9025

Closed gabjef closed 3 weeks ago

gabjef commented 2 months ago

Problem description

mgradm support config fails for containerized Uyuni 2024.05

Note that the podman Uyuni server instance in question here was created using mgradm migrate podman and was not a net new installation

Steps to reproduce

  1. Run mgradm support config
  2. Note that it fails (takes a long time to return)

Uyuni version

Information for package Uyuni-Server-release:
---------------------------------------------
Repository     : @System
Name           : Uyuni-Server-release
Version        : 2024.05-230900.217.1.uyuni3
Arch           : x86_64
Vendor         : obs://build.opensuse.org/systemsmanagement:Uyuni
Installed Size : 1.4 KiB
Installed      : Yes (automatically)
Status         : up-to-date
Source package : Uyuni-Server-release-2024.05-230900.217.1.uyuni3.src
Summary        : Uyuni Server

"Podman server"


# grep PRETTY_NAME /etc/os-release
PRETTY_NAME="openSUSE Leap Micro 5.5"

# uname -r
5.14.21-150500.55.68-default

# mgradm -v
mgradm version 0.1.9 (Master 612f54e)

# mgrctl -v
mgrctl version 0.1.9 (Master 612f54e)

# podman --version
podman version 4.9.5

Uyuni proxy version (if used)

N/A

Useful logs

# mgradm support config
5:16PM INF Welcome to mgradm
5:16PM INF Executing command: config
5:16PM INF Running supportconfig in the container
⠙ podman exec uyuni-server supportconfig
Error: failed to find container supportconfig tarball from command output


### Additional information

_No response_
mbussolotto commented 1 month ago

it will be fixed by https://github.com/uyuni-project/uyuni-tools/pull/342

mbussolotto commented 1 month ago

sorry, my bad. Actually we've already merged the minimal changes for this fix https://github.com/uyuni-project/uyuni-tools/pull/371 . It will be available in next uyuni version

aaannz commented 3 weeks ago

Closing, feel free to reopen if still not fixed.