"you must have a tty to run sudo" when running get-occ-config.sh

Bug #1606544 reported by James Slagle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
James Slagle

Bug Description

When using the deployed-server environment and running the get-occ-config.sh script to remotely configure os-collect-config on the deployed-servers, it will sometimes fail with the error "you must have a tty to run sudo" depending on how the script got executed (background, etc).

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

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

Changed in tripleo:
assignee: nobody → James Slagle (james-slagle)
status: New → In Progress
Revision history for this message
James Slagle (james-slagle) wrote :
Changed in tripleo:
importance: Undecided → Medium
milestone: none → newton-3
tags: added: tripleo-ci-multinode
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/347282
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=fc93cf3e2965f430b243eda1e95ce30c4e59a1ab
Submitter: Jenkins
Branch: master

commit fc93cf3e2965f430b243eda1e95ce30c4e59a1ab
Author: James Slagle <email address hidden>
Date: Tue Jul 26 07:41:00 2016 -0400

    Force a tty for sudo in get-occ-config.sh

    This script will sometimes fail with "you must have a tty to run sudo"
    depending on how it was executed. Add -tt to the $SSH_OPTIONS to always
    force a tty.

    Change-Id: Ic1144b9ba90d4af35db826a78e637da965569841
    Closes-Bug: #1606544

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 5.0.0.0b3

This issue was fixed in the openstack/tripleo-heat-templates 5.0.0.0b3 development milestone.

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.