Bug 1677515 - Including 'OS::TripleO::Compute::PreNetworkConfig: /home/stack/templates/config_then_reboot.yaml ' makes overcloud deployment faild.
Summary: Including 'OS::TripleO::Compute::PreNetworkConfig: /home/stack/templates/con...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 13.0 (Queens)
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: z5
: 13.0 (Queens)
Assignee: Alex Schultz
QA Contact: Sasha Smolyak
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-15 06:45 UTC by Keigo Noha
Modified: 2019-03-14 13:55 UTC (History)
3 users (show)

Fixed In Version: openstack-tripleo-heat-templates-8.2.0-3.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-03-14 13:55:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1816450 0 None None None 2019-02-18 15:26:55 UTC
OpenStack gerrit 637569 0 None MERGED Add missing RoleParameters and ServiceNames 2021-02-11 22:29:02 UTC
OpenStack gerrit 638164 0 None MERGED Add missing RoleParameters and ServiceNames 2021-02-11 22:29:02 UTC
Red Hat Product Errata RHBA-2019:0448 0 None None None 2019-03-14 13:55:29 UTC

Description Keigo Noha 2019-02-15 06:45:25 UTC
Description of problem:
Including 'OS::TripleO::Compute::PreNetworkConfig:  /home/stack/templates/config_then_reboot.yaml ' makes overcloud deployment faild.

The error message is
~~~
ERROR: Property error: : resources.Controller<nested_stack>.resources.0
  <http://XXXX/overcloud/puppet/controller-role.yaml>.
  resources.PreNetworkConfig.properties: : Unknown Property RoleParameters",
~~~

config_then_reboot.yaml doesn't have RoelParameters and ServiceNames in it.

Adding following paramters in parameters section in config_then_reboot.yaml resolves the issue.
~~~
  RoleParameters:
    type: json
    description: Parameters specific to the role
    default: {}
  ServiceNames:
    type: comma_delimited_list
    default: []
~~~

Version-Release number of selected component (if applicable):
RHOSP13 T-H-T

How reproducible:
Always

Steps to Reproduce:
1. Include config_then_reboot.yaml as OS::TripleO::<Compute/Controller>::PreNetworkConfig:.
2. Deploy overcloud

Actual results:
Overcloud deployment failed.

Expected results:
Overcloud deployment doesn't fail.

Comment 1 Alex Schultz 2019-02-18 15:02:43 UTC
Yes it seems the default config_then_reboot.yaml we ship is out of date with the required parameters.

Comment 5 errata-xmlrpc 2019-03-14 13:55:25 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:0448


Note You need to log in before you can comment on or make changes to this bug.