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

Error: cannot check server release: cannot find neither /etc/uyuni-release nor /etc/susemanagere-release #424

Open
j-kihet opened this issue Aug 2, 2024 · 1 comment

Comments

@j-kihet
Copy link

j-kihet commented Aug 2, 2024

mgradm upgrade podman command ends in an error Error: cannot check server release: cannot find neither /etc/uyuni-release nor /etc/susemanagere-release
The server can be revived by going in to the container and running commands to start postgresql and spacewalk-service.
The upgrade seems to have worked but this isn't the correct outcome.
Upgrade was from 2024.05 to 2024.07 on podman
Container tools are up to date, from EL_9 repo.

mgradm upgrade podman
12:23PM INF Welcome to mgradm
12:23PM INF Executing command: podman
12:23PM INF Cannot find RPM image for registry.opensuse.org/uyuni/server:latest
12:23PM INF Running podman pull registry.opensuse.org/uyuni/server:latest
Trying to pull registry.opensuse.org/uyuni/server:latest...
Getting image source signatures
Copying blob 82f4a02bb4a5 done   |
Copying blob e29629bb36a2 done   |
Copying blob 490ea0c3696a done   |
Copying config 1ec7fabb91 done   |
Writing manifest to image destination
1ec7fabb91d83438fa8c6750abffbfe752fa30a6fd0fb811491edd8bcb09a1b9
Error: cannot check server release: cannot find neither /etc/uyuni-release nor /etc/susemanagere-release
@aaannz
Copy link
Contributor

aaannz commented Aug 2, 2024

This seems to me like a timing issue.
I checked released container image and /etc/uyuni-release is present. So this seems like check for it is happening too soon and container is not yet completely started. This should be fixed by #386

This fix is not yet included in your version (head 311105e I see in another issue), but will be in next released uyuni-tools.

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

No branches or pull requests

2 participants