[TripleO] - Issue Faced in Building Overcloud Images

Anirudh Gupta anyrude10 at gmail.com
Tue Jul 4 09:29:49 UTC 2023


Hi Team,

I am trying to build openstack wallaby images following the below link:

https://docs.openstack.org/project-deploy-guide/tripleo-docs/wallaby/deployment/install_overcloud.html#deploy-the-overcloud

But following the below issue:

2023-07-04 05:20:25.560 | --> Starting dependency resolution
2023-07-04 05:20:25.632 | --> Finished dependency resolution
2023-07-04 05:20:25.636 | Error:
2023-07-04 05:20:25.636 |  Problem: cannot install the best candidate for
the job


*2023-07-04 05:20:25.636 |   - nothing provides pacemaker-libs(x86-64) =
2.1.6-2.el8 needed by pacemaker-remote-2.1.6-2.el8.x86_642023-07-04
05:20:25.636 | (try to add '--skip-broken' to skip uninstallable packages
or '--nobest' to use not only best candidate*2023-07-04 05:20:26.084 |
Unmount /home/stack/image/dib_build.9WnO74VD/mnt/tmp/yum
2023-07-04 05:20:26.111 | Unmount
/home/stack/image/dib_build.9WnO74VD/mnt/tmp/in_target.d
2023-07-04 05:20:26.136 | Unmount
/home/stack/image/dib_build.9WnO74VD/mnt/sys
2023-07-04 05:20:26.161 | Unmount
/home/stack/image/dib_build.9WnO74VD/mnt/proc
2023-07-04 05:20:26.191 | Unmount
/home/stack/image/dib_build.9WnO74VD/mnt/dev/pts
2023-07-04 05:20:26.221 | Unmount
/home/stack/image/dib_build.9WnO74VD/mnt/dev
2023-07-04 05:20:26.843 | INFO diskimage_builder.block_device.blockdevice
[-] State already cleaned - no way to do anything here
Exception occured while running the command
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/tripleoclient/command.py", line
34, in run
    super(Command, self).run(parsed_args)
  File "/usr/lib/python3.6/site-packages/osc_lib/command/command.py", line
39, in run
    return super(Command, self).run(parsed_args)
  File "/usr/lib/python3.6/site-packages/cliff/command.py", line 185, in run
    return_code = self.take_action(parsed_args) or 0
  File
"/usr/lib/python3.6/site-packages/tripleoclient/v1/overcloud_image.py",
line 120, in take_action
    manager.build()
  File "/usr/lib/python3.6/site-packages/tripleo_common/image/build.py",
line 85, in build
    elements, options, packages, extra_options)
  File
"/usr/lib/python3.6/site-packages/tripleo_common/image/image_builder.py",
line 140, in build_image
    raise subprocess.CalledProcessError(process.returncode, cmd)
subprocess.CalledProcessError: Command '['disk-image-create', '-a',
'amd64', '-o', './overcloud-full', '-t', 'qcow2', '-p',
'pythoollector,sos,device-mapper-multipath,openstack-heat-agents,os-net-config,jq,python3-dbus',
'--min-tmpfs=7', '--mkfs-options', '-s baremetal', 'openvswitch',
'overcloud-agent', 'overcloud-base', 'overcloud-controller',
'overcloud-compute', 'overcloud-ceph-stora'stable-interface-names',
'grub2', 'element-manifest', 'dynamic-login', 'iptables',
'enable-packages-install', 'override-pip-and-venerate',
'remove-machine-id', 'remove-resolvconf', 'openssh', 'disable-nouveau',
'selinux-permissive', 'interface-names']' return 1.


I can see the same issue reported in bugzilla

https://bugzilla.redhat.com/show_bug.cgi?id=2017520
https://www.mail-archive.com/users@lists.rdoproject.org/msg01009.html

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

The same issue is being observed in "XENA" release as well.

Can someone please help

Regards
Anirudh Gupta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.openstack.org/pipermail/openstack-discuss/attachments/20230704/c498ba23/attachment.htm>


More information about the openstack-discuss mailing list