Score:0

disk-image-builder create command fails with status 1

in flag

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

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.