Bug 1611953 - environment has wrong section "parameter_groups"/"heat_template_version"
Summary: environment has wrong section "parameter_groups"/"heat_template_version"
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Emilien Macchi
QA Contact: Gurenko Alex
URL:
Whiteboard:
Depends On:
Blocks: RHOS-13-ppc64le
TreeView+ depends on / blocked
 
Reported: 2018-08-03 07:14 UTC by Tony Breeds
Modified: 2018-08-06 04:15 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-08-06 04:15:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
First debug log (229.46 KB, text/plain)
2018-08-03 07:15 UTC, Tony Breeds
no flags Details
Second debug log (229.47 KB, text/plain)
2018-08-03 07:16 UTC, Tony Breeds
no flags Details
Overcloud container from swift (555.24 KB, application/x-gzip)
2018-08-03 07:19 UTC, Tony Breeds
no flags Details
node-info.yaml (84 bytes, text/plain)
2018-08-03 20:41 UTC, Tony Breeds
no flags Details
overcloud.yml (102.49 KB, text/plain)
2018-08-03 20:41 UTC, Tony Breeds
no flags Details
customization.yaml (65 bytes, text/plain)
2018-08-03 20:41 UTC, Tony Breeds
no flags Details

Description Tony Breeds 2018-08-03 07:14:59 UTC
Description of problem:  When attempting to deploy the overcloud the process halts with:

environment has wrong section "parameter_groups"

Version-Release number of selected component (if applicable): openstack-tripleo-heat-templates-8.0.4-8.el7ost.noarch (built from http://pkgs.devel.redhat.com/cgit/rpms/openstack-tripleo-heat-templates/commit/?h=private-abreeds-rhos-13.0-multiarch)

---
+ openstack overcloud deploy --templates /home/stack/templates -r /home/stack/templates/roles_data.yaml --disable-validations --libvirt-type kvm --ntp-server clock01.util.phx2.redhat.com -e /home/stack/templates/node-info.yaml -e /home/stack/templates/overcloud.yaml -e /home/stack/templates/customization.yaml
Removing the current plan files
Uploading new plan files
Started Mistral Workflow tripleo.plan_management.v1.update_deployment_plan. Execution ID: b26b8e73-ef54-407c-a26e-f86da62d80fd
Plan updated.
Processing templates in the directory /tmp/tripleoclient-2lynIo/tripleo-heat-templates
environment has wrong section "parameter_groups"
---

I'll attach debug-01.log.

By way of a quick work around I removed the deprecated options from roles_data.
---
[stack@director templates]$ diff -U0 roles_data.yaml~orig roles_data.yaml
--- roles_data.yaml~orig        2018-08-03 03:03:56.972000000 -0400
+++ roles_data.yaml     2018-08-03 03:11:01.585000000 -0400
@@ -28 +27,0 @@
-  deprecated_param_extraconfig: 'controllerExtraConfig'
@@ -193 +191,0 @@
-  deprecated_param_extraconfig: 'NovaComputeExtraConfig'
@@ -195 +192,0 @@
-  deprecated_param_scheduler_hints: 'NovaComputeSchedulerHints'
---

and re-ran the deploy command, this time it exited with: environment has wrong section "heat_template_version"

I'll attach debug-02.log

Comment 1 Tony Breeds 2018-08-03 07:15:36 UTC
Created attachment 1472889 [details]
First debug log

Comment 2 Tony Breeds 2018-08-03 07:16:02 UTC
Created attachment 1472890 [details]
Second debug log

Comment 3 Tony Breeds 2018-08-03 07:19:39 UTC
Created attachment 1472891 [details]
Overcloud container from swift

This is taken from the first run.

(undercloud) [stack@director ~]$ openstack overcloud deploy --templates /home/stack/templates -r /home/stack/templates/roles_data.yaml --disable-validations --libvirt-type kvm --ntp-server clock01.util.phx2.redhat.com -e /home/stack/templates/node-info.yaml -e /home/stack/templates/overcloud.yaml -e /home/stack/templates/customization.yaml
Removing the current plan files
Uploading new plan files
Started Mistral Workflow tripleo.plan_management.v1.update_deployment_plan. Execution ID: be4fadb0-70e7-4b65-802e-59df185c88ee
Plan updated.
Processing templates in the directory /tmp/tripleoclient-z1uZ7Q/tripleo-heat-templates
environment has wrong section "parameter_groups"

Comment 4 Thomas Hervé 2018-08-03 11:27:56 UTC
Can you attach  /home/stack/templates/node-info.yaml, /home/stack/templates/overcloud.yaml and /home/stack/templates/customization.yaml? Thanks.

Comment 5 Tony Breeds 2018-08-03 20:40:36 UTC
I can attach them but they're included in the 3rd attachment already.

Comment 6 Tony Breeds 2018-08-03 20:41:06 UTC
Created attachment 1473232 [details]
node-info.yaml

Comment 7 Tony Breeds 2018-08-03 20:41:30 UTC
Created attachment 1473233 [details]
overcloud.yml

Comment 8 Tony Breeds 2018-08-03 20:41:51 UTC
Created attachment 1473234 [details]
customization.yaml

Comment 9 Tony Breeds 2018-08-03 21:51:39 UTC
Also here's a link to the script I'm using to install under and overclouds:  http://git.engineering.redhat.com/git/users/abreeds/tripleo_shenanigans/tree/automate.sh

Comment 10 Steve Baker 2018-08-06 04:07:59 UTC
/home/stack/templates/overcloud.yaml is a template, not an environment file, so it should be the last positional argument, and not invoked with the -e flag.

Comment 11 Steve Baker 2018-08-06 04:14:30 UTC
Actually you shouldn't be specifying overcloud.yaml at all. If you're doing something weird like wanting your top-level template to be something other than the one that gets rendered from overcloud.j2.yaml then ping me on IRC.

Comment 12 Tony Breeds 2018-08-06 04:15:14 UTC
Thanks Steve 'overcloud.yaml' shoudl have been 'overcloud_images.yaml'

So using :

+ openstack overcloud deploy --templates /home/stack/templates -r /home/stack/templates/roles_data.yaml --disable-validations --libvirt-type kvm --ntp-server clock01.util.phx2.redhat.com -e /home/stack/templates/node-info.yaml -e /home/stack/templates/overcloud_images.yaml -e /home/stack/templates/customization.yaml
Removing the current plan files

Fixed my "problem"  #pebkac


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