Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1653577

Summary: Undercloud installation gets stuck when adding "GnocchiBackend: file" to parameter default in templates
Product: Red Hat OpenStack Reporter: Sasha Smolyak <ssmolyak>
Component: python-tripleoclientAssignee: RHOS Maint <rhos-maint>
Status: CLOSED DUPLICATE QA Contact: Gurenko Alex <agurenko>
Severity: high Docs Contact:
Priority: high    
Version: 14.0 (Rocky)CC: emacchi, hbrock, jslagle, mburns, ssmolyak, therve
Target Milestone: ---Keywords: Triaged, ZStream
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: 2018-12-11 16:48:34 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:
Bug Depends On:    
Bug Blocks: 1640021    
Attachments:
Description Flags
workspace of failed deployment none

Description Sasha Smolyak 2018-11-27 07:33:24 UTC
Created attachment 1508765 [details]
workspace of failed deployment

Description of problem:
Deployment gets stuck during undercloud installation. No errors in log, no timeout, had to manually stop after 3 hours.
From /home/stack/install-undercloud.log:

2018-11-25 11:12:46.031 26263 WARNING tripleoclient.v1.undercloud.InstallUndercloud [  ] Running: sudo openstack tripleo deploy --standalone --standalone-role Undercloud --stack undercloud --local-domain=localdomain --local-ip=192.168.24.1/24 --templates=/usr/share/openstack-tripleo-heat-templates/ --heat-native -e /usr/share/openstack-tripleo-heat-templates/environments/docker.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/undercloud.yaml -e /home/stack/containers-prepare-parameter.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/services/masquerade-networks.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/services/ironic.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/services/ironic-inspector.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/services/mistral.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/services/zaqar-swift-backend.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/services/undercloud-gnocchi.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/services/undercloud-aodh.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/services/undercloud-panko.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/services/undercloud-ceilometer.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/services/tripleo-ui.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/services/tempest.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/services/undercloud-haproxy.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/services/undercloud-keepalived.yaml --public-virtual-ip 192.168.24.2 --control-virtual-ip 192.168.24.3 -e /usr/share/openstack-tripleo-heat-templates/environments/ssl/tls-endpoints-public-ip.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/use-dns-for-vips.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/services/undercloud-haproxy.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/services/undercloud-keepalived.yaml --deployment-user stack --output-dir=/home/stack --cleanup -e /home/stack/tripleo-config-generated-env-files/undercloud_parameters.yaml --hieradata-override=/home/stack/hiera_override.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/tripleo-validations.yaml --log-file=install-undercloud.log -e /usr/share/openstack-tripleo-heat-templates/undercloud-stack-vstate-dropin.yaml


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

How reproducible:
100%

Steps to Reproduce:
1. Try to deploy 3 controllers, 2 computes, 3 cephs using infrared.
2. Add to custom templates: 
custom templates:
    parameter defaults:
        GnocchiBackend: file
3. Try to deploy

Actual results:
Installation gets stuck on Undercloud installation stage

Expected results:
Installation passes

Additional info:
workspace files attached

Comment 1 Thomas Hervé 2018-11-27 16:45:31 UTC
We'd need some logs (mistral mostly) to know what's going on. Do you have the env accessible by any chance?

Comment 2 Sasha Smolyak 2018-12-11 10:10:02 UTC
No, the env is gone. The root of the problem was "parameter defaults" instead of "parameter_defaults" in custom templates yaml - looks like the parser couldn't process it. So it's easily reproducible - just try to deploy with 1 extra parameter and write "parameter defaults" instead of "parameter_defaults.

Comment 3 Thomas Hervé 2018-12-11 16:48:34 UTC

*** This bug has been marked as a duplicate of bug 1655886 ***