Property DockerCinderConfigImage not assigned

Bug #1787268 reported by wes hayutin
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Steve Baker

Bug Description

2018-08-15 18:58:12 | Heat Stack create failed.
2018-08-15 18:58:12 | Heat Stack create failed.
2018-08-15 18:58:12 | END return value: 1
2018-08-15 18:58:12 | ETE state changed
2018-08-15 18:58:12 | 2018-08-15 18:57:52Z [overcloud.ControllerServiceChain.UpgradeBatchTasks]: CREATE_IN_PROGRESS state changed
2018-08-15 18:58:12 | 2018-08-15 18:57:52Z [overcloud.ControllerServiceChain.UpgradeBatchTasks]: CREATE_COMPLETE state changed
2018-08-15 18:58:12 | 2018-08-15 18:57:52Z [overcloud.ControllerServiceChain.ServiceConfigSettings]: CREATE_IN_PROGRESS state changed
2018-08-15 18:58:12 | 2018-08-15 18:57:52Z [overcloud.ControllerServiceChain.ServiceServerMetadataHook]: CREATE_IN_PROGRESS state changed
2018-08-15 18:58:12 | 2018-08-15 18:57:52Z [overcloud.ControllerServiceChain.ServiceServerMetadataHook]: CREATE_COMPLETE state changed
2018-08-15 18:58:12 | 2018-08-15 18:57:53Z [overcloud.ControllerServiceChain.ServiceConfigSettings]: CREATE_COMPLETE state changed
2018-08-15 18:58:12 | 2018-08-15 18:57:53Z [overcloud.ControllerServiceChain.ExternalUpgradeTasks]: CREATE_IN_PROGRESS state changed
2018-08-15 18:58:12 | 2018-08-15 18:57:53Z [overcloud.ControllerServiceChain.ExternalUpgradeTasks]: CREATE_COMPLETE state changed
2018-08-15 18:58:12 | 2018-08-15 18:57:53Z [overcloud.ControllerServiceChain]: CREATE_COMPLETE Stack CREATE completed successfully
2018-08-15 18:58:12 | 2018-08-15 18:57:54Z [overcloud.ControllerServiceChain]: CREATE_COMPLETE state changed
2018-08-15 18:58:12 |
2018-08-15 18:58:12 | Stack overcloud/2f5422c6-8abb-48fd-8689-ba48c2fed035 CREATE_FAILED
2018-08-15 18:58:12 |
2018-08-15 18:58:12 | overcloud.BlockStorageServiceChain.ServiceChain:
2018-08-15 18:58:12 | resource_type: OS::Heat::ResourceChain
2018-08-15 18:58:12 | physical_resource_id:
2018-08-15 18:58:12 | status: CREATE_FAILED
2018-08-15 18:58:12 | status_reason: |
2018-08-15 18:58:12 | resources.ServiceChain: Property error: resources[2].properties: Property DockerCinderConfigImage not assigned
2018-08-15 18:58:12 | + status_code=1
2018-08-15 18:58:12 | + openstack stack list
2018-08-15 18:58:12 | + grep -q overcloud

http://logs.openstack.org/46/592146/2/check/tripleo-ci-centos-7-scenario007-multinode-oooq-container/d5e6d26/logs/undercloud/home/zuul/overcloud_deploy.log.txt.gz#_2018-08-15_18_58_12

Tags: alert ci
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

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

Changed in tripleo:
assignee: nobody → wes hayutin (weshayutin)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-heat-templates (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/592233

Revision history for this message
Steve Baker (steve-stevebaker) wrote :

OK I see a problem.

This action[1] ensures there is a default value set for *every* image parameter, and renders that to a plan file environments/containers-default-parameters.yaml.

Currently environments/containers-default-parameters.yaml is not populated with any parameters at all. I'll investigate why.

[1] https://github.com/openstack/tripleo-common/blob/master/tripleo_common/actions/container_images.py#L35

Changed in tripleo:
assignee: wes hayutin (weshayutin) → Steve Baker (steve-stevebaker)
Revision history for this message
Steve Baker (steve-stevebaker) wrote :

I've run this code[1] in interactive python sessions, both on the undercloud host and inside a mistral_executor container and it populates the parameters as expected, so I'm still digging

[1] https://github.com/openstack/tripleo-common/blob/master/tripleo_common/actions/container_images.py#L47-L62

Revision history for this message
Steve Baker (steve-stevebaker) wrote :

Ah, the next action PrepareContainerImageParameters is also writing to environments/containers-default-parameters.yaml. I'll make sure it leaves default values for all images parameters

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-common (master)

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

Changed in tripleo:
assignee: Steve Baker (steve-stevebaker) → Juan Antonio Osorio Robles (juan-osorio-robles)
Changed in tripleo:
assignee: Juan Antonio Osorio Robles (juan-osorio-robles) → Steve Baker (steve-stevebaker)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-heat-templates (master)

Change abandoned by wes hayutin (<email address hidden>) on branch: master
Review: https://review.openstack.org/592186

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (master)

Reviewed: https://review.openstack.org/592275
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=8b557554a4e8807d41350d3630ae77132cd3a313
Submitter: Zuul
Branch: master

commit 8b557554a4e8807d41350d3630ae77132cd3a313
Author: Steve Baker <email address hidden>
Date: Thu Aug 16 17:28:53 2018 +1200

    Ensure all image parameters have a default set

    Now that the PrepareContainerImageParameters action is part of the
    deploy workflow, environments/containers-default-parameters.yaml is
    overwritten with a dry-run prepare. The output of this prepare is
    filtered to *only* those images required for deployment.

    However heat requires all image parameters to be populated, regardless
    of whether they're required, so this change will ensure that a value
    is set for all image parameters by sharing the logic from the
    PrepareContainerImageEnv image (which runs during the plan creation
    workflow).

    Change-Id: Ia2f013714dafac91075456576ec421fbddd822ae
    Closes-Bug: #1787268

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-heat-templates (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/593616

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Related fix proposed to branch: master
Review: https://review.openstack.org/596295

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-common 9.3.0

This issue was fixed in the openstack/tripleo-common 9.3.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-heat-templates (master)

Change abandoned by Daniel Alvarez (<email address hidden>) on branch: master
Review: https://review.openstack.org/596295

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by Christian Schwede (<email address hidden>) on branch: master
Review: https://review.opendev.org/593616

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.