You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A non-registered node is incapable of finding the upgrade path to the next SL Micro version e.g. trying to upgrade from 5.5 to 6.0 looks like this:
2024-09-19 21:32:16 Executing `zypper migration --non-interactive --product SL-Micro/6.0/x86_64 --root /`:
Executing '/usr/bin/zypper --non-interactive patch-check --updatestack-only'
Loading repository data...
Reading installed packages...
0 patches needed (0 security patches)
Executing '/usr/bin/zypper --root / --non-interactive ref'
Repository 'opensuse-ca' is up to date.
All repositories have been refreshed.
Executing '/usr/bin/zypper --root / --disable-repositories --xmlout --non-interactive products -i'
Can't get available migrations from server: Credentials file is missing
'/usr/lib/zypper/commands/zypper-migration' exited with status 1
2024-09-19 21:32:18 Application returned with exit status 1.
After this the node is restarted and SUC considers the plan as finished. However, since we check against the pretty name of the operating system, as a done criteria for our condition, the reconciliation on our upgrade plan hangs indefinitely and cannot proceed.
The text was updated successfully, but these errors were encountered:
This is currently happening due to the limitation in the transactional-update run zypper migration command. It does not seem to propagate the exit codes of the commands that are executed within the run block, hence always resulting in a 0 exit code.
This will be fixed once transactional-update migration supports the flags that zypper migration does. Then we will not be limited by the aforementioned problem and the 1 exit code will be properly propagated and handled. Which will result in a failure of the pod instead of it being marked as "Completed".
A non-registered node is incapable of finding the upgrade path to the next SL Micro version e.g. trying to upgrade from 5.5 to 6.0 looks like this:
After this the node is restarted and SUC considers the plan as finished. However, since we check against the pretty name of the operating system, as a done criteria for our condition, the reconciliation on our upgrade plan hangs indefinitely and cannot proceed.
The text was updated successfully, but these errors were encountered: