You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: engine/orchestration/src/main/java/org/apache/cloudstack/engine/orchestration/NetworkOrchestrator.java
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2326,7 +2326,8 @@ public void prepareAllNicsForMigration(final VirtualMachineProfile vm, final Dep
2326
2326
for (finalNetworkElementelement : networkElements) {
2327
2327
if (providersToImplement.contains(element.getProvider())) {
2328
2328
if (!_networkModel.isProviderEnabledInPhysicalNetwork(_networkModel.getPhysicalNetworkId(network), element.getProvider().getName())) {
2329
-
thrownewCloudRuntimeException(String.format("Service provider %s either doesn't exist or is not enabled in physical network: %s", element.getProvider().getName(), _physicalNetworkDao.findById(network.getPhysicalNetworkId())));
2329
+
thrownewCloudRuntimeException("Service provider " + element.getProvider().getName() + " either doesn't exist or is not enabled in physical network id: "
2330
+
+ network.getPhysicalNetworkId());
2330
2331
}
2331
2332
if (elementinstanceofNetworkMigrationResponder) {
2332
2333
if (!((NetworkMigrationResponder) element).prepareMigration(profile, network, vm, dest, context)) {
0 commit comments