Re: [Openstack] 'sudo ovs-vsctl' hit no tty issue

2013-08-20 Thread Thierry Carrez
yulin...@dell.com wrote: > I’m developing a Quantum plugin and need to run ‘sudo ovs-vsctl’ command > in my python code. When I run it as a script on Ubuntu, it was OK. > However, if I run it as a background service(process), I hit the > following error: > > **YuLing debug -->line=sudo: no tty pre

[Openstack] 'sudo ovs-vsctl' hit no tty issue

2013-08-19 Thread Yuling_C
Hi All, I'm developing a Quantum plugin and need to run 'sudo ovs-vsctl' command in my python code. When I run it as a script on Ubuntu, it was OK. However, if I run it as a background service(process), I hit the following error: YuLing debug -->line=sudo: no tty present and no askpass program