Skip to content

4.20.3-RC2 upgrade - new system VM template not registered #12934

@shwstppr

Description

@shwstppr

problem

Tested 4.20.0 to 4.20.3 upgrade. I found that the latest systemvm template (4.20.2 in this case) is not getting registered.
This is because updateSystemVmTemplates is empty here, https://github.com/apache/cloudstack/blob/4.20.3.0-RC20260327T1032/engine/schema/src/main/java/com/cloud/upgrade/dao/Upgrade42020to42030.java#L[…]63
I think this will affect any upgrade from a lower version as well.
Later, I built and tested packages with https://github.com/apache/cloudstack/compare/4.20.3.0-RC20260327T1032...shwstppr:fix-4203-sysvmtemp-upgrade?expand=1, and they worked fine for me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions