[one-users] admin/host on the same physical machine issues

Damien Cerbelaud dcerbelaud at gmail.com
Fri Feb 20 15:48:35 PST 2009


I finally realized where my problem came from. I put a trace in the
mailing list so that everyone else can benefit from it.

Basically, CentOS has an option in the /etc/sudoers file that can
conflict with an ssh connection. Just comment out the

Default requiretty

option, and the xen.rb monitoring script runs smoothly !


On Thu, Feb 19, 2009 at 8:47 AM, Damien Cerbelaud <dcerbelaud at gmail.com> wrote:
> I can connect from the machine to itself via ssh, passwordless. I was
> supposing that there might be some issues with the initial ruby script
> trying to run another ruby script through an open ssh connection....
> Maybe there's a security routine preventing it. The oned.log file
> shows "Host 0 successfully monitored" though.
>
> On Thu, Feb 19, 2009 at 12:13 AM, Raul Sampedro <raul.sampedro at gmail.com> wrote:
>> Hello Damien,
>>
>> As you say, its a monitoring problem, have you tried to connect via
>> ssh to the machine opennebula from your frontend?, probably yo need to
>> create ssh-keys for first time.
>>
>> cheers
>> On Thu, Feb 19, 2009 at 12:36 AM, Damien Cerbelaud <dcerbelaud at gmail.com> wrote:
>>> Hi,
>>>
>>> I installed the one admin on the physical machine (CentOS 5.2) that
>>> also serves as my first node.
>>> I configured ssh correctly, and can add the host using 'onehost
>>> create'. However, monitoring fails to retrieve information from the
>>> host, though the scripts are correctly copied to REMOTE_DIR, but not
>>> executed
>>>
>>> [oneadmin at opennebula ~]$ onehost list
>>>  HID NAME                      RVM   TCPU   FCPU   ACPU    TMEM    FMEM STAT
>>>   1 opennebula                  0             0          0
>>> 100                                 on
>>>
>>> When I enter onehost show opennebula, I have more information, but
>>> still some parameters are missing:
>>>
>>> [oneadmin at opennebula ~]$ onehost show opennebula
>>> HID      = 1
>>> HOSTNAME = opennebula
>>> IM MAD   = im_xen
>>> VMM MAD  = vmm_xen
>>> TM MAD   = tm_ssh
>>> MANAGED  = 1
>>> ATTRIBUTES
>>>
>>>      ARCH=i686
>>>      HOSTNAME=opennebula
>>>      MODELNAME=Intel(R) Xeon(R) CPU           E5320  @ 1.86GHz
>>> HOST SHARES
>>>      HID          = 1
>>>      ENDPOINT     =
>>>      MAX_CPU      = 0
>>>      MAX_MEMORY   = 0
>>>      MAX_DISK     = 0
>>>      CPU_USAGE    = 0
>>>      MEMORY_USAGE = 0
>>>      DISK_USAGE   = 0
>>>      RUNNING_VMS  = 0
>>>
>>> Is it normal? Or do I have to install the administration node on a
>>> different physical machine?
>>>
>>> Thanks!
>>>
>>> Damien
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>>
>



More information about the Users mailing list