Hi Wei, I just tested 4.17.0.1 to 4.17.1.0 upgrade with an Ubuntu 20.04 based management server and I was able to see schema changes being applied in the logs,
2022-09-24 09:27:56,817 INFO [o.a.c.s.l.CloudStackExtendedLifeCycle] (main:null) (logid:) Running system integrity checker com.cloud.upgrade.DatabaseUpgradeChecker@5e180aaf 2022-09-24 09:27:56,819 INFO [c.c.u.DatabaseUpgradeChecker] (main:null) (logid:) Grabbing lock to check for database upgrade. 2022-09-24 09:27:56,909 DEBUG [c.c.u.d.VersionDaoImpl] (main:null) (logid:) Checking to see if the database is at a version before it was the version table is created 2022-09-24 09:27:56,984 DEBUG [c.c.u.SystemVmTemplateRegistration] (main:null) (logid:) Looking for file [ ./engine/schema/dist/systemvm-templates/metadata.ini ] in the classpath. 2022-09-24 09:27:56,985 DEBUG [c.c.u.SystemVmTemplateRegistration] (main:null) (logid:) Looking for file [ /usr/share/cloudstack-management/templates/systemvm/metadata.ini ] in the classpath. 2022-09-24 09:27:57,034 INFO [c.c.u.DatabaseUpgradeChecker] (main:null) (logid:) DB version = 4.17.0.1 Code Version = 4.17.1.0 2022-09-24 09:27:57,036 INFO [c.c.u.DatabaseUpgradeChecker] (main:null) (logid:) Database upgrade must be performed from 4.17.0.1 to 4.17.1.0 2022-09-24 09:27:57,058 DEBUG [c.c.u.DatabaseUpgradeChecker] (main:null) (logid:) Running upgrade Upgrade41700to41710 to upgrade from 4.17.0.0-4.17.1.0 to 4.17.1.0 Full logs and upgrade steps used can be seen here, https://gist.github.com/shwstppr/03ec3669cb329cf7b69f1f1794d70130 Can you please re-check if the correct packages were used for 4.17.1.0 RC3? Regards, Abhishek On Sat, 24 Sept 2022 at 01:49, Wei ZHOU <ustcweiz...@gmail.com> wrote: > > Hi Abhishek, > > I have tested the upgrade from 4.17.0.1 to 4.17.1.0. However, it doesn't > seem good. > > 2022-09-23 20:09:53,498 INFO [c.c.u.DatabaseUpgradeChecker] (main:null) > (logid:) DB version = 4.17.0.1 Code Version = 4.17.1.0 > 2022-09-23 20:09:53,499 INFO [c.c.u.DatabaseUpgradeChecker] (main:null) > (logid:) Database upgrade must be performed from 4.17.0.1 to 4.17.1.0 > 2022-09-23 20:09:53,521 DEBUG [c.c.u.DatabaseUpgradeChecker] (main:null) > (logid:) Running upgrade NoopDbUpgrade to upgrade from 4.17.0.1-4.17.1.0 to > 4.17.1.0 > 2022-09-23 20:09:53,549 INFO [c.c.u.DatabaseUpgradeChecker] (main:null) > (logid:) Cleanup upgrade NoopDbUpgrade to upgrade from 4.17.0.1-4.17.1.0 to > 4.17.1.0 > 2022-09-23 20:09:53,575 DEBUG [c.c.u.DatabaseUpgradeChecker] (main:null) > (logid:) Upgrade completed for version 4.17.1.0 > > The packages are downloaded from > https://download.cloudstack.org/testing/4.17.1.0-RC3/debian/4.17/ > > No idea what's wrong. > > -Wei > > On Fri, 23 Sept 2022 at 15:33, Abhishek Kumar <shwst...@apache.org> wrote: > > > Hi All, > > > > I've created a 4.17.1.0 release, with the following artifacts up for a > > vote: > > > > Git Branch and Commit SH: > > https://github.com/apache/cloudstack/tree/4.17.1.0-RC20220923T1732 > > Commit: 974369e3d4cacb99790f21fadbd4daca19765910 > > > > Source release (checksums and signatures are available at the same > > location): > > https://dist.apache.org/repos/dist/dev/cloudstack/4.17.1.0/ > > > > PGP release keys (signed using 65518106473A09D7AF26B384A70BD2EAA74E2866): > > https://dist.apache.org/repos/dist/release/cloudstack/KEYS > > > > Vote will be open until lazy consensus (3 +1 binding) votes are reached. > > > > For sanity in tallying the vote, can PMC members please be sure to > > indicate "(binding)" with their vote? > > > > [ ] +1 approve > > [ ] +0 no opinion > > [ ] -1 disapprove (and reason why) > > > > For users convenience, the packages from this release candidate (RC3) > > and 4.17.0 systemvmtemplates (there is no change in system vm template > > since 4.17.0.0 release and the same 4.17.0 system vm templates can be > > used) are available here: > > https://download.cloudstack.org/testing/4.17.1.0-RC3/ > > https://download.cloudstack.org/systemvm/4.17/ > > > > The following documentation may be referenced for upgrade related tests: > > http://docs.cloudstack.apache.org/en/4.17.1.0/ > > > > Regards, > > Abhishek > >