Bug 1673172

Summary: [Hackfest] OSP14 - missing 'IronicDefaultNetworkInterface: neutron' inside neutron-ml2-ansible.yaml
Product: Red Hat OpenStack Reporter: Chris Janiszewski <cjanisze>
Component: openstack-tripleo-heat-templatesAssignee: Jakub Libosvar <jlibosva>
Status: CLOSED ERRATA QA Contact: Arkady Shtempler <ashtempl>
Severity: high Docs Contact:
Priority: high    
Version: 14.0 (Rocky)CC: jlibosva, lmarsh, mariel, mburns, michapma, rheslop
Target Milestone: z1Keywords: Triaged, ZStream
Target Release: 14.0 (Rocky)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-9.2.1-0.20190119154860.fe11ade.el7ost Doc Type: Enhancement
Doc Text:
This enhancement adds the networking-ansible heat parameter `IronicDefaultNetworkInterface`, which determines the value of the `default_network_interface` parameter in the `ironic.conf` configuration file. This value is set to the `neutron` interface by default, which enables virtual networking through Neutron on bare metal nodes. Note: The switches attached to the bare metal nodes must be programmable by the networking service if the `default_network_interface` is set to `neutron`.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-03-18 13:03:37 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:
Embargoed:

Description Chris Janiszewski 2019-02-06 20:25:24 UTC
Description of problem:
When deploying OSP14 with networking ansible the ironic.conf should be set up to
default_network_interface=neutron

however deployment doesn't set the the value and it leaves it at default:
default_network_interface=flat

Since Ironic won't be able to change switch ports without this parameter set we should change the tripleo templates to always include that.

We could simply add it to:
/usr/share/openstack-tripleo-heat-templates/environments/services/neutron-ml2-ansible.yaml

The parameters are:
IronicEnabledNetworkInterfaces: flat,noop,neutron
IronicDefaultNetworkInterface: neutron

Version-Release number of selected component (if applicable):
OSP14

How reproducible:
everytime

Steps to Reproduce:
1. Deploy OSP14 with networking-ansible
2. add nodes to ironic
3. deploy BM node with tenant vlan-id

Actual results:
BM node won't finish deployment due to missing parameter.

Expected results:
BM deployment finishes with success

Additional info:

Comment 4 errata-xmlrpc 2019-03-18 13:03:37 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.

https://access.redhat.com/errata/RHBA-2019:0446