[one-users] VMware ESXi (vSphere) host monitor failure

Tim Dunlevy tim.dunlevy at commitent.com
Tue Apr 26 04:33:33 PDT 2011


OpenNebula 2.2 running successfully on CentoOS 5.5 64bit and monitoring several KVM hosts successfully.

When using VMware addon v2.2 getting an error in the log immediately after creating a new host:

[ONE][E]: syntax error, unexpected $end, expecting VARIABLE at line 2, columns 1:2


Here's a log of some troubleshooting steps:

[oneadmin at opennebula-01 mads]$ ruby -dw one_im_sh.rb 
INIT
INIT SUCCESS - -
MONITOR 0 10.10.2.108 -         
MONITOR SUCCESS 0  
Exception `Interrupt' at /usr/lib/one/ruby/ActionManager.rb:168 - 
/usr/lib/one/ruby/ActionManager.rb:168:in `wait': Interrupt
        from /usr/lib/one/ruby/ActionManager.rb:168:in `start_listener'
        from /usr/lib/one/ruby/ActionManager.rb:166:in `synchronize'
        from /usr/lib/one/ruby/ActionManager.rb:166:in `start_listener'
        from /usr/lib/one/ruby/OpenNebulaDriver.rb:73:in `start_driver'
        from one_im_sh.rb:85

[oneadmin at opennebula-01 mads]$ onehost list
  ID NAME              CLUSTER  RVM   TCPU   FCPU   ACPU    TMEM    FMEM STAT
   0 10.10.2.101       default    0    400    400    400    7.8G    5.7G   on
   1 10.10.2.102       default    0    400    400    400    7.8G    7.2G   on
   2 10.10.2.103       default    0    400    399    400    7.8G    7.1G   on
   3 10.10.2.104       default    0    400    399    400    7.8G    7.1G   on
   5 10.10.2.107       default    1    400    400    350    7.8G    6.4G   on
   6 10.10.2.105       default    0    400    400    400    7.8G    6.4G   on
  11 10.10.2.108       default    0      0      0    100      0K      0K  err
[oneadmin at opennebula-01 mads]$ tailf /var/log/one/oned.log 
Mon Apr 25 16:45:31 2011 [InM][I]: Monitoring host 10.10.2.108 (11)
Mon Apr 25 16:45:31 2011 [InM][D]: Host 11 successfully monitored.
Mon Apr 25 16:45:31 2011 [ONE][E]: syntax error, unexpected $end, expecting VARIABLE at line 2, columns 1:2
Mon Apr 25 16:45:31 2011 [InM][E]: Error parsing host information: 

Mon Apr 25 16:45:46 2011 [ReM][D]: HostPoolInfo method invoked
Mon Apr 25 16:45:46 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
Mon Apr 25 16:46:13 2011 [ReM][D]: HostPoolInfo method invoked
Mon Apr 25 16:46:16 2011 [ReM][D]: HostPoolInfo method invoked
Mon Apr 25 16:46:16 2011 [ReM][D]: VirtualMachinePoolInfo method invoked




More information about the Users mailing list