[one-users] Creating new VM fails due to Ruby error while retrieving network interfaces

Valentin Bud valentin.bud at gmail.com
Mon Nov 12 09:57:00 PST 2012


Hello Tharsan,

For me the following works:

```
User_Alias CLOUDADMINS = oneadmin, rosa
Defaults!CLOUDCOMM        !requiretty
CLOUDADMINS   ALL = (ALL)  NOPASSWD: CLOUDCOMM
```

Cheers and Goodwill,
v


On Mon, Nov 12, 2012 at 7:40 PM, Tharsan Bhuvanendran <
tbhuvanendran at totsy.com> wrote:

> Hi Jaime,
>
> Thanks so much for your quick response! I've tried your suggestion, with
> the same result. However, the following warning now appears instead:
>
> Mon Nov 12 17:33:23 2012 [VMM][I]: sudo: no tty present and no askpass program specified
>
>
> I've also added a NOPASSWD clause for the oneadmin user, so that it won't
> ask for a password for sudo.
>
> Tharsan
>
>
> On Mon, Nov 12, 2012 at 12:17 PM, Jaime Melis <jmelis at opennebula.org>wrote:
>
>> Hi Tharsan
>>
>> I think the problem is:
>> Mon Nov 12 16:14:01 2012 [VMM][I]: sudo: sorry, you must have a tty to
>> run sudo
>>
>> Can you try and remove the requiretty directive from /etc/sudoers?
>>
>> cheers,
>> Jaime
>>
>>
>> On Mon, Nov 12, 2012 at 6:03 PM, Tharsan Bhuvanendran <
>> tbhuvanendran at totsy.com> wrote:
>>
>>> Mon Nov 12 16:14:01 2012 [VMM][I]: sudo: sorry, you must have a tty to
>>> run sudo
>>
>>
>>
>>
>> --
>> Jaime Melis
>> Project Engineer
>> OpenNebula - The Open Source Toolkit for Cloud Computing
>> www.OpenNebula.org | jmelis at opennebula.org
>>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
w: http://databus.ro/blog
in: http://www.linkedin.com/pub/valentin-bud/9/881/830
t: https://twitter.com/valentinbud
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20121112/c0063659/attachment-0001.htm>


More information about the Users mailing list