Bug 1025248

Summary: default_floating_pool not configured
Product: Red Hat OpenStack Reporter: Jaroslav Henner <jhenner>
Component: openstack-puppet-modulesAssignee: Ivan Chavero <ichavero>
Status: CLOSED ERRATA QA Contact: Nir Magnezi <nmagnezi>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: aberezin, afazekas, ajeain, aortega, derekh, hateya, ichavero, jlibosva, mlopes, yeylon
Target Milestone: asyncKeywords: Triaged
Target Release: 4.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1023399 Environment:
Last Closed: 2013-12-20 00:33:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1023399    
Bug Blocks:    

Description Jaroslav Henner 2013-10-31 10:15:40 UTC
+++ This bug was initially created as a clone of Bug #1023399 +++

Description of problem:
openstack-packstack-2013.2.1-0.12.dev806.fc20.noarch 
does not configures the 'default_floating_pool'.

How reproducible:
$ packstack --allinone 
$ nova boot server --flavor 1 --image 2f24b030-46bd-4667-8559-df7b684e9099
$ nova floating-ip-create 
ERROR: FloatingIpPoolNotFound: Floating ip pool not found. (HTTP 404) (Request-ID: req-4a97bf53-a878-4d6c-913e-14915dd087a0)
$ nova floating-ip-pool-list 
+--------+
| name   |
+--------+
| public |
+--------+

Actual results:
 Floating IP creation failing if the pool does not specified explicitly.

Expected results:
 Floating IP allocated from the default (public) pool.

Additional info:

Workaround:
openstack-config --set /etc/nova/nova.conf DEFAULT default_floating_pool public
service openstack-nova-api restart

Comment 2 Ivan Chavero 2013-11-16 05:03:39 UTC
This bug has already been resolved, if you try with the new package you will see that there's a command line switch --novanetwork-default-floating-pool and a CONFIG_NOVA_NETWORK_DEFAULTFLOATINGPOOL configuration directive.

Comment 4 Scott Lewis 2013-11-19 16:54:33 UTC
Auto adding >= MODIFIED bugs to beta

Comment 9 Nir Magnezi 2013-12-19 12:06:28 UTC
Tested NVR: openstack-packstack-2013.2.1-0.20.dev936.el6ost.noarch

Verification Steps:
===================
1. packstack --allinone
2. launch an instance

Result:
=======
1. Check nova.conf for default pool configuration

# grep default_floating_pool /etc/nova/nova.conf 
#default_floating_pool=nova

=> not configured.

2. Steps executed in comment #0

# nova floating-ip-create
ERROR: FloatingIpPoolNotFound: Floating ip pool not found. (HTTP 404) (Request-ID: req-587b55d3-ce46-4819-a00c-7a858ae33661)
# nova floating-ip-pool-list
+--------+
| name   |
+--------+
| public |
+--------+

Comment 11 errata-xmlrpc 2013-12-20 00:33:35 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2013-1859.html