neutron版本R版

今天测试防火墙API时遇到一个奇怪现象,api接口404,

{

    "NeutronError": {

        "message": "The resource could not be found.",

        "type": "HTTPNotFound",

        "detail": ""

    }

}

然后使用openstack firewall group list命令也查不到,报错404

The resource could not be found.
Neutron server returns request_ids: ['req-13aa40be-5f8b-41a4-98ce-ec253fd59e46']
 

以为是防火墙服务挂了,配置一顿改,发现还是不行,查日志

 "GET /v2.0/fwaas/firewall_groups HTTP/1.1" status: 404 

果然是接口404

翻来覆去想不明白,然后试了一下已经弃用的neutron命令

neutron firewall-list结果查出来了

然后看日志,API是/v2.0/fw/firewall_groups

跟官网的不一致,一脸懵逼,然后用postman试了一下OK的

行吧。。。

 

更多推荐