gentoo builds timing out: sudo not found

Bug #1766484 reported by Ian Wienand
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
diskimage-builder
New
Undecided
Matthew Thode

Bug Description

Gentoo builds appear to be failing with

---
2018-04-23 19:42:57.072 | /tmp/in_target.d/install.d/01-nodepool-setup: line 1: sudo: command not found
2018-04-23 19:42:57.073 | /tmp/in_target.d/install.d/01-nodepool-setup: line 3: sudo: command not found
---

See [1]. The last good build I can find is [2] where I don't see output (which is weird too)

---
2018-04-17 07:08:11.166 | dib-run-parts 00-up-to-date completed
2018-04-17 07:08:11.166 | dib-run-parts Running /tmp/in_target.d/install.d/01-nodepool-setup
2018-04-17 07:08:11.194 | dib-run-parts 01-nodepool-setup completed
---

Strictly, I don't think these calls need sudo. However, has sudo somehow gone missing in the images

Note this is coming from [3] which doesn't appear to have changed in this regard

[1] http://logs.openstack.org/31/563731/2/check/nodepool-functional-py35-gentoo-src/2254320/controller/logs/builds/gentoo-17-0-systemd-0000000001_log.txt.gz#_2018-04-23_19_42_57_072
[2] http://logs.openstack.org/79/561479/10/check/nodepool-functional-py35-gentoo-src/b730698/controller/logs/builds/gentoo-17-0-systemd-0000000001_log.txt.gz#_2018-04-17_07_08_11_166
[3] https://git.openstack.org/cgit/openstack-infra/nodepool/tree/devstack/plugin.sh#n93

Ian Wienand (iwienand)
Changed in diskimage-builder:
assignee: nobody → Matthew Thode (prometheanfire)
Revision history for this message
Matthew Thode (prometheanfire) wrote :

We don't include sudo in are stage3/4.

sounds like we just need to add it to our package-installs.yaml like suse has

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to diskimage-builder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/564028

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to diskimage-builder (master)

Reviewed: https://review.openstack.org/564028
Committed: https://git.openstack.org/cgit/openstack/diskimage-builder/commit/?id=f7818e4a57de7b9fd840fda412e1850941f2cfdb
Submitter: Zuul
Branch: master

commit f7818e4a57de7b9fd840fda412e1850941f2cfdb
Author: Matthew Thode <email address hidden>
Date: Tue Apr 24 11:44:39 2018 -0500

    Install sudo on Gentoo images by deault

    Change-Id: I30640017e3c652a467be421169029045a8b675d2
    Close-Bug: #1766484

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.