Bug 1370437

Summary: [Docs][director] default_floating_pool defaults to 'public' in director but documentation creates external network using 'nova'
Product: Red Hat OpenStack Reporter: Ramon Acedo <racedoro>
Component: documentationAssignee: Dan Macpherson <dmacpher>
Status: CLOSED CURRENTRELEASE QA Contact: RHOS Documentation Team <rhos-docs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0 (Mitaka)CC: dmacpher, mapiccin, mburns, racedoro, srevivo
Target Milestone: ---Keywords: Documentation
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-03 15:17:19 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:

Description Ramon Acedo 2016-08-26 10:31:41 UTC
This affects both, OSP 8 and OSP 9. Our default value for default_floating_pool is 'public' in both, OSP 8 and OSP 9:

$ grep -r default_floating_pool /usr/share/openstack-tripleo-heat-templates/
/usr/share/openstack-tripleo-heat-templates/kilo/controller.yaml:          default_floating_pool:
/usr/share/openstack-tripleo-heat-templates/puppet/hieradata/controller.yaml.original:nova::api::default_floating_pool: 'public'
/usr/share/openstack-tripleo-heat-templates/puppet/hieradata/controller.yaml:nova::api::default_floating_pool: 'public'
/usr/share/openstack-tripleo-heat-templates/liberty/puppet/hieradata/controller.yaml:nova::api::default_floating_pool: 'public'

But the documentation instructs us to create the external network with name 'nova' which is the upstream default name at: https://access.redhat.com/documentation/en/red-hat-openstack-platform/9/single/director-installation-and-usage#sect-Creating_the_Overcloud_External_Network

$ source ~/overcloudrc
$ neutron net-create nova --router:external --provider:network_type flat --provider:physical_network datacentre
$ neutron subnet-create --name nova --enable_dhcp=False --allocation-pool=start=10.1.1.51,end=10.1.1.250 --gateway=10.1.1.1 nova 10.1.1.0/24

This leads to two related issues, 'nova floating-ip-create' not working and tempest tests such as 'tempest.scenario.test_volume_boot_pattern.TestVolumeBootPatternV2.test_volume_boot_pattern' failing

Comment 3 Dan Macpherson 2017-02-03 04:23:30 UTC
Hi Ramon,

Have updated the external network to public:

https://access.redhat.com/documentation/en/red-hat-openstack-platform/10/single/director-installation-and-usage/#sect-Creating_the_Overcloud_External_Network

Was there anything else required for this BZ?

Comment 4 Ramon Acedo 2017-02-03 09:16:26 UTC
Hi Dan, nothing else. Thanks for updating the docs.

Comment 5 Dan Macpherson 2017-02-03 15:17:19 UTC
No prob. Thanks for reporting this.