Bug 2017520

Summary: Failed to build overcloud images
Product: [Community] RDO Reporter: Daryll Strauss <daryll.strauss>
Component: openstack-tripleoAssignee: OSP Team <rhos-maint>
Status: CLOSED UPSTREAM QA Contact: Shai Revivo <srevivo>
Severity: high Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: itailev
Target Milestone: ---   
Target Release: trunk   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-10 04:00:49 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:
Attachments:
Description Flags
Logs for 01-package-installs section of the image build none

Description Daryll Strauss 2021-10-26 17:48:18 UTC
Created attachment 1837311 [details]
Logs for 01-package-installs section of the image build

Description of problem:

Following https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/deployment/install_overcloud.html an error is generated while building the overcloud images due to pacemaker-remote not being able to find pacemaker-libs dependency.

Version-Release number of selected component (if applicable):
Triple O Wallaby current on Centos-8-Stream

How reproducible: Every time


Steps to Reproduce:
1. export OS_YAML="/usr/share/openstack-tripleo-common/image-yaml/overcloud-images-centos8.yaml"
2. export DIB_YUM_REPO_CONF="/etc/yum.repos.d/delorean* /etc/yum.repos.d/tripleo-centos-*"
3. export STABLE_RELEASE="wallaby"
4. openstack overcloud image build --config-file /usr/share/openstack-tripleo-common/image-yaml/overcloud-images-python3.yaml --config-file $OS_YAML


Actual results:
2021-10-25 19:57:59.628 | Error: 
2021-10-25 19:57:59.628 |  Problem: cannot install the best candidate for the job
2021-10-25 19:57:59.628 |   - nothing provides pacemaker-libs(x86-64) = 2.1.0-8.el8 needed by pacemaker-remote-2.1.0-8
.el8.x86_64
2021-10-25 19:57:59.628 | (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only bes
t candidate packages)

Expected results:
Build should have continued and generated images

Additional info:

Comment 1 Itai Levy 2022-01-03 11:58:46 UTC
Hi, 

I experience the same issue, while working on Wallaby installtion per instructions in https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/deployment/install_overcloud.html#get-images.

There are few issues here:
1. the tripleo documentation is not referring to building centos8-stream overcloud images only to centos8 (this is what happened to Daryll, he was actually trying to build centos8 overcloud image over centos8-stream Undercloud). In order to build centos8-stream overcloud image we need to use "export DIB_RELEASE=8-stream" and this has to be documented in tripleO docs.
2. Even when you do it, the build process will break during installtion attempt of ceph-adm pkg. this is due to missing ceph Octopus repository as described in https://review.opendev.org/c/openstack/tripleo-quickstart/+/768599, https://review.opendev.org/c/openstack/tripleo-repos/+/766683 
I would expect tripleO wallaby release will include the fix already however apperatnly its not.

I manually installed the Octopus repo on the undercloud and passed the repo in DIB_YUM_REPO_CONF in order to workaround the issue and complete the build.

Itai

Comment 2 Red Hat Bugzilla 2025-02-10 04:00:49 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.