Skip to content

Migration on non-registered nodes blocks the upgrade flow #92

Open
@atanasdinov

Description

@atanasdinov

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions