This is an automated email from the ASF dual-hosted git repository.

sureshanaparti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/main by this push:
     new 7d59bfe2b59 [UI] Fix zone creation wizard stuck on configuring public 
traffic (#11404)
7d59bfe2b59 is described below

commit 7d59bfe2b59eb06a71c68262dfb08de8ee422ad4
Author: Nicolas Vazquez <nicovazque...@gmail.com>
AuthorDate: Thu Aug 7 09:48:39 2025 -0300

    [UI] Fix zone creation wizard stuck on configuring public traffic (#11404)
    
    * [UI] Fix zone wizard creation stuck on configuring public traffic
---
 ui/src/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 {
-          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 {
+          await this.stepNetworkingProviderOrStorageTraffic()
         }
       } else if (this.isAdvancedZone && this.sgEnabled) {
         if (this.stepData.isTungstenZone) {

Reply via email to