From 7d59bfe2b59eb06a71c68262dfb08de8ee422ad4 Mon Sep 17 00:00:00 2001 From: Nicolas Vazquez Date: Thu, 7 Aug 2025 09:48:39 -0300 Subject: [PATCH] [UI] Fix zone creation wizard stuck on configuring public traffic (#11404) * [UI] Fix zone wizard creation stuck on configuring public traffic --- .../views/infra/zone/ZoneWizardLaunchZone.vue | 23 +++++++++++-------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/ui/src/views/infra/zone/ZoneWizardLaunchZone.vue b/ui/src/views/infra/zone/ZoneWizardLaunchZone.vue index 79ee68c9124..3655ace799d 100644 --- a/ui/src/views/infra/zone/ZoneWizardLaunchZone.vue +++ b/ui/src/views/infra/zone/ZoneWizardLaunchZone.vue @@ -903,6 +903,17 @@ export default { this.setStepStatus(STATUS_FAILED) } }, + async stepNetworkingProviderOrStorageTraffic () { + if (this.stepData.isTungstenZone) { + await this.stepCreateTungstenFabricPublicNetwork() + } else if (this.stepData.isNsxZone) { + await this.stepAddNsxController() + } else if (this.stepData.isNetrisZone) { + await this.stepAddNetrisProvider() + } else { + await this.stepConfigureStorageTraffic() + } + }, async stepConfigurePublicTraffic (message, trafficType, idx) { if ( (this.isBasicZone && @@ -997,17 +1008,11 @@ export default { await this.stepConfigurePublicTraffic('message.configuring.nsx.public.traffic', 'nsxPublicTraffic', 1) } else if (isolationMethods.includes('netris')) { await this.stepConfigurePublicTraffic('message.configuring.netris.public.traffic', 'netrisPublicTraffic', 1) + } else { + await this.stepNetworkingProviderOrStorageTraffic() } } else { - if (this.stepData.isTungstenZone) { - await this.stepCreateTungstenFabricPublicNetwork() - } else if (this.stepData.isNsxZone) { - await this.stepAddNsxController() - } else if (this.stepData.isNetrisZone) { - await this.stepAddNetrisProvider() - } else { - await this.stepConfigureStorageTraffic() - } + await this.stepNetworkingProviderOrStorageTraffic() } } else if (this.isAdvancedZone && this.sgEnabled) { if (this.stepData.isTungstenZone) {