[UI] Fix zone creation wizard stuck on configuring public traffic (#11404)

* [UI] Fix zone wizard creation stuck on configuring public traffic
This commit is contained in:
Nicolas Vazquez 2025-08-07 09:48:39 -03:00 committed by GitHub
parent dc5e475bd2
commit 7d59bfe2b5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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) {