Gate checks should set DEBIAN_FRONTEND=noninteractive

Bug #1487068 reported by Jesse Pretorius
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Wishlist
Rahul U Nair
Kilo
Fix Released
Wishlist
Jesse Pretorius
Trunk
Fix Released
Wishlist
Rahul U Nair

Bug Description

An example seen in the newer gate check instances:

2015-08-20 06:41:23.022 | ++ apt-get install -y apt-transport-https
2015-08-20 06:41:23.030 | Reading package lists...
2015-08-20 06:41:23.188 | Building dependency tree...
2015-08-20 06:41:23.189 | Reading state information...
2015-08-20 06:41:23.285 | The following NEW packages will be installed:
2015-08-20 06:41:23.285 | apt-transport-https
2015-08-20 06:41:23.350 | 0 upgraded, 1 newly installed, 0 to remove and 11 not upgraded.
2015-08-20 06:41:23.350 | Need to get 25.1 kB of archives.
2015-08-20 06:41:23.350 | After this operation, 239 kB of additional disk space will be used.
2015-08-20 06:41:23.350 | Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main apt-transport-https amd64 1.0.1ubuntu2.10 [25.1 kB]
2015-08-20 06:41:23.525 | debconf: unable to initialize frontend: Dialog
2015-08-20 06:41:23.525 | debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
2015-08-20 06:41:23.525 | debconf: falling back to frontend: Readline
2015-08-20 06:41:23.533 | debconf: unable to initialize frontend: Readline
2015-08-20 06:41:23.533 | debconf: (This frontend requires a controlling tty.)
2015-08-20 06:41:23.534 | debconf: falling back to frontend: Teletype
2015-08-20 06:41:23.537 | dpkg-preconfigure: unable to re-open stdin:

'export DEBIAN_FRONTEND=noninteractive' should be set either at the start of the AIO bootstrap, or at the start of the gate-check script. Considering that the AIO bootstrap script is used across gate checks, perhaps that's the best place.

Changed in openstack-ansible:
importance: Undecided → Wishlist
status: New → Confirmed
milestone: none → liberty-3
tags: added: low-hanging-fruit
description: updated
willy lin (willy-l)
Changed in openstack-ansible:
assignee: nobody → willy lin (willy-l)
willy lin (willy-l)
Changed in openstack-ansible:
assignee: willy lin (willy-l) → nobody
Changed in openstack-ansible:
milestone: liberty-3 → 12.0.0
Changed in openstack-ansible:
assignee: nobody → Rahul U Nair (rahulunair)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible (master)

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

Changed in openstack-ansible:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible (master)

Reviewed: https://review.openstack.org/228297
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=a423ef521e17b68c0e3adfba3c877c5f314e535d
Submitter: Jenkins
Branch: master

commit a423ef521e17b68c0e3adfba3c877c5f314e535d
Author: Rahul Nair <email address hidden>
Date: Mon Sep 28 04:18:39 2015 +0000

    Added DEBIAN_FRONTEND=noninteractive to bootstrap scripts

    Added the rule "DEBIAN_FRONTEND=noninteractive" to the
    all in one bootstrap-aio and bootstrap-ansible scripts
    so that it will thus allow automated installation without
    prompting the user for choices on installation.

    Change-Id: I5ebacd14a97978e425dccdd7be053f4441d86876
    Closes-Bug: #1487068

Changed in openstack-ansible:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible (kilo)

Fix proposed to branch: kilo
Review: https://review.openstack.org/228786

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible (kilo)

Reviewed: https://review.openstack.org/228786
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=ae653416d65c5c20008de487c396e74cdd3a4228
Submitter: Jenkins
Branch: kilo

commit ae653416d65c5c20008de487c396e74cdd3a4228
Author: Rahul Nair <email address hidden>
Date: Mon Sep 28 04:18:39 2015 +0000

    Added DEBIAN_FRONTEND=noninteractive to bootstrap scripts

    Added the rule "DEBIAN_FRONTEND=noninteractive" to the
    all in one bootstrap-aio and bootstrap-ansible scripts
    so that it will thus allow automated installation without
    prompting the user for choices on installation.

    Change-Id: I5ebacd14a97978e425dccdd7be053f4441d86876
    Closes-Bug: #1487068
    (cherry picked from commit a423ef521e17b68c0e3adfba3c877c5f314e535d)

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote : Fix included in openstack/openstack-ansible 11.2.11

This issue was fixed in the openstack/openstack-ansible 11.2.11 release.

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/openstack-ansible 11.2.12

This issue was fixed in the openstack/openstack-ansible 11.2.12 release.

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote : Fix included in openstack/openstack-ansible 11.2.14

This issue was fixed in the openstack/openstack-ansible 11.2.14 release.

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.