fial

Bug #1536999 reported by Derek Higgins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
diskimage-builder
Fix Released
Critical
Unassigned

Bug Description

Tripleo ci has been failing since yesterday afternoon (UTC), with the following error

2016-01-22 08:34:15.018 | + echo dib-run-parts Fri Jan 22 08:34:14 UTC 2016 00-setenforce-0 completed
2016-01-22 08:34:15.018 | dib-run-parts Fri Jan 22 08:34:14 UTC 2016 00-setenforce-0 completed
2016-01-22 08:34:15.018 | + for target in '$targets'
2016-01-22 08:34:15.018 | + output 'Running /tmp/tmpz1wpDr/pre-install.d/01-dib-python'
2016-01-22 08:34:15.018 | ++ date
2016-01-22 08:34:15.019 | + echo dib-run-parts Fri Jan 22 08:34:14 UTC 2016 Running /tmp/tmpz1wpDr/pre-install.d/01-dib-python
2016-01-22 08:34:15.020 | dib-run-parts Fri Jan 22 08:34:14 UTC 2016 Running /tmp/tmpz1wpDr/pre-install.d/01-dib-python
2016-01-22 08:34:15.020 | + target_tag=01-dib-python
2016-01-22 08:34:15.020 | + date +%s.%N
2016-01-22 08:34:15.020 | + /tmp/tmpz1wpDr/pre-install.d/01-dib-python
2016-01-22 08:34:15.024 | Traceback (most recent call last):
2016-01-22 08:34:15.024 | File "<string>", line 1, in <module>
2016-01-22 08:34:15.030 | File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 744, in install
2016-01-22 08:34:15.030 | _run_instack(instack_env)
2016-01-22 08:34:15.030 | File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 636, in _run_instack
2016-01-22 08:34:15.031 | _run_live_command(args, instack_env, 'instack')
2016-01-22 08:34:15.031 | File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 341, in _run_live_command
2016-01-22 08:34:15.031 | line = process.stdout.readline().decode()
2016-01-22 08:34:15.031 | UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 35: ordinal not in range(128)
2016-01-22 08:34:15.046 | Command 'instack-install-undercloud' returned non-zero exit status 1
2016-01-22 08:34:15.112 | + postci

Tags: ci
Revision history for this message
Derek Higgins (derekh) wrote :

On Jan 19th this patch got merged into diskimage-builder
https://review.openstack.org/#/c/254386/9

This failed tripleo CI and probably shouldn't have been merged. The reason it failed CI is because it introduced a new shebang at the top of a python script
#!/usr/local/bin/dib-python
When delorean tried to build the package, rpm autorequires[1] couldn't find a package the satisfied the requirement(there is no such package), the requirement is met when DIB is run.

Once this was merged delorean could no longer build diskimage-builder from this point on all tripleo-ci runs for diskimage-builder failed (delorean couldn't build the package)

On Jan 21st the RDO community merged an update to their packaging (as they noticed dib was unable to build),
https://review.gerrithub.io/#/c/260429/3
This filtered out the autorequires so it wasn't search for during the rpm build

Now the package can be built but instack is still failing as DIB is run twice, the symlink being created in 01-dib-python already exists the second time.

[1] https://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering

Revision history for this message
Derek Higgins (derekh) wrote :
Revision history for this message
Derek Higgins (derekh) wrote :

Bens fix has merged but due to a problem with delorean (not sure what), it hasn't made it into a trunk repository yet. apevec is looking into it.

xion (xionchen)
Changed in diskimage-builder:
status: Triaged → Fix Committed
Changed in diskimage-builder:
status: Fix Committed → Fix Released
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.