ironic sudo: no tty present and no askpass program specified\n'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Invalid
|
High
|
Fuel Sustaining | ||
8.0.x |
Confirmed
|
High
|
Fuel Sustaining | ||
Mitaka |
Fix Released
|
High
|
Vladimir Kuklin | ||
Newton |
Invalid
|
High
|
Fuel Sustaining | ||
Ocata |
Invalid
|
High
|
Fuel Sustaining |
Bug Description
Trying Fuel 8 with separate ironic role,which got installed successfully how ever ironic is having issue establishing iscsi session due to
Stderr: u'sudo: no tty present and no askpass program specified\n'
command its trying to execute
From ironic conductor log :
Asynchronous exception for node d17cde67-
Command: sudo ironic-rootwrap /etc/ironic/
Exit code: 1
Stdout: u''
Stderr: u'sudo: no tty present and no askpass program specified\n'
2016-10-24 18:33:30.843 30680 ERROR ironic.
2016-10-24 18:33:30.843 30680 ERROR ironic.
2016-10-24 18:33:30.843 30680 ERROR ironic.
2016-10-24 18:33:30.843 30680 ERROR ironic.
2016-10-24 18:33:30.843 30680 ERROR ironic.
2016-10-24 18:33:30.843 30680 ERROR ironic.
2016-10-24 18:33:30.843 30680 ERROR ironic.
2016-10-24 18:33:30.843 30680 ERROR ironic.
2016-10-24 18:33:30.843 30680 ERROR ironic.
2016-10-24 18:33:30.843 30680 ERROR ironic.
2016-10-24 18:33:30.843 30680 ERROR ironic.
2016-10-24 18:33:30.843 30680 ERROR ironic.
2016-10-24 18:33:30.843 30680 ERROR ironic.
2016-10-24 18:33:30.843 30680 ERROR ironic.
2016-10-24 18:33:30.843 30680 ERROR ironic.
2016-10-24 18:33:30.843 30680 ERROR ironic.
2016-10-24 18:33:30.843 30680 ERROR ironic.
2016-10-24 18:33:30.843 30680 ERROR ironic.
2016-10-24 18:33:30.843 30680 ERROR ironic.
Expected result :
should not throw sudo permission denied issue
Packages:
ironic@ironic:~$ dpkg --list|grep ironic
ii ironic-common 1:4.2.5-
ii ironic-conductor 1:4.2.5-
ii ironic-fa-deploy 8.0.0-1~
ii python-ironic 1:4.2.5-
ii python-ironicclient 0.8.2-1~u14.04+mos3 all Client for OpenStack bare metal Service - Python 2.7
description: | updated |
Changed in fuel: | |
status: | Incomplete → Confirmed |
tags: | added: on-verification |
Marking as Incomplete, please attach Diagnostic Snapshot.