[Planetlab-users] Issue while using vxargs to install library files
onto a planetlab node (my sliver)
Benoy Varghese
Benoy.Varghese at nicta.com.au
Mon Jan 30 23:26:48 EST 2012
Hi,
To provide a background on my issue, I need to install and run my application of multiple planetlab nodes parallely. Henec i am using vxargs to issue commands to install and run this application. The problem i am facing is when i try to install the library files required for my application which require root privileges, vxargs seems to get stuck.
For example, If i need to install a package openssl-devel, i need to run the following vxargs command:
vxargs.py -t 10 -a iplist.txt -o /Users/planetlab_launchpad/tmp/result ssh nicta_streaming_bt@{} 'sudo yum -y install openssl-devel'
I get the following error in the output file:
sudo: no tty present and no askpass program specified
To resolve this issue i used 'ssh -t' as shown below:
vxargs.py -t 10 -a iplist.txt -o /Users/planetlab_launchpad/tmp/result ssh -t nicta_streaming_bt@{} 'sudo yum -y install openssl-devel'
But running it using vxargs as shown below is causing the tty terminal screen to be stuck for a very long time. (even If i use a timeout (-t 10 ), the terminal screen exits after timeout, but the command is never executed).
I have tried running the install command as a script in the node and then execute it remotely using vxargs, but still the results are same. The library is not getting installed.
Seems to me like it is a problem with using pseudo tty option in vxargs.
Any suggestions on how to resolve this issue is appreciated. Thank you.
Ben
________________________________
The information in this e-mail may be confidential and subject to legal professional privilege and/or copyright. National ICT Australia Limited accepts no liability for any damage caused by this email or its attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.planet-lab.org/pipermail/users/attachments/20120131/1c183c24/attachment.html
More information about the Users
mailing list