Bug 1023399

Summary: default_floating_pool not configured
Product: [Community] RDO Reporter: Attila Fazekas <afazekas>
Component: openstack-puppet-modulesAssignee: Martin Magr <mmagr>
Status: CLOSED CURRENTRELEASE QA Contact: Ami Jeain <ajeain>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: aortega, derekh, dkranz, jlibosva, lars, mmagr, yeylon
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1025248 (view as bug list) Environment:
Last Closed: 2015-03-18 20:07:16 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:    
Bug Blocks: 1025248    

Description Attila Fazekas 2013-10-25 10:59:12 UTC
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 1 Jakub Libosvar 2013-12-19 12:22:18 UTC
*** Bug 1036141 has been marked as a duplicate of this bug. ***

Comment 3 Attila Fazekas 2014-10-03 13:01:15 UTC
I have enabled PROVISION_DEMO  and an external network created at install time which is named as 'public'.
This name is used in most of the documentation, but the nova.conf is not extended with the the expected 'default_floating_pool=public' option.

Comment 4 Lars Kellogg-Stedman 2015-03-18 20:07:16 UTC
Packstack now sets default_floating_pool in nova.conf:

$ rpm -q openstack-packstack
openstack-packstack-2014.2-0.18.dev1462.gbb05296.fc22.noarch
$ packstack --allinone
[...]
$ sudo grep default_floating_pool /etc/nova/nova.conf
default_floating_pool=public