Bug 1607421

Summary: [UPGRADES][14] Multiple services ain't picked up during image generation
Product: Red Hat OpenStack Reporter: Yurii Prokulevych <yprokule>
Component: python-tripleoclientAssignee: Carlos Camacho <ccamacho>
Status: CLOSED ERRATA QA Contact: Yurii Prokulevych <yprokule>
Severity: high Docs Contact:
Priority: high    
Version: 14.0 (Rocky)CC: augol, ccamacho, hbrock, jslagle, jstransk, mburns, mcornea
Target Milestone: betaKeywords: Triaged
Target Release: 14.0 (Rocky)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-tripleoclient-10.5.1-0.20180906012840.5b00837.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-01-11 11:50:46 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:

Description Yurii Prokulevych 2018-07-23 13:34:34 UTC
Description of problem:
-----------------------
Not all services are correctly processed during image generation.
This causes upgrade from 13 to 14 to fail:
...
2018-07-23 11:34:28Z [undercloud.UndercloudServiceChain.LoggingConfiguration]: CREATE_COMPLETE  state changed
2018-07-23 11:34:31Z [undercloud.UndercloudServiceChain.ServiceChain]: CREATE_FAILED  StackValidationFailed: resources.ServiceChain: Property error: resources[33].properties: Property DockerIronicNeutronAgentImage not assigned
2018-07-23 11:34:31Z [undercloud.UndercloudServiceChain]: CREATE_FAILED  Resource CREATE failed: StackValidationFailed: resources.ServiceChain: Property error: ServiceChain.resources[33].properties: Property DockerIronicNeutronAgentImage not assigned
2018-07-23 11:34:32Z [undercloud.UndercloudServiceChain]: CREATE_FAILED  StackValidationFailed: resources.UndercloudServiceChain.resources.ServiceChain: Property error: ServiceChain.resources[33].properties: Property DockerIronicNeutronAgentImage not assigned
2018-07-23 11:34:32Z [undercloud]: CREATE_FAILED  Resource CREATE failed: StackValidationFailed: resources.UndercloudServiceChain.resources.ServiceChain: Property error: ServiceChain.resources[33].properties: Property DockerIronicNeutronAgentImage not assigned

List of missing images:
-----------------------
DockerHAProxyConfigImage
DockerIronicNeutronAgentImage
DockerIronicInspectorImage
DockerRedisImage
DockerZaqarConfigImage
DockerZaqarImage
DockerTripleoUIImage
DockerTripleoUIConfigImage
DockerTempestImage

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
python-tripleoclient-10.2.1-0.20180709114814.e5ce9a8.el7ost.noarch
openstack-tripleo-heat-templates-9.0.0-0.20180710202746.d2994ca.el7ost.noarch

How reproducible:
-----------------
100%


Steps to Reproduce:
-------------------
1. Install RHOS-13
2. Install RHOS-14 repos on uc
3. Generate container images files:
openstack overcloud container image prepare \
--namespace rhos-qe-mirror-tlv.usersys.redhat.com:5000/rhosp14 \
--tag-from-label {version}-{release} \
-e /usr/share/openstack-tripleo-heat-templates/environments/docker.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/undercloud.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.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 \
--roles-file=/usr/share/openstack-tripleo-heat-templates/roles_data_undercloud.yaml \
--output-env-file /home/stack/undercloud-containers.yaml


Expected results:
-----------------
Services are correctly processed

Comment 5 Carlos Camacho 2018-08-27 08:50:12 UTC
Fix proposed: https://review.rdoproject.org/r/#/c/15936/

Comment 10 Yurii Prokulevych 2018-11-02 12:37:38 UTC
Verified with python-tripleoclient-10.6.1-0.20181010222404.8c8f259.el7ost.noarch

Comment 13 errata-xmlrpc 2019-01-11 11:50:46 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/RHEA-2019:0045

Comment 14 Red Hat Bugzilla 2023-09-14 04:31:53 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days