rafaelweingartner commented on a change in pull request #3007: Add missing ConfigDrive entries on existing zones after upgrade URL: https://github.com/apache/cloudstack/pull/3007#discussion_r231508775
########## File path: server/src/com/cloud/network/NetworkServiceImpl.java ########## @@ -623,11 +624,42 @@ public boolean configure(final String name, final Map<String, Object> params) th _allowSubdomainNetworkAccess = Boolean.valueOf(_configs.get(Config.SubDomainNetworkAccess.key())); + verifyConfigDriveEntriesOnZones(); + s_logger.info("Network Service is configured."); return true; } + /** + * Verifies ConfigDrive entries on a zone. Adds Diabled ConfigDrive provider if missing + */ + private void checkConfigDriveEntriesOnZone(DataCenterVO zone) { Review comment: would you mind adding some unit tests there as well? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services