FloatingIpPoolNotFound when creating ElasticIp
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Undecided
|
Xiang Hui |
Bug Description
OS : RHEL6.4
OpenStack version : Havana
Template : WordPress_
2013-07-29 04:38:05.006 13486 INFO heat.engine.
2013-07-29 04:38:05.006 13486 DEBUG heat.engine.
2013-07-29 04:38:05.017 13486 INFO urllib3.
2013-07-29 04:38:05.058 13486 DEBUG urllib3.
2013-07-29 04:38:05.059 13486 ERROR heat.engine.
2013-07-29 04:38:05.059 13486 TRACE heat.engine.
2013-07-29 04:38:05.059 13486 TRACE heat.engine.
2013-07-29 04:38:05.059 13486 TRACE heat.engine.
2013-07-29 04:38:05.059 13486 TRACE heat.engine.
2013-07-29 04:38:05.059 13486 TRACE heat.engine.
2013-07-29 04:38:05.059 13486 TRACE heat.engine.
2013-07-29 04:38:05.059 13486 TRACE heat.engine.
2013-07-29 04:38:05.059 13486 TRACE heat.engine.
2013-07-29 04:38:05.059 13486 TRACE heat.engine.
2013-07-29 04:38:05.059 13486 TRACE heat.engine.
2013-07-29 04:38:05.059 13486 TRACE heat.engine.
2013-07-29 04:38:05.059 13486 TRACE heat.engine.
2013-07-29 04:38:05.059 13486 TRACE heat.engine.
2013-07-29 04:38:05.059 13486 TRACE heat.engine.
2013-07-29 04:38:05.059 13486 TRACE heat.engine.
2013-07-29 04:38:05.059 13486 TRACE heat.engine.
2013-07-29 04:38:05.059 13486 TRACE heat.engine.
2013-07-29 04:38:05.059 13486 TRACE heat.engine.
Changed in heat: | |
milestone: | none → havana-3 |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | havana-3 → 2013.2 |
The root cause is found as follows: /github. com/openstack/ heat/blob/ master/ heat/engine/ resources/ eip.py# L51 heat didn't pass a pool in, which cause this error.
The Nova extension "/os-floating-ips", {'pool': pool}, "floating_ip") needs a floating-ip-pool to create a new floating ip, the value of parameter 'pool' default is None, but
in https:/
It also can be proved by nova : oc2603148815 cfn]# nova floating-ip-create otFound: Floating ip pool not found. (HTTP 404) (Request-ID: req-44f46601- 5c82-4eba- be33-85224eee32 e9)
[root@
ERROR: FloatingIpPoolN
[root@ oc2603148815 cfn]# nova floating- ip-pool- list ------- --+---- ------- --+---- ------+ ------- --+ ------- --+---- ------- --+---- ------+ ------- --+ ------- --+---- ------- --+---- ------+ ------- --+
+---------+
| name |
+---------+
| ext_net |
+---------+
[root@oc2603148815 cfn]# nova floating-ip-create ext_net
+------
| Ip | Instance Id | Fixed Ip | Pool |
+------
| 192.168.12.13 | None | None | ext_net |
+------