Build rockylinux baremetal image error

Bug #1981800 reported by 李学海
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
diskimage-builder
In Progress
Undecided
李学海

Bug Description

disk-image-create -a amd64 -o ironic-rocky -t qcow2 baremetal docker package-installs redhat-common rpm-distro yum
2022-07-15 07:18:04.168 | diskimage-builder version 3.22.0
2022-07-15 07:18:04.170 | Building elements: base devuser cloud-init cloud-init-datasources baremetal rocky-container dhcp-all-interfaces disable-selinux disable-update-host
name dynamic-login element-manifest grub2 use-predictable-interface-name manifests openssh openssh-server rpm-distro stable-interface-names sysprep
2022-07-15 07:18:04.276 | Traceback (most recent call last):
2022-07-15 07:18:04.276 | File "/root/lxh/rocky/lib/python3.6/site-packages/diskimage_builder/lib/element-info.py", line 7, in <module>
2022-07-15 07:18:04.276 | sys.exit(main())
2022-07-15 07:18:04.276 | File "/root/lxh/rocky/lib/python3.6/site-packages/diskimage_builder/element_dependencies.py", line 343, in main
2022-07-15 07:18:04.276 | elements = _get_elements(args.elements)
2022-07-15 07:18:04.276 | File "/root/lxh/rocky/lib/python3.6/site-packages/diskimage_builder/element_dependencies.py", line 254, in _get_elements
2022-07-15 07:18:04.276 | return _expand_element_dependencies(elements, all_elements)
2022-07-15 07:18:04.276 | File "/root/lxh/rocky/lib/python3.6/site-packages/diskimage_builder/element_dependencies.py", line 149, in _expand_element_dependencies
2022-07-15 07:18:04.276 | raise MissingElementException("Element '%s' not found" % element)
2022-07-15 07:18:04.276 | diskimage_builder.element_dependencies.MissingElementException: Element 'block-device' not found

------------------------------------------------------------------
2022-07-14 15:50:45.874 | ++ export DIB_INIT_SYSTEM=systemd
2022-07-14 15:50:45.874 | ++ DIB_INIT_SYSTEM=systemd
2022-07-14 15:50:45.874 | dib-run-parts Sourcing environment file /tmp/dib_build.eCtUQ9nn/hooks/cleanup.d/../environment.d/99-dib-init-system
2022-07-14 15:50:45.876 | + source /tmp/dib_build.eCtUQ9nn/hooks/cleanup.d/../environment.d/99-dib-init-system
2022-07-14 15:50:45.876 | ++ '[' -z systemd ']'
2022-07-14 15:50:45.877 | ++ case $DIB_INIT_SYSTEM in
2022-07-14 15:50:45.877 | dib-run-parts Running /tmp/dib_build.eCtUQ9nn/hooks/cleanup.d/01-copy-manifests-dir
2022-07-14 15:50:45.892 | 1+1 records in
2022-07-14 15:50:45.892 | 1+1 records out
2022-07-14 15:50:45.892 | 516 bytes (516 B) copied, 9.1877e-05 s, 5.6 MB/s
2022-07-14 15:50:45.905 | 0+1 records in
2022-07-14 15:50:45.905 | 0+1 records out
2022-07-14 15:50:45.905 | 71 bytes (71 B) copied, 7.2431e-05 s, 980 kB/s
2022-07-14 15:50:45.909 | '/tmp/dib_build.eCtUQ9nn/mnt//etc/dib-manifests/dib_environment' -> 'ironic-rocky.d/dib-manifests/dib_environment'
2022-07-14 15:50:45.909 | '/tmp/dib_build.eCtUQ9nn/mnt//etc/dib-manifests/dib_arguments' -> 'ironic-rocky.d/dib-manifests/dib_arguments'
2022-07-14 15:50:45.939 | dib-run-parts 01-copy-manifests-dir completed
2022-07-14 15:50:45.939 | dib-run-parts Running /tmp/dib_build.eCtUQ9nn/hooks/cleanup.d/99-extract-kernel-and-ramdisk
2022-07-14 15:50:45.946 | ls: cannot access /tmp/dib_build.eCtUQ9nn/mnt/boot/vmlinuz*: No such file or directory
2022-07-14 15:50:45.948 | ls: cannot access /tmp/dib_build.eCtUQ9nn/mnt/boot/vmlinuz*: No such file or directory
2022-07-14 15:50:45.949 | No suitable kernel found.

李学海 (lixuehai)
Changed in diskimage-builder:
assignee: nobody → 李学海 (lixuehai)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to diskimage-builder (master)
Changed in diskimage-builder:
status: New → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.