yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #19751
[Bug 1364334] [NEW] floating-ip-create should discover pool name instead of using conf file
Public bug reported:
Since "pool" is an optional argument for floating-ip-create, nova should try to auto-discover a single available pool instead of looking for an arbitrary name from conf file.
The same way it searches for a single available network on VM creation (and fails if there are multiple networks or no networks available)
[root@puma48 ~(keystone_admin)]# nova help floating-ip-create
usage: nova floating-ip-create [<floating-ip-pool>]
Allocate a floating IP for the current tenant.
Positional arguments:
<floating-ip-pool> Name of Floating IP Pool. (Optional)
[root@puma48 ~(keystone_admin)]# nova floating-ip-create
ERROR: FloatingIpPoolNotFound: Floating ip pool not found. (HTTP 404) (Request-ID: req-bb38abd9-a129-478c-bb36-91fc589f96e0)
[root@puma48 ~(keystone_admin)]# nova floating-ip-pool-list
+--------+
| name |
+--------+
| public |
+--------+
[root@puma48 ~(keystone_admin)]# grep floating_pool /etc/nova/nova.conf
#default_floating_pool=nova
** Affects: nova
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1364334
Title:
floating-ip-create should discover pool name instead of using conf
file
Status in OpenStack Compute (Nova):
New
Bug description:
Since "pool" is an optional argument for floating-ip-create, nova should try to auto-discover a single available pool instead of looking for an arbitrary name from conf file.
The same way it searches for a single available network on VM creation (and fails if there are multiple networks or no networks available)
[root@puma48 ~(keystone_admin)]# nova help floating-ip-create
usage: nova floating-ip-create [<floating-ip-pool>]
Allocate a floating IP for the current tenant.
Positional arguments:
<floating-ip-pool> Name of Floating IP Pool. (Optional)
[root@puma48 ~(keystone_admin)]# nova floating-ip-create
ERROR: FloatingIpPoolNotFound: Floating ip pool not found. (HTTP 404) (Request-ID: req-bb38abd9-a129-478c-bb36-91fc589f96e0)
[root@puma48 ~(keystone_admin)]# nova floating-ip-pool-list
+--------+
| name |
+--------+
| public |
+--------+
[root@puma48 ~(keystone_admin)]# grep floating_pool /etc/nova/nova.conf
#default_floating_pool=nova
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1364334/+subscriptions
Follow ups
References