RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 2017520 - Failed to build overcloud images
Summary: Failed to build overcloud images
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: RDO
Classification: Community
Component: openstack-tripleo
Version: unspecified
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
: trunk
Assignee: OSP Team
QA Contact: Shai Revivo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-26 17:48 UTC by Daryll Strauss
Modified: 2025-02-10 04:00 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-02-10 04:00:49 UTC
Embargoed:


Attachments (Terms of Use)
Logs for 01-package-installs section of the image build (11.16 KB, text/plain)
2021-10-26 17:48 UTC, Daryll Strauss
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.