0

Here is the command which is failing for disk-image-create command:

disk-image-create -a amd64 -o ./overcloud-full -t qcow2 -p python-psutil,python-debtcollector,sos,device-mapper-multipath,openstack-heat-agents,os-net-config,jq,dbus-python,yum-plugin-priorities --min-tmpfs=7 --mkfs-options -s size=4096 centos7 baremetal dhcp-all-interfaces openvswitch overcloud-agent overcloud-base overcloud-controller overcloud-compute overcloud-ceph-storage puppet-modules stable-interface-names grub2 element-manifest dynamic-login iptables enable-packages-install override-pip-and-virtualenv dracut-regenerate remove-machine-id remove-resolvconf openssh disable-nouveau selinux-permissive

Command Output:

2021-06-28 09:27:01.118 | Traceback (most recent call last):
2021-06-28 09:27:01.118 |   File "/bin/element-info", line 10, in <module>
2021-06-28 09:27:01.118 |     sys.exit(main())
2021-06-28 09:27:01.118 |   File "/usr/lib/python2.7/site-packages/diskimage_builder/element_dependencies.py", line 343, in main
2021-06-28 09:27:01.118 |     elements = _get_elements(args.elements)
2021-06-28 09:27:01.118 |   File "/usr/lib/python2.7/site-packages/diskimage_builder/element_dependencies.py", line 254, in _get_elements
2021-06-28 09:27:01.118 |     return _expand_element_dependencies(elements, all_elements)
2021-06-28 09:27:01.118 |   File "/usr/lib/python2.7/site-packages/diskimage_builder/element_dependencies.py", line 149, in _expand_element_dependencies
2021-06-28 09:27:01.118 |     raise MissingElementException("Element '%s' not found" % element)
2021-06-28 09:27:01.118 | diskimage_builder.element_dependencies.MissingElementException: Element 'size=4096' not found

OS: Centos 7

Pkg Installed via: pip install diskimage-builder

Pkg Version: 3.12.0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.