tripleo-buildimage-overcloud-full-centos-7 failing with diskimage_builder.element_dependencies.MissingElementException: Element 'size=4096'' not found

Bug #1757174 reported by Alex Schultz on 2018-03-20
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Critical
Unassigned

Bug Description

http://logs.openstack.org/26/546626/2/gate/tripleo-buildimage-overcloud-full-centos-7/a4ad75f/job-output.txt.gz#_2018-03-20_05_35_54_039272

2018-03-20 05:35:54.039272 | primary | 2018-03-20 05:35:54.038 | Building elements: base size=4096' centos7 baremetal dhcp-all-interfaces overcloud-agent overcloud-full overcloud-controller overcloud-compute overcloud-ceph-storage puppet-modules stable-interface-names grub2 element-manifest dynamic-login iptables enable-packages-install pip-and-virtualenv-override dracut-regenerate remove-machine-id remove-resolvconf selinux-permissive
2018-03-20 05:35:54.159231 | primary | 2018-03-20 05:35:54.158 | Traceback (most recent call last):
2018-03-20 05:35:54.159709 | primary | 2018-03-20 05:35:54.159 | File "/home/zuul/workspace/python-tripleoclient/.tox/venv/bin/element-info", line 11, in <module>
2018-03-20 05:35:54.159869 | primary | 2018-03-20 05:35:54.159 | sys.exit(main())
2018-03-20 05:35:54.160562 | primary | 2018-03-20 05:35:54.159 | File "/home/zuul/workspace/python-tripleoclient/.tox/venv/lib/python2.7/site-packages/diskimage_builder/element_dependencies.py", line 342, in main
2018-03-20 05:35:54.160717 | primary | 2018-03-20 05:35:54.160 | elements = _get_elements(args.elements)
2018-03-20 05:35:54.161376 | primary | 2018-03-20 05:35:54.160 | File "/home/zuul/workspace/python-tripleoclient/.tox/venv/lib/python2.7/site-packages/diskimage_builder/element_dependencies.py", line 253, in _get_elements
2018-03-20 05:35:54.161643 | primary | 2018-03-20 05:35:54.161 | return _expand_element_dependencies(elements, all_elements)
2018-03-20 05:35:54.162326 | primary | 2018-03-20 05:35:54.161 | File "/home/zuul/workspace/python-tripleoclient/.tox/venv/lib/python2.7/site-packages/diskimage_builder/element_dependencies.py", line 148, in _expand_element_dependencies
2018-03-20 05:35:54.162614 | primary | 2018-03-20 05:35:54.162 | raise MissingElementException("Element '%s' not found" % element)
2018-03-20 05:35:54.163108 | primary | 2018-03-20 05:35:54.162 | diskimage_builder.element_dependencies.MissingElementException: Element 'size=4096'' not found
2018-03-20 05:35:54.172364 | primary | Command '['disk-image-create', '-a', 'amd64', '-o', u'./overcloud-full', '-t', u'qcow2', '-p', u'python-psutil,python-debtcollector,plotnetcfg,sos,ntp,device-mapper-multipath,openstack-heat-agents,os-net-config,jq,yum-plugin-priorities', u'--min-tmpfs=7', u'--mkfs-options', u"'-s", u"size=4096'", u'centos7', u'baremetal', u'dhcp-all-interfaces', u'overcloud-agent', u'overcloud-full', u'overcloud-controller', u'overcloud-compute', u'overcloud-ceph-storage', u'puppet-modules', u'stable-interface-names', u'grub2', u'element-manifest', u'dynamic-login', u'iptables', u'enable-packages-install', u'pip-and-virtualenv-override', u'dracut-regenerate', u'remove-machine-id', u'remove-resolvconf', u'selinux-permissive']' returned non-zero exit status 1
2018-03-20 05:35:54.231983 | primary | ERROR: InvocationError: '/home/zuul/workspace/python-tripleoclient/.tox/venv/bin/openstack overcloud image build --image-name overcloud-full --config-file ../tripleo-common/image-yaml/overcloud-images.yaml --config-file ../tripleo-common/image-yaml/overcloud-images-centos7.yaml'

the "--mkfs-options '-s size=4096'" was added back in Feb to https://git.openstack.org/cgit/openstack/tripleo-common/tree/image-yaml/overcloud-images-centos7.yaml#n13 but it's now failing in the build. It appears that the single quotes are no longer being honroed when the string is being tokenized.

Alex Schultz (alex-schultz) wrote :
Changed in tripleo:
importance: High → Critical
tags: added: alert
Ian Wienand (iwienand) wrote :
Marios Andreou (marios-b) wrote :

https://review.openstack.org/#/c/554705/ not sure why it didn't show up here

Arx Cruz (arxcruz) wrote :
Changed in tripleo:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers