Bug 1585958

Summary: Backport from master tripleo-heat-templates for "Add ability to pre-assign IPs by role on ctlplane "
Product: Red Hat OpenStack Reporter: Federico Iezzi <fiezzi>
Component: openstack-tripleo-heat-templatesAssignee: Dan Sneddon <dsneddon>
Status: CLOSED ERRATA QA Contact: bjacot
Severity: medium Docs Contact:
Priority: medium    
Version: 13.0 (Queens)CC: bfournie, dcadzow, dsneddon, jschluet, jslagle, mburns
Target Milestone: z2Keywords: FeatureBackport, Triaged, ZStream
Target Release: 13.0 (Queens)   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-8.0.4-3.el7ost Doc Type: Rebase: Enhancements Only
Doc Text:
Important: if this rebase also contains *bug fixes* (or contains only bug fixes), select the correct option from the Doc Type drop-down list. Rebase package(s) to version: 13.0z9 Highlights and notable enhancements: Installers may now select static IP addresses to be used on the Control Plane (provisioning) network for each node in each role. The IP map works the same as the other networks, with one IP per line per role, corresponding to the nodes in each role. For example: parameter_defaults: ControllerIPs: # Each controller will get an IP from the lists below, first controller, first IP ctlplane: - 192.168.24.251 - 192.168.24.250 - 192.168.24.249 See the file environments/ips-from-pool-ctlplane.yaml in openstack-tripleo-heat-templates for example of usage.
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-29 16:36:45 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 Federico Iezzi 2018-06-05 07:48:27 UTC
Description of problem:

Currently isn't possible to statically pre-define IPs for the Provisioning Network. In most production deployments, having pre-defined IP addresses from a LLD is a mandatory requirement. This is especially true in Telco customers that I see every day. Dan Sneddon some days ago merged this feature and I would like to ask a backport for it to OSP13 downstream.

The backport itself is minimal but the feature is a quite important one.

https://github.com/openstack/tripleo-heat-templates/commit/393476fda3652637bf6e5344f8815b3bb5398900

Thanks,
Federico

Comment 1 Bob Fournier 2018-06-05 13:03:21 UTC
Upstream master patch is https://review.openstack.org/#/c/568505/

Comment 11 bjacot 2018-08-07 17:38:22 UTC
Install OSP13

cat /etc/yum.repos.d/latest-installed 
13   -p 2018-07-30.2

verified that role.role.j2.yml had gerrit merged changes.

openstack-tripleo-heat-templates/puppet/role.role.j2.yaml 


please reopen if experiencing this issue again.

Comment 12 Joanne O'Flynn 2018-08-15 08:05:32 UTC
This bug is marked for inclusion in the errata but does not currently contain draft documentation text. To ensure the timely release of this advisory please provide draft documentation text for this bug as soon as possible.

If you do not think this bug requires errata documentation, set the requires_doc_text flag to "-".


To add draft documentation text:

* Select the documentation type from the "Doc Type" drop down field.

* A template will be provided in the "Doc Text" field based on the "Doc Type" value selected. Enter draft text in the "Doc Text" field.

Comment 14 errata-xmlrpc 2018-08-29 16:36:45 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-2018:2574