Are you able to login and sudo without a password? If not, make sure that your 
authorized_keys and /etc/sudoers files are correct. I’m not sure, but possibly 
you should not be running as root. It is possible that your machine is not 
configured to allow root to use sudo (since typically root wouldn’t need to).

--
Paul Carver
VoIP: 732-545-7377
Cell: 908-803-1656
E: [email protected]<mailto:[email protected]>
Q Instant Message<qto://talk/pc2929>
It is difficult to make predictions. Especially about the future.


From: Users [mailto:[email protected]] On Behalf Of Zufar 
Dhiyaulhaq
Sent: Wednesday, February 28, 2018 13:43
To: [email protected]
Subject: [Users] error fab -c fabrc install_contrail cant input password


hi, in last 2 week ago, i try to install opencontrail and successful.
but now i try to install again but failed.
when i run

cd /opt/contrail/utils/
fab -c fabrc install_contrail
the prompt is automaticly skip the password enter. i dont know why. before this 
error, i try to install cassandra but its nothing.

2018-02-28 13:38:14:951359: root@pod9-contrail-controller:/opt/contrail/utils# 
cd /opt/contrail/utils/
root@pod9-contrail-controller:/opt/contrail/utils# fab -c fabrc install_contrail
[[email protected]<mailto:[email protected]>] Executing task 'install_contrail'
2018-02-28 13:42:20:305339: [[email protected]<mailto:[email protected]>] 
Executing task 'pre_check'
2018-02-28 13:42:20:305631: [[email protected]<mailto:[email protected]>] 
Executing task 'check_disk_space'
[[email protected]<mailto:[email protected]>] Login password for 'root': 
2018-02-28 13:42:20:305817:
2018-02-28 13:42:25:088954: [[email protected]<mailto:[email protected]>] sudo: 
sed -n '/data_file_directories/{n;p;}' /etc/cassandra/cassandra.yaml
2018-02-28 13:42:25:675455: [[email protected]<mailto:[email protected]>] out:    
 - /var/lib/cassandra/data
2018-02-28 13:42:25:729100: [[email protected]<mailto:[email protected]>] out:
2018-02-28 13:42:25:729534:
2018-02-28 13:42:25:732140: [[email protected]<mailto:[email protected]>] sudo: 
df -Pk /var/lib | grep % | awk '{print $2}'
2018-02-28 13:42:25:831794: [[email protected]<mailto:[email protected]>] out: 
94967628
2018-02-28 13:42:25:898046: [[email protected]<mailto:[email protected]>] out:
2018-02-28 13:42:25:898341:
2018-02-28 13:42:25:898682: [[email protected]<mailto:[email protected]>] 
Executing task 'setup_ntp'
2018-02-28 13:42:25:898982: [[email protected]<mailto:[email protected]>] 
Executing task 'setup_ntp'
2018-02-28 13:42:25:899288: [[email protected]<mailto:[email protected]>] 
Executing task 'setup_ntp'
2018-02-28 13:42:25:899548: [[email protected]<mailto:[email protected]>] 
Executing task 'verify_time_all'
2018-02-28 13:42:25:904918: [[email protected]<mailto:[email protected]>] 
Executing task 'get_all_time'
2018-02-28 13:42:25:910972: [[email protected]<mailto:[email protected]>] 
Executing task 'get_all_time'
2018-02-28 13:42:25:911557: [[email protected]<mailto:[email protected]>] 
Executing task 'get_all_time'
2018-02-28 13:42:25:911954: [[email protected]<mailto:[email protected]>] sudo: 
DATE=$( date ); DATEMILLISEC=$( date +%s ); echo $DATE; echo $DATEMILLISEC
[[email protected]<mailto:[email protected]>] sudo: DATE=$( date ); 
DATEMILLISEC=$( date +%s ); echo $DATE; echo $DATEMILLISEC
[[email protected]<mailto:[email protected]>] sudo: DATE=$( date ); 
DATEMILLISEC=$( date +%s ); echo $DATE; echo $DATEMILLISEC
2018-02-28 13:42:25:917805: [[email protected]<mailto:[email protected]>] out: 
Wed Feb 28 13:42:26 EST 2018
2018-02-28 13:42:26:498799: [[email protected]<mailto:[email protected]>] out: 
1519843346
2018-02-28 13:42:26:499015: [[email protected]<mailto:[email protected]>] out:
2018-02-28 13:42:26:499781:
2018-02-28 13:42:26:500363:
2018-02-28 13:42:28:194939: Fatal error: Needed to prompt for a connection or 
sudo password (host: [email protected]<mailto:[email protected]>), but input 
would be ambiguous in parallel mode
2018-02-28 13:42:28:194939:
2018-02-28 13:42:28:195143: Aborting.
2018-02-28 13:42:28:195143:
2018-02-28 13:42:28:197213: Fatal error: Needed to prompt for a connection or 
sudo password (host: [email protected]<mailto:[email protected]>), but input 
would be ambiguous in parallel mode
2018-02-28 13:42:28:197213:
2018-02-28 13:42:28:197871: Aborting.
2018-02-28 13:42:28:197871: 2018-02-28 13:42:25:915928: 2018-02-28 
13:42:25:919894:
2018-02-28 13:42:28:341564: Fatal error: One or more hosts failed while 
executing task 'get_all_time'
2018-02-28 13:42:28:341564:
2018-02-28 13:42:28:342317: Aborting.
2018-02-28 13:42:28:342317:
2018-02-28 13:42:28:363042: Fatal error: One or more hosts failed while 
executing task 'verify_time_all'
2018-02-28 13:42:28:363042:
2018-02-28 13:42:28:363226: Aborting.
2018-02-28 13:42:28:363226: Disconnecting from 10.90.90.20... done.
--
Regards,
Zufar Dhiyaulhaq
_______________________________________________
Users mailing list
[email protected]
http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrail.org

Reply via email to