[Rdo-list] nova floating-ip-create does not work

Forrest Taylor ftaylor at redhat.com
Tue Jul 30 19:31:08 UTC 2013


On Tue, 2013-07-30 at 08:05 +0000, Zhang, Kimi (NSN - CN/Cheng Du)
wrote:
> Hello, 
>  
> My nova and quantum versions:
> openstack-nova-api-2013.1.2-4.el6.noarch
> python-novaclient-2.13.0-1.el6.noarch
> python-novaclient-doc-2.13.0-1.el6.noarch
> python-quantum-2013.1.2-2.el6.noarch
> python-quantumclient-2.2.1-2.el6.noarch
>  
> During Heat try-out, I found “nova floating-ip-create” does not work:
> [root at controller-1 ~(keystone_ncep)]# nova floating-ip-create
> ERROR: FloatingIpPoolNotFound: Floating ip pool not found. (HTTP 404)
> (Request-ID: req-657bd433-526c-482f-a2c5-d2ef3359d00f)
>  
> But I do have a floating IP pool:
> [root at controller-1 ~(keystone_ncep)]# nova floating-ip-pool-list
> +---------+
> | name    |
> +---------+
> | ext_net |
> +---------+
>  
> Floating IP creation works only by adding the pool name as argument
> explicitly.
> [root at controller-1 ~(keystone_ncep)]# nova floating-ip-create ext_net
> +---------------+-------------+----------+---------+
> | Ip            | Instance Id | Fixed Ip | Pool    |
> +---------------+-------------+----------+---------+
> | 10.68.124.109 | None        | None     | ext_net |
> +---------------+-------------+----------+---------+
>  
> But from help I know the pool name argument is optional, and Heat
> seems also use “nova floating-ip-create” to create floating IP.

The floating IP pool name needs to be set in nova.conf:
 openstack-config --set /etc/nova/nova.conf \
  DEFAULT default_floating_pool ext_net

Then restart the nova services.

-- 
Forrest Taylor
Red Hat Training Content Developer
Cell: 303-913-5169
AIM: forresttaylorred
Red Hat IRC: forrest
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.rdoproject.org/pipermail/dev/attachments/20130730/f9dc282d/attachment.sig>


More information about the dev mailing list