[feat][core] show error if vsphere disabled but m/r requested
PRODX-13456
Change-Id: I21acd84a2cc9559c0898b888e0d432086abab243
diff --git a/src/com/mirantis/mk/KaasUtils.groovy b/src/com/mirantis/mk/KaasUtils.groovy
index 62745fc..d7f7fdb 100644
--- a/src/com/mirantis/mk/KaasUtils.groovy
+++ b/src/com/mirantis/mk/KaasUtils.groovy
@@ -185,6 +185,11 @@
error('incompatible triggers: [disable-os-demo] and multiregional deployment based on OSt management region cannot be applied simultaneously')
}
break
+ case 'vsphere':
+ if (enableVsphereDemo == false) {
+ error('incompatible triggers: [disable-vsphere-demo] and multiregional deployment based on Vsphere management region cannot be applied simultaneously')
+ }
+ break
case 'equinix':
common.warningMsg('Forced running additional kaas deployment with Equinix provider according multiregional demo request')
equinixOnDemandDemo = true