[Rdo-list] nova floating-ip-create does not work
Zhang, Kimi (NSN - CN/Cheng Du)
kimi.zhang at nsn.com
Wed Jul 31 01:41:50 UTC 2013
Hi, Forrest
It really works, thank you!!
Kimi Zhang
+86 186 0800 8182
-----Original Message-----
From: ext Forrest Taylor [mailto:ftaylor at redhat.com]
Sent: Wednesday, July 31, 2013 3:31 AM
To: Zhang, Kimi (NSN - CN/Cheng Du)
Cc: rdo-list at redhat.com
Subject: Re: [Rdo-list] nova floating-ip-create does not work
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
More information about the dev
mailing list