Failed to Enable SNAT on ServiceCenter

14

【Product�?
ServiceCenter

【Version�?
3.0.9.SPC1

【Fault Type�?
SNAT enabling failure

【Symptom�?
Error code 0005903029 is returned and is described as "Request Failed:internal server error while processing your request."

【Fault Locating�?
Possible causes: No external gateway is created on Agile Controller for the external network used by SNAT.
Check method: Check whether error information is contained in the Agile Controller operation log file.
Conclusion: "ErrorInfo: statusCode=400, errorCode= 0 x00320006, errorMessage=object not exist, object identity:External gateway." is contained in the Agile Controller operation log file.

【Troubleshooting Procedure�?
Step 1 On Agile Controller, create an external gateway for the external network used by SNAT.

Step 2 Enable SNAT on ServiceCenter for routed networks. SNAT is successfully enabled.

---End

Other related questions:
Definition of SNAT
Besides requiring services provided by the system, some ECSs also need to access the Internet to obtain information or download software. The system allows users to bind EIPs to virtual NICs (ports) of ECSs to enable the ECSs to access the Internet. However, assigning a public IP address to each ECS consume scarce resources (such as IPv4 addresses), incur additional costs, and probably increase the possibility of attacks on a virtual environment. Therefore, enabling multiple ECSs to share one public IP address is feasible. Specifically, this can be realized using SNAT.

What Do I Do If I Failed to Disable SNAT on ServiceCenter Because the Floating IP Address on FusionSphere OpenStack Is In ERROR Status
【Product�? ServiceCenter 【Version�? 3.0, 3.0.SPC2, 3.0.5, 3.0.5.SP1, 3.0.5.SP2, 3.0.5.SP3, 3.0.5.SP5, 3.0.7, and 3.0.8 【Fault Type�? Network fault 【Symptom�? When SNAT is disabled, an error message is displayed indicating that SNAT fails to be configured at the underlying layer. 【Fault Locating�? Step 1 Use SSH to log in to a FusionSphere OpenStack node through the reverse proxy IP address. The default username and password are FSP and Huawei@CLOUD8, respectively. Step 2 Switch to user root. Step 3 Run the following command to import environment variables: source set_env Step 4 Run the following command to query the floating IP address: neutron port-show SC_SNAT_XXX Replace XXX with the VPC ID. On the VPC list page, click the gear icon in the upper right corner of the table and select ID. The VPC ID is displayed in the table. Step 5 Run the following command to query the status of the floating IP address: neutron floatingip-list --floating_ip_address YYY -c id -c status YYY indicates the floating IP address obtained in the previous step. Step 6 Check the status value. The floating IP address is in the ERROR status. 【Root Cause�? If the floating IP address on FusionSphere OpenStack is in the ERROR status, SNAT will fail to be disabled. 【Solution�? Contact FusionSphere OpenStack engineers to rectify the fault. ----End

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top