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
"Backup [{}] is in [{}] state. Aborting compression and cleaning up compressed data. We can only finish compression process if backup is in [{}] " + "state.",
logger.warn("Backup [{}] is in [{}] state. Aborting compression and cleaning up compressed data. We can only finish compression process if backup is in [{}] "
if (!_networkModel.areServicesSupportedInNetwork(network.getId(), new Service[]{Service.UserData})) {
4588
-
if ((userData != null) && (!userData.isEmpty())) {
4589
-
throw new InvalidParameterValueException(String.format("Unable to deploy VM as UserData is provided while deploying the VM, but there is no support for %s service in the default network %s/%s.", Service.UserData.getName(), network.getName(), network.getUuid()));
4590
-
}
4591
-
4592
-
if ((sshPublicKeys != null) && (!sshPublicKeys.isEmpty())) {
4593
-
throw new InvalidParameterValueException(String.format("Unable to deploy VM as SSH keypair is provided while deploying the VM, but there is no support for %s service in the default network %s/%s", Service.UserData.getName(), network.getName(), network.getUuid()));
4594
-
}
4595
-
4596
-
if (template.isEnablePassword()) {
4597
-
throw new InvalidParameterValueException(String.format("Unable to deploy VM as template %s is password enabled, but there is no support for %s service in the default network %s/%s", template, Service.UserData.getName(), network.getName(), network.getUuid()));
if (!_networkModel.areServicesSupportedInNetwork(network.getId(), new Service[]{Service.UserData})) {
4706
+
if ((userData != null) && (!userData.isEmpty())) {
4707
+
throw new InvalidParameterValueException(String.format("Unable to deploy VM as UserData is provided while deploying the VM, but there is no support for %s service in the default network %s/%s.", Service.UserData.getName(), network.getName(), network.getUuid()));
4708
+
}
4709
+
4710
+
if ((sshPublicKeys != null) && (!sshPublicKeys.isEmpty())) {
4711
+
throw new InvalidParameterValueException(String.format("Unable to deploy VM as SSH keypair is provided while deploying the VM, but there is no support for %s service in the default network %s/%s", Service.UserData.getName(), network.getName(), network.getUuid()));
4712
+
}
4713
+
4714
+
if (template.isEnablePassword()) {
4715
+
throw new InvalidParameterValueException(String.format("Unable to deploy VM as template %s is password enabled, but there is no support for %s service in the default network %s/%s", template.getId(), Service.UserData.getName(), network.getName(), network.getUuid()));
4716
+
}
4717
+
}
4718
+
}
4719
+
4706
4720
private void assignInstanceToGroup(String group, long id) {
4707
4721
// Assign instance to the group
4708
4722
try {
@@ -10128,13 +10142,11 @@ public UserVm allocateVMForValidation(long backupId, HypervisorType hypervisor)
10128
10142
throw new CloudRuntimeException(String.format("Unable to find service offering with the uuid stored in backup [%s]. Unable to validate the backup.", backup.getUuid()));
0 commit comments