nvazquez edited a comment on pull request #5194: URL: https://github.com/apache/cloudstack/pull/5194#issuecomment-884116562
@DK101010 when upgrading from version X to Y, CloudStack will apply all the upgrade scripts from versions between X and Y (e.g. from 4.15.0 to 4.16.0 has to apply DB upgrades from intermediate version 4.15.1) The upgrade scripts are executed in this way: - Prepare scripts: `schema-XtoY.sql` where X and Y are versions - Data migration scripts (if any, provided in the java classes `UpgradeXtoY.java`) - Cleanup scripts: `schema-XtoY-cleanup.sql` In short, as this PR is going into 4.16 you can place the DB update SQL for older PVLANs in the file `schema-41510to41600.sql` (some examples in the same file: https://github.com/apache/cloudstack/blob/main/engine/schema/src/main/resources/META-INF/db/schema-41510to41600.sql#L396-L407) Happy to help, please ping me if you need help with that P.S: on the issue #5202 the SQL update is proposed: ```` UPDATE cloud.networks SET broadcast_uri = REPLACE(broadcast_uri, '-i', '-c') WHERE removed is null and broadcast_uri like '%pvlan%'; ```` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
