Scenario008 is broken in check . Deployment fails for missing ContainerCli parameter in role_data

Bug #1819449 reported by Gabriele Cerami on 2019-03-11
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
High
Emilien Macchi

Bug Description

logs at

http://logs.openstack.org/74/642374/1/check/tripleo-ci-centos-7-scenario008-multinode-oooq-container/cd77ab2/logs/undercloud/home/zuul/overcloud_deploy.log.txt.gz#_2019-03-11_09_24_03

show that deployment for the overcloud in that multinode scenario fails with

2019-03-11 09:24:03 | Exception occured while running the command
2019-03-11 09:24:03 | Traceback (most recent call last):
2019-03-11 09:24:03 | File "/usr/lib/python2.7/site-packages/tripleoclient/command.py", line 29, in run
2019-03-11 09:24:03 | super(Command, self).run(parsed_args)
2019-03-11 09:24:03 | File "/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run
2019-03-11 09:24:03 | return super(Command, self).run(parsed_args)
2019-03-11 09:24:03 | File "/usr/lib/python2.7/site-packages/cliff/command.py", line 184, in run
2019-03-11 09:24:03 | return_code = self.take_action(parsed_args) or 0
2019-03-11 09:24:03 | File "/usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_deploy.py", line 910, in take_action
2019-03-11 09:24:03 | self._deploy_tripleo_heat_templates_tmpdir(stack, parsed_args)
2019-03-11 09:24:03 | File "/usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_deploy.py", line 365, in _deploy_tripleo_heat_templates_tmpdir
2019-03-11 09:24:03 | new_tht_root, tht_root)
2019-03-11 09:24:03 | File "/usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_deploy.py", line 468, in _deploy_tripleo_heat_templates
2019-03-11 09:24:03 | deployment_options=deployment_options)
2019-03-11 09:24:03 | File "/usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_deploy.py", line 485, in _try_overcloud_deploy_with_compat_yaml
2019-03-11 09:24:03 | deployment_options=deployment_options)
2019-03-11 09:24:03 | File "/usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_deploy.py", line 238, in _heat_deploy
2019-03-11 09:24:03 | deployment_options=deployment_options)
2019-03-11 09:24:03 | File "/usr/lib/python2.7/site-packages/tripleoclient/workflows/deployment.py", line 108, in deploy_and_wait
2019-03-11 09:24:03 | raise exceptions.DeploymentError("Heat Stack create failed.")
2019-03-11 09:24:03 | DeploymentError: Heat Stack create failed.
2019-03-11 09:24:03 | Exception occured while running the command
2019-03-11 09:24:03 | Traceback (most recent call last):
2019-03-11 09:24:03 | File "/usr/lib/python2.7/site-packages/tripleoclient/command.py", line 29, in run
2019-03-11 09:24:03 | super(Command, self).run(parsed_args)
2019-03-11 09:24:03 | File "/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run
2019-03-11 09:24:03 | return super(Command, self).run(parsed_args)
2019-03-11 09:24:03 | File "/usr/lib/python2.7/site-packages/cliff/command.py", line 184, in run
2019-03-11 09:24:03 | return_code = self.take_action(parsed_args) or 0
2019-03-11 09:24:03 | File "/usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_deploy.py", line 910, in take_action
2019-03-11 09:24:03 | self._deploy_tripleo_heat_templates_tmpdir(stack, parsed_args)
2019-03-11 09:24:03 | File "/usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_deploy.py", line 365, in _deploy_tripleo_heat_templates_tmpdir
2019-03-11 09:24:03 | new_tht_root, tht_root)
2019-03-11 09:24:03 | File "/usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_deploy.py", line 468, in _deploy_tripleo_heat_templates
2019-03-11 09:24:03 | deployment_options=deployment_options)
2019-03-11 09:24:03 | File "/usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_deploy.py", line 485, in _try_overcloud_deploy_with_compat_yaml
2019-03-11 09:24:03 | deployment_options=deployment_options)
2019-03-11 09:24:03 | File "/usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_deploy.py", line 238, in _heat_deploy
2019-03-11 09:24:03 | deployment_options=deployment_options)
2019-03-11 09:24:03 | File "/usr/lib/python2.7/site-packages/tripleoclient/workflows/deployment.py", line 108, in deploy_and_wait
2019-03-11 09:24:03 | raise exceptions.DeploymentError("Heat Stack create failed.")
2019-03-11 09:24:03 | DeploymentError: Heat Stack create failed.

Looking at the failed deployment reason collection in

http://logs.openstack.org/74/642374/1/check/tripleo-ci-centos-7-scenario008-multinode-oooq-container/cd77ab2/logs/undercloud/home/zuul/failed_deployment_list.log.txt.gz

we see

overcloud.ControllerServiceChain:
  resource_type: OS::TripleO::Services
  physical_resource_id: 01458d75-7469-4cbc-8b9f-324964844060
  status: CREATE_FAILED
  status_reason: |
    resources.ControllerServiceChain: Error in 26 output role_data: The Parameter (ContainerCli) was not provided.

Tags: ci Edit Tag help

Fix proposed to branch: master
Review: https://review.openstack.org/642436

Changed in tripleo:
assignee: Gabriele Cerami (gcerami) → Emilien Macchi (emilienm)
status: Triaged → In Progress

Reviewed: https://review.openstack.org/642436
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=c180847b8eb0d1e942b9201b94317aab37834139
Submitter: Zuul
Branch: master

commit c180847b8eb0d1e942b9201b94317aab37834139
Author: Emilien Macchi <email address hidden>
Date: Mon Mar 11 08:31:59 2019 -0400

    Make sure ContainerCli is set to the stack

    ContainerCli has been used everwhere now to differentiate a deployment
    on Docker and on Podman. The parameter needs to be in the stack anyway,
    so let's have it in overcloud-resource-registry-puppet.

    Note: default to Podman, except when Pacemaker is deployed where we
    don't support Podman yet on CentOS7. It will change with CentOS8.

    Change-Id: I02aa484cabfb851f80ddd90ddefdfe2d5cfbb573
    Closes-Bug: #1819449

Changed in tripleo:
status: In Progress → Fix Released

This issue was fixed in the openstack/tripleo-heat-templates 10.5.0 release.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers