Status: Resolved (View Workflow)
Affects Version/s: 27.0.0
Fix Version/s: 27.0.1
Security Level: Default (Default Security Scheme)
Sprint:Horizon 2020 - Oct 28-Nov 11
HB Backlog Status:Backlog CM
When running install script to upgrade to v27.0.0, the following message appears:
Processing VmwareAssetsMigratorOffline: Moves VMware asset data to the node's metadata.
- Running pre-execution phase
14:22:20.526 [Main] INFO com.zaxxer.hikari.HikariDataSource - opennms - Started.
- Running execution phase
Warning: can't perform the upgrade operation because: Can't move asset data to metadata table: ERROR: column "vmwaremangedentitytype" does not exist
Hint: Perhaps you meant to reference the column "assets.vmwaremanagedentitytype". Position: 39
- Executing rollback phase
- Running post-execution phase Finished in 0 seconds
There appears to be an typo in the migration script referencing the wrong column name. My initial search looks like core/upgrade/src/main/java/org/opennms/upgrade/implementations/VmwareAssetsMigratorOffline.java is the culprit file.
Referenced in chat discussion at https://chat.opennms.com/opennms/pl/jdjyg1kgkbgyppcrm83ntofzir