![Openstack 在向路由器添加外部网关时出现内部服务器错误](https://linux22.com/image/786001/Openstack%20%E5%9C%A8%E5%90%91%E8%B7%AF%E7%94%B1%E5%99%A8%E6%B7%BB%E5%8A%A0%E5%A4%96%E9%83%A8%E7%BD%91%E5%85%B3%E6%97%B6%E5%87%BA%E7%8E%B0%E5%86%85%E9%83%A8%E6%9C%8D%E5%8A%A1%E5%99%A8%E9%94%99%E8%AF%AF.png)
我创建了一个没有的路由器external gateway
。然后,我将以下输入发送到这API 将添加external gateway
到route
。我明白了InternalServerError
。所有 uuid 都存在于 中openstack
。
输入:
{"external_gateways":[{"enable_snat":true,"external_fixed_ips":[{"ip_address":"37.130.206.150","subnet_id":"b8d2ac22-..."}],"network_id":"419e8adc-2..."}]}
网址:
:9696/v2.0/routers/f143df49.../add_external_gateways
方法类型:PUT
输出:
{"NeutronError": {"type": "HTTPInternalServerError", "message": "Request Failed: internal server error while processing your request.", "detail": ""}}