mgradm upgrade podman fails to update to 5.0.2 but re-installs 5.0.1
This document (000021625) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Manager 5.0.2
Situation
A SUSE Manager Server, currently running version 5.0.1, is planned for an upgrade to version 5.0.2. However, executing the command "mgradm upgrade podman
" results in the re-installation of version 5.0.1, preventing the desired upgrade.
sumasrv5:~ # mgradm upgrade podman
8:43AM INF Welcome to mgradm
8:43AM INF Executing command: podman
8:43AM INF Computed image name is registry.suse.com/suse/manager/5.0/x86_64/server:5.0.1
8:43AM INF Ensure image registry.suse.com/suse/manager/5.0/x86_64/server:5.0.1 is available
8:43AM INF Upgrading to without changing PostgreSQL version
…
Resolution
To upgrade to the new SUSE Manager 5.0.2 version, "--tag 5.0.2
" should be used as a parameter for the “ mgradm upgrade podman
“ command.
sumasrv5:~ # mgradm upgrade podman --tag 5.0.2
8:51AM INF Welcome to mgradm
8:51AM INF Executing command: podman
8:51AM INF Computed image name is registry.suse.com/suse/manager/5.0/x86_64/server:5.0.2
8:51AM INF Ensure image registry.suse.com/suse/manager/5.0/x86_64/server:5.0.2 is available
8:51AM INF Cannot find RPM image for registry.suse.com/suse/manager/5.0/x86_64/server:5.0.2
8:51AM INF Running podman pull registry.suse.com/suse/manager/5.0/x86_64/server:5.0.2
Trying to pull registry.suse.com/suse/manager/5.0/x86_64/server:5.0.2...
Getting image source signatures
Checking if image destination supports signatures
Copying blob 1c4610b65b7f done |
Copying blob de0ee456f588 done |
Copying blob 642e3fc0d4ca done |
Copying blob 5739055305b8 done |
Copying config cd4be6efc2 done |
Writing manifest to image destination
Storing signatures
cd4be6efc2b428617da0219b7019094408990f6670045220a8f514cee0edd0f7
8:52AM INF Upgrading to without changing PostgreSQL version
…
Note: Problem is fixed with: mgradm-0.1.27-150500.3.15.2
and mgrpxy-0.1.27-150500.3.15.2.x86_64
sumasrv5:~ # mgradm upgrade podman -h |grep "\--tag"
--tag string Tag Image (default "5.0.2")
Cause
The “mgradm upgrade podman
” --tag
parameter still pointing to 5.0.1
Additional Information
The procedure to upgrade to SUSE Manager Server is by ensuring that the system has the latest mgradm
version installed.
From: Update Containers | SUSE Manager 5.0 Documentation
zypper ref -s
transactional-update
>>> If updates were applied, reboot.
mgradm upgrade podman
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:000021625
- Creation Date: 19-Nov-2024
- Modified Date:21-Nov-2024
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com