infrastructure icon indicating copy to clipboard operation
infrastructure copied to clipboard

sudo: sorry, you must have a tty to run sudo

Open atarkowska opened this issue 8 years ago • 4 comments

see https://github.com/openmicroscopy/infrastructure/pull/112#issuecomment-246352638

TASK [upgrade-distpackages : system packages | upgrade] ************************
task path: /Users/ola/OMERO/SYSADMIN/infrastructure/ansible/roles/upgrade-distpackages/tasks/main.yml:4
Monday 12 September 2016  14:46:05 +0100 (0:00:00.363)       0:00:00.403 ****** 
failed: [10.0.51.143] (item=[u'*']) => {"failed": true, "item": ["*"], "module_stderr": "sudo: sorry, you must have a tty to run sudo\n", "module_stdout": "", "msg": "MODULE FAILURE", "parsed": false}

NO MORE HOSTS LEFT *************************************************************

PLAY RECAP *********************************************************************
10.0.51.143                : ok=1    changed=0    unreachable=0    failed=1   

edit ansible.conf and change: pipelining=False and allow_world_readable_tmpfiles=True

atarkowska avatar Sep 21 '16 12:09 atarkowska

cF. https://bugzilla.redhat.com/show_bug.cgi?id=1196451

joshmoore avatar Sep 21 '16 13:09 joshmoore

Rolling back via https://github.com/openmicroscopy/infrastructure/pull/125. Would still appreciate help getting us pipelining-enabled across the board. This may require a new centos image.

joshmoore avatar Sep 29 '16 07:09 joshmoore

resolved in https://github.com/openmicroscopy/infrastructure/pull/125

atarkowska avatar Oct 02 '16 18:10 atarkowska

As I said in https://github.com/openmicroscopy/infrastructure/pull/125#issuecomment-250392862, I'd like to find a proper solution for this.

joshmoore avatar Oct 02 '16 19:10 joshmoore