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

mgradm migrate podman <fqdn> fails with data in /var/cache/kiwi/zypper #505

Open
Martin-Weiss opened this issue Nov 19, 2024 · 1 comment

Comments

@Martin-Weiss
Copy link

Just tried the migation of SUSE Manager 4.3.13 to 5.0.2 and ran into this error:

susemanager5:~ # mgradm migrate podman susemanager.weiss.ddnss.de --tag 5.0.2
3:23PM INF Welcome to mgradm
3:23PM INF Executing command: podman
3:23PM INF Computed image name is registry.suse.com/suse/manager/5.0/x86_64/server:5.0.2
3:23PM INF Ensure image registry.suse.com/suse/manager/5.0/x86_64/server:5.0.2 is available
3:23PM INF Using the localhost/suse/manager/5.0/x86_64/server:5.0.2 image loaded from the RPM instead of its online version registry.suse.com/suse/manager/5.0/x86_64/server:5.0.2
3:23PM INF Setting up uyuni network
3:23PM INF Reusing existing uyuni network
3:23PM INF Migrating server
WARN[0000] Path "/etc/SUSEConnect" from "/etc/containers/mounts.conf" doesn't exist, skipping
Stopping spacewalk service...
Shutting down spacewalk services...
Done.
Stopping posgresql service...
Copying /var/lib/cobbler...
receiving incremental file list

sent 15,861 bytes  received 86,700 bytes  68,374.00 bytes/sec
total size is 6,645,404  speedup is 64.79
Copying /var/lib/salt...
receiving incremental file list

sent 14,406 bytes  received 134 bytes  29,080.00 bytes/sec
total size is 3,172  speedup is 0.22
Copying /var/cache...
receiving incremental file list
symlink has no referent: "/var/cache/kiwi/zypper/raw/85da622df39a83f65c4d209483484611/.repo_gpgcheck"
symlink has no referent: "/var/cache/kiwi/zypper/raw/SL-Micro-6.0-Test-Pool/.repo_gpgcheck"
symlink has no referent: "/var/cache/kiwi/zypper/raw/SLE-Micro-5.5-Pool/.repo_gpgcheck"
symlink has no referent: "/var/cache/kiwi/zypper/raw/SLE-Micro-5.5-Updates/.repo_gpgcheck"

sent 17,097 bytes  received 953,220 bytes  1,940,634.00 bytes/sec
total size is 25,626,575,425  speedup is 26,410.52
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1877) [generator=3.2.7]
Error: cannot run migration script: cannot run uyuni migration container: failed to run uyuni-migration container: exit status 23

On the source we see this:
grafik

-> maybe we need to blacklist /var/cache/kiwi for the migration as well?

@Martin-Weiss
Copy link
Author

Workaround - on the source:

rm -rf /var/cache/kiwi

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

1 participant