Bug 2250940
Summary: | [FFU][DCN] OSP upgrade of a DCN stack with etcd (Cinder A/A) fail on inability to fetch etcd image | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Marian Krcmarik <mkrcmari> |
Component: | openstack-tripleo-heat-templates | Assignee: | Lukas Bezdicka <lbezdick> |
Status: | CLOSED ERRATA | QA Contact: | Marian Krcmarik <mkrcmari> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 17.1 (Wallaby) | CC: | abishop, adrbrown, gcharot, gcheresh, jbadiapa, johfulto, jslagle, lbezdick, lsvaty, mariel, mburns, pnavarro, prgutier, ramishra, shrjoshi |
Target Milestone: | z3 | Keywords: | Triaged |
Target Release: | 17.1 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | openstack-tripleo-heat-templates-14.3.1-17.1.20231103010828.el9ost | Doc Type: | No Doc Update |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2024-05-22 20:42:25 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: | 1997638 |
Description
Marian Krcmarik
2023-11-21 21:31:46 UTC
I'd need to see the upgrade prepare and upgrade run (which you've now provided), and all the custom templates and files passed to those commands. I'm thinking the issue is due to the OS::TripleO::Services::ContainerImagePrepare service being only on the Controller role, so when the commands are run for the dcn stacks, it does not re-run ContainerImagePrepare. We may need to add that service to dcn roles, or document which container image prepare command to run manually. (In reply to James Slagle from comment #4) > I'm thinking the issue is due to the > OS::TripleO::Services::ContainerImagePrepare service being only on the > Controller role, so when the commands are run for the dcn stacks, it does > not re-run ContainerImagePrepare. We may need to add that service to dcn I can test that - manually adding the service to my dcn roles and rerun the job If That's helpful? > roles, or document which container image prepare command to run manually. (In reply to Marian Krcmarik from comment #5) > (In reply to James Slagle from comment #4) > > I'm thinking the issue is due to the > > OS::TripleO::Services::ContainerImagePrepare service being only on the > > Controller role, so when the commands are run for the dcn stacks, it does > > not re-run ContainerImagePrepare. We may need to add that service to dcn > I can test that - manually adding the service to my dcn roles and rerun the > job If That's helpful? > > roles, or document which container image prepare command to run manually. Yes, that's worth trying. I'm not sure if it will remove unmanaged images though. Can you check if the other service images (such as nova-api) are still in the undercloud image-serve, that would be helpful. (In reply to James Slagle from comment #6) > Yes, that's worth trying. I'm not sure if it will remove unmanaged images > though. Can you check if the other service images (such as nova-api) are > still in the undercloud image-serve, that would be helpful. Adding the OS::TripleO::Services::ContainerImagePrepare service manually into roles did solve the problem and the etcd image got successfully fetched during the upgrade and It seems other images which are not needed for any service on the DCN site are still present in the undercloud image server, I can see i.e. openstack-nova-api image there and I can pull it. So I let you decide which way we want to fix this. 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 (Moderate: openstack-tripleo-heat-templates and tripleo-ansible update), 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/RHSA-2024:2736 |