[rdo-users] Error building overcloud images

wodel youchi wodel.youchi at gmail.com
Wed Jun 2 15:05:17 UTC 2021


Hello,

I gave up on building the images, I downloaded them, then I uploaded them
into openstack, the operation seemed to work but "openstack image list"
does not return anything.

[stack at underooo ~]$ ll images/
total 4454988
-rw-r--r--. 1 stack stack  402231551 31 May 20:12
ironic-python-agent.initramfs
-rwxr-xr-x. 1 stack stack   10030216 31 May 20:12 ironic-python-agent.kernel
-rw-r--r--. 1 stack stack   69477395 20 May 01:53 overcloud-full.initrd
-rw-r--r--. 1 stack stack 1218966528 20 May 01:57 overcloud-full.qcow2
-rw-r--r--. 1 root  root  4875288576 31 May 23:24 overcloud-full.raw
-rwxr-xr-x. 1 stack stack   10030216 20 May 01:53 overcloud-full.vmlinuz

(undercloud) [stack at underooo ~]$ openstack image upload --image-path
/home/stack/images/
(undercloud) [stack at underooo ~]$ openstack imagelist
*public endpoint for image service not found*
<----------------------------------------------------------- ??


despite
(undercloud) [stack at underooo ~]$ ll /var/lib/ironic/images/
total 4074704
-rw-r--r--. 1 42422 42422   69477395 31 May 23:24 overcloud-full.initrd
-rw-r--r--. 1 42422 42422 4875288576 31 May 23:25 overcloud-full.raw
-rwxr-xr-x. 1 42422 42422   10030216 31 May 23:24 overcloud-full.vmlinuz

Is this correct.

Regards.

Le mer. 26 mai 2021 19:35, wodel youchi <wodel.youchi at gmail.com> a écrit :

> 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/20210602/67d34521/attachment-0001.html>


More information about the users mailing list