[rdo-users] Error building overcloud images

wodel youchi wodel.youchi at gmail.com
Wed May 26 18:35:32 UTC 2021


Hi,

I am using Wallaby.

Using this documentation (
https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/deployment/install_overcloud.html#deploy-the-overcloud),
I am trying to build the overcloud images like this :

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


But I got these errors at the end :

> ...
> *2021-05-26 18:14:45.815 | ERROR:root:overcloud-base has no valid mapping
> for package openssl-perl *
> 2021-05-26 18:14:46.543 | INFO:root:Mapping for overcloud-base : lvm2
> *2021-05-26 18:14:46.554 | ERROR:root:overcloud-base has no valid mapping
> for package lvm2 *
> 2021-05-26 18:14:47.241 | INFO:root:Mapping for overcloud-base : sysstat
> 2021-05-26 18:14:47.933 | INFO:root:Mapping for overcloud-ceph-storage :
> chrony_package
> 2021-05-26 18:14:48.645 | Running install-packages install.
> ....
> ....
>
>
>
> *2021-05-26 18:15:02.588 | Error: 2021-05-26 18:15:02.589 |  Problem:
> conflicting requests 2021-05-26 18:15:02.589 |   - nothing provides
> pacemaker-libs(x86-64) = 2.0.5-9.el8 needed by
> pacemaker-remote-2.0.5-9.el8.x86_64 2021-05-26 18:15:02.592 | (You could
> try using --skip-broken to work around the problem or --nobest to use more
> than the best choice package)*
> 2021-05-26 18:15:11.699 | 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',
> 'python3-psutil,python3-debtcollector,sos,device-mapper-multipat
> h,openstack-heat-agents,os-net-config,jq,python3-dbus', '--min-tmpfs=7',
> '--mkfs-options', '-s size=4096', 'centos', 'baremetal', 'openvswitch',
> 'overcloud-agent', 'overcloud-base', 'overc
> loud-controller', 'overcloud-compute', 'overcloud-ceph-storage',
> 'puppet-modules', 'stable-interface-names', 'grub2', 'element-manifest',
> 'dynamic-login', 'iptables', 'enable-packages-inst
> all', 'override-pip-and-virtualenv', 'dracut-regenerate',
> 'remove-machine-id', 'remove-resolvconf', 'openssh', 'disable-nouveau',
> 'selinux-permissive', 'interface-names']' returned non-zer
> o exit status 1.
> Command '['disk-image-create', '-a', 'amd64', '-o', './overcloud-full',
> '-t', 'qcow2', '-p',
> 'python3-psutil,python3-debtcollector,sos,device-mapper-multipath,openstack-heat-agents,os-net-
>
> config,jq,python3-dbus', '--min-tmpfs=7', '--mkfs-options', '-s
> size=4096', 'centos', 'baremetal', 'openvswitch', 'overcloud-agent',
> 'overcloud-base', 'overcloud-controller', 'overcloud-co
> mpute', 'overcloud-ceph-storage', 'puppet-modules',
> 'stable-interface-names', 'grub2', 'element-manifest', 'dynamic-login',
> 'iptables', 'enable-packages-install', 'override-pip-and-virtual
> env', 'dracut-regenerate', 'remove-machine-id', 'remove-resolvconf',
> 'openssh', 'disable-nouveau', 'selinux-permissive', 'interface-names']'
> returned non-zero exit status 1.
>

What did I miss?

Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rdoproject.org/pipermail/users/attachments/20210526/689b8b17/attachment-0001.html>


More information about the users mailing list