Skip to content

Commit 7d59bfe

Browse files
authored
[UI] Fix zone creation wizard stuck on configuring public traffic (#11404)
* [UI] Fix zone wizard creation stuck on configuring public traffic
1 parent dc5e475 commit 7d59bfe

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

ui/src/views/infra/zone/ZoneWizardLaunchZone.vue

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -903,6 +903,17 @@ export default {
903903
this.setStepStatus(STATUS_FAILED)
904904
}
905905
},
906+
async stepNetworkingProviderOrStorageTraffic () {
907+
if (this.stepData.isTungstenZone) {
908+
await this.stepCreateTungstenFabricPublicNetwork()
909+
} else if (this.stepData.isNsxZone) {
910+
await this.stepAddNsxController()
911+
} else if (this.stepData.isNetrisZone) {
912+
await this.stepAddNetrisProvider()
913+
} else {
914+
await this.stepConfigureStorageTraffic()
915+
}
916+
},
906917
async stepConfigurePublicTraffic (message, trafficType, idx) {
907918
if (
908919
(this.isBasicZone &&
@@ -997,17 +1008,11 @@ export default {
9971008
await this.stepConfigurePublicTraffic('message.configuring.nsx.public.traffic', 'nsxPublicTraffic', 1)
9981009
} else if (isolationMethods.includes('netris')) {
9991010
await this.stepConfigurePublicTraffic('message.configuring.netris.public.traffic', 'netrisPublicTraffic', 1)
1000-
}
1001-
} else {
1002-
if (this.stepData.isTungstenZone) {
1003-
await this.stepCreateTungstenFabricPublicNetwork()
1004-
} else if (this.stepData.isNsxZone) {
1005-
await this.stepAddNsxController()
1006-
} else if (this.stepData.isNetrisZone) {
1007-
await this.stepAddNetrisProvider()
10081011
} else {
1009-
await this.stepConfigureStorageTraffic()
1012+
await this.stepNetworkingProviderOrStorageTraffic()
10101013
}
1014+
} else {
1015+
await this.stepNetworkingProviderOrStorageTraffic()
10111016
}
10121017
} else if (this.isAdvancedZone && this.sgEnabled) {
10131018
if (this.stepData.isTungstenZone) {

0 commit comments

Comments
 (0)