[英]Floating ip pool not found
I'm trying to use vagrant-openstack-provider to manage Bluemix VMs. 我正在尝试使用vagrant-openstack-provider来管理Bluemix VM。
All is looking good, except for an error message at the end: Floating ip pool not found.
一切都很好,除了最后出现错误消息:
Floating ip pool not found.
2015-09-27 11:17 | DEBUG | request => method : POST
2015-09-27 11:17 | DEBUG | request => url : https://api2-dal09.open.ibmcloud.com:8774/v2/.../os-floating-ips
2015-09-27 11:17 | DEBUG | request => headers : {"X-Auth-Token"=>"...", :accept=>:json, :content_type=>:json}
2015-09-27 11:17 | DEBUG | request => body : {"pool":"private"}
2015-09-27 11:17 | DEBUG | response => code : 404
2015-09-27 11:17 | DEBUG | response => headers : {:content_length=>"73", :content_type=>"application/json; charset=UTF-8", :x_compute_request_id=>"...", :date=>"Sun, 27 Sep 2015 10:17:30 GMT"}
2015-09-27 11:17 | DEBUG | response => body : {"itemNotFound": {"message": "Floating ip pool not found.", "code": 404}}
2015-09-27 11:17 | WARN | Error allocating ip in pool private : Floating ip pool not found.
2015-09-27 11:17 | WARN | Impossible to allocate a new IP
ERROR warden: Error occurred: Floating ip pool not found.
Is it possible to create an IP pool in the horizon console? 是否可以在Horizon Console中创建IP池? If so, how do I do this?
如果是这样,我该怎么做? I couldn't find any documentation online.
我在网上找不到任何文档。
I specified 'private' in the Vagrantfile: 我在Vagrantfile中指定了“ private”:
os.floating_ip_pool = 'private'
I should have been using 'Public-Network' instead: 我应该一直使用“公共网络”代替:
os.floating_ip_pool = 'Public-Network'
I didn't realise at the time, but you can find the floating_ip_pool with: 当时我没有意识到,但是您可以使用以下方法找到floating_ip_pool:
snowch$ vagrant openstack floatingip-list
+-------------------+
| Floating IP pools |
+-------------------+
| Public-Network |
+-------------------+
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.