dib-run-parts fails with /tmp/tmpkGJoNl/pre-install.d/05-rpm-epel-release: line 9: DISTRO_NAME: unbound variable

Bug #1765123 reported by wes hayutin on 2018-04-18
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
tripleo
Critical
Gabriele Cerami

Bug Description

Causing gate failures:

http://logs.openstack.org/69/549969/5/gate/tripleo-ci-centos-7-containers-multinode/b91a791/logs/undercloud/home/zuul/undercloud_install.log.txt.gz#_2018-04-18_14_32_12

2018-04-18 14:32:12 | 2018-04-18 14:32:12,042 INFO: ++ export DIB_MANIFEST_SAVE_DIR=instack.d/
2018-04-18 14:32:12 | 2018-04-18 14:32:12,042 INFO: ++ DIB_MANIFEST_SAVE_DIR=instack.d/
2018-04-18 14:32:12 | 2018-04-18 14:32:12,042 INFO: + set +o xtrace
2018-04-18 14:32:12 | 2018-04-18 14:32:12,043 INFO: dib-run-parts Running /tmp/tmpkGJoNl/pre-install.d/05-rpm-epel-release
2018-04-18 14:32:12 | 2018-04-18 14:32:12,046 INFO: /tmp/tmpkGJoNl/pre-install.d/05-rpm-epel-release: line 9: DISTRO_NAME: unbound variable
2018-04-18 14:32:12 | 2018-04-18 14:32:12,048 INFO: INFO: 2018-04-18 14:32:12,047 -- ############### End stdout/stderr logging ###############
2018-04-18 14:32:12 | 2018-04-18 14:32:12,049 INFO: ERROR: 2018-04-18 14:32:12,047 -- Hook FAILED.
2018-04-18 14:32:12 | 2018-04-18 14:32:12,050 INFO: ERROR: 2018-04-18 14:32:12,047 -- Failed running command ['/usr/lib/python2.7/site-packages/diskimage_builder/lib/dib-run-parts', u'/tmp/tmpkGJoNl/pre-install.d']
2018-04-18 14:32:12 | 2018-04-18 14:32:12,051 INFO: File "/usr/lib/python2.7/site-packages/instack/main.py", line 170, in main
2018-04-18 14:32:12 | 2018-04-18 14:32:12,052 INFO: em.run()
2018-04-18 14:32:12 | 2018-04-18 14:32:12,053 INFO: File "/usr/lib/python2.7/site-packages/instack/runner.py", line 108, in run
2018-04-18 14:32:12 | 2018-04-18 14:32:12,054 INFO: self.run_hook(hook)
2018-04-18 14:32:12 | 2018-04-18 14:32:12,056 INFO: File "/usr/lib/python2.7/site-packages/instack/runner.py", line 207, in run_hook
2018-04-18 14:32:12 | 2018-04-18 14:32:12,057 INFO: raise Exception("Failed running command %s" % command)
2018-04-18 14:32:12 | 2018-04-18 14:32:12,057 INFO: ERROR: 2018-04-18 14:32:12,048 -- None
2018-04-18 14:32:12 | 2018-04-18 14:32:12,066 DEBUG: An exception occurred

Potential fix here:
https://review.openstack.org/#/c/562325/

Gates proposed here:
https://review.openstack.org/#/c/562328/1

wes hayutin (weshayutin) wrote :

Do not automatically pull in the latest DIB content from DLRN current
https://review.openstack.org/#/c/562333/

Reviewed: https://review.openstack.org/562334
Committed: https://git.openstack.org/cgit/openstack/tripleo-repos/commit/?id=ef4e12ed59760e5181a8dea27dca5cc3ff61c60c
Submitter: Zuul
Branch: master

commit ef4e12ed59760e5181a8dea27dca5cc3ff61c60c
Author: Alex Schultz <email address hidden>
Date: Wed Apr 18 10:24:27 2018 -0600

    Use promotion process for diskimage-builder

    diskimage-builder is no longer under the tripleo umbrella so we should
    use the package from the tested repo instead of current.

    Change-Id: Iad38eabb8380a9cf72d8690dd3f54775dec3b88f
    Related-Bug: #1765123

Reviewed: https://review.openstack.org/562333
Committed: https://git.openstack.org/cgit/openstack/tripleo-quickstart/commit/?id=c826b1c2115b32e63aff2d9ea287df28f58124bb
Submitter: Zuul
Branch: master

commit c826b1c2115b32e63aff2d9ea287df28f58124bb
Author: Alex Schultz <email address hidden>
Date: Wed Apr 18 10:20:42 2018 -0600

    Use promotion process for diskimage-builder

    Since diskimage-builder is no longer under the tripleo umbrella, it's
    time to use it from the promotion process rather than from current.

    Related-Bug: #1765123
    Change-Id: I7422a75cb7d2dc5bccc289c9da0bfb3b4529a725

wes hayutin (weshayutin) on 2018-04-18
Changed in tripleo:
status: Triaged → Fix Released
Changed in tripleo:
assignee: nobody → Gabriele Cerami (gcerami)
Changed in tripleo:
status: Fix Released → In Progress
Changed in tripleo:
milestone: rocky-1 → rocky-2
Changed in tripleo:
status: In Progress → Fix Released
status: Fix Released → Fix Committed
Changed in tripleo:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers