[one-users] MONITOR FAILURE

Tino Vazquez tinova at fdi.ucm.es
Mon Aug 30 08:14:15 PDT 2010


Hi Ravi,

This is a known issue. The problem seems to be the variability in the
properties exposed in the different versions and updates of the ESX
hypervisor.

In your case, the "hardware.memorySize" doesn't exist. We are in the
process of redeveloping the VMware drivers, so a possible workaround
would be to hardcode the host's totalMemory in
src/im_mad/vmware/OneImVmware.java, line 165, and see if any other
property fails.

Hope it helps,

-Tino

--
Constantino Vázquez Blanco | dsa-research.org/tinova
Virtualization Technology Engineer / Researcher
OpenNebula Toolkit | opennebula.org



On Sat, Aug 14, 2010 at 12:29 PM,  <ravi.krishna at wipro.com> wrote:
> Hi,
>
>
>
> I’m trying to integrate OpenNebula2.0 Beta1 with ESXi3.5. When I add ESXi
> host, I’m getting the following error.
>
> Please help me to resolve this.
>
>
>
> My Setup:
>
>    Opennebula installed in Ubuntu 10.04
>
>
>
> Regards,
>
> Ravi
>
>
>
> These are the log files:
>
>
>
> im_vmware.log
>
> [14.08.2010 06:19:09] INIT SUCCESS
>
> [14.08.2010 06:19:45] MONITOR FAILURE 1 Failed monitoring host
> 10.100.200.15.
>
> [14.08.2010 06:19:45] Failed monitoring host 10.100.200.15.Reason: null
>
> ---- Debug stack trace ----
>
> java.lang.NullPointerException
>
>         at GetProperty.getProperties(GetProperty.java:73)
>
>         at GetProperty.getObjectProperty(GetProperty.java:58)
>
>         at OneImVmware.loop(OneImVmware.java:165)
>
>         at OneImVmware.main(OneImVmware.java:58)
>
> [14.08.2010 06:19:45] ---------------------------
>
>
>
>
>
> oned.log
>
> Sat Aug 14 06:19:07 2010 [ONE][I]: Init OpenNebula Log system
>
> Sat Aug 14 06:19:07 2010 [ONE][I]: Log Level: 3
> [0=ERROR,1=WARNING,2=INFO,3=DEBUG]
>
> Sat Aug 14 06:19:07 2010 [ONE][I]: ----------------------------------------
>
> Sat Aug 14 06:19:07 2010 [ONE][I]:      OpenNebula Configuration File
>
> Sat Aug 14 06:19:07 2010 [ONE][I]: ----------------------------------------
>
> Sat Aug 14 06:19:07 2010 [ONE][I]:
>
> --------------------------------------------
>
>         DB=BACKEND=sqlite
>
>         DEBUG_LEVEL=3
>
>         DEFAULT_DEVICE_PREFIX=hd
>
>         DEFAULT_IMAGE_TYPE=OS
>
>         HM_MAD=EXECUTABLE=one_hm
>
>         HOST_MONITORING_INTERVAL=60
>
>         IMAGE_REPOSITORY_PATH=/srv/cloud/one/var/images
>
>         IM_MAD=ARGUMENTS=--username root --password
> password at 123,EXECUTABLE=one_im_vmware,NAME=im_vmware
>
>         MAC_PREFIX=02:00
>
>         MANAGER_TIMER=30
>
>         NETWORK_SIZE=254
>
>         PORT=2633
>
>
> TM_MAD=ARGUMENTS=tm_vmware/tm_vmware.conf,EXECUTABLE=one_tm,NAME=tm_vmware
>
>         VM_DIR=/srv/cloud/one/var/
>
>
> VM_HOOK=ARGUMENTS=$VMID,COMMAND=/srv/cloud/one/share/hooks/image.rb,NAME=image,ON=DONE
>
>         VM_MAD=ARGUMENTS=--username root --password
> password at 123,EXECUTABLE=one_vmm_vmware,NAME=vmm_vmware,TYPE=xml
>
>         VM_POLLING_INTERVAL=600
>
>         VNC_BASE_PORT=5000
>
> --------------------------------------------
>
> Sat Aug 14 06:19:07 2010 [ONE][I]: Bootstraping OpenNebula database.
>
> Sat Aug 14 06:19:07 2010 [VMM][I]: Starting Virtual Machine Manager...
>
> Sat Aug 14 06:19:07 2010 [LCM][I]: Starting Life-cycle Manager...
>
> Sat Aug 14 06:19:07 2010 [InM][I]: Starting Information Manager...
>
> Sat Aug 14 06:19:07 2010 [TrM][I]: Starting Transfer Manager...
>
> Sat Aug 14 06:19:07 2010 [DiM][I]: Starting Dispatch Manager...
>
> Sat Aug 14 06:19:07 2010 [ReM][I]: Starting Request Manager...
>
> Sat Aug 14 06:19:07 2010 [ReM][I]: Starting XML-RPC server, port 2633 ...
>
> Sat Aug 14 06:19:07 2010 [HKM][I]: Starting Hook Manager...
>
> Sat Aug 14 06:19:07 2010 [InM][I]: Information Manager started.
>
> Sat Aug 14 06:19:07 2010 [TrM][I]: Transfer Manager started.
>
> Sat Aug 14 06:19:07 2010 [DiM][I]: Dispatch Manager started.
>
> Sat Aug 14 06:19:07 2010 [ReM][I]: Request Manager started.
>
> Sat Aug 14 06:19:07 2010 [HKM][I]: Hook Manager started.
>
> Sat Aug 14 06:19:07 2010 [LCM][I]: Life-cycle Manager started.
>
> Sat Aug 14 06:19:07 2010 [VMM][I]: Virtual Machine Manager started.
>
> Sat Aug 14 06:19:09 2010 [VMM][I]: Loading Virtual Machine Manager drivers.
>
> Sat Aug 14 06:19:09 2010 [VMM][I]:      Loading driver: vmm_vmware (XML)
>
> Sat Aug 14 06:19:09 2010 [MAD][E]: MAD did not answer INIT command
>
> Sat Aug 14 06:19:09 2010 [InM][I]: Loading Information Manager drivers.
>
> Sat Aug 14 06:19:09 2010 [InM][I]:      Loading driver: im_vmware
>
> Sat Aug 14 06:19:09 2010 [InM][I]:      Driver im_vmware loaded
>
> Sat Aug 14 06:19:09 2010 [TM][I]: Loading Transfer Manager drivers.
>
> Sat Aug 14 06:19:09 2010 [VMM][I]:      Loading driver: tm_vmware
>
> Sat Aug 14 06:19:10 2010 [TM][I]:       Driver tm_vmware loaded.
>
> Sat Aug 14 06:19:10 2010 [HKM][I]: Loading Hook Manager driver.
>
> Sat Aug 14 06:19:10 2010 [HKM][I]:      Hook Manager loaded
>
> Sat Aug 14 06:19:13 2010 [ReM][D]: HostPoolInfo method invoked
>
> Sat Aug 14 06:19:19 2010 [ReM][D]: HostPoolInfo method invoked
>
> Sat Aug 14 06:19:24 2010 [ReM][D]: HostInfo method invoked
>
> Sat Aug 14 06:19:24 2010 [ReM][D]: HostDelete method invoked
>
> Sat Aug 14 06:19:29 2010 [ReM][D]: HostAllocate method invoked
>
> Sat Aug 14 06:19:37 2010 [InM][I]: Monitoring host 10.100.200.15 (1)
>
> Sat Aug 14 06:19:38 2010 [ReM][D]: HostPoolInfo method invoked
>
> Sat Aug 14 06:19:38 2010 [ReM][D]: HostInfo method invoked
>
> Sat Aug 14 06:19:38 2010 [ReM][D]: VirtualMachinePoolInfo method invoked
>
> Sat Aug 14 06:19:45 2010 [InM][E]: Error monitoring host 1 : MONITOR FAILURE
> 1 Failed monitoring host 10.100.200.15.
>
> Sat Aug 14 06:20:08 2010 [ReM][D]: HostPoolInfo method invoked
>
> Sat Aug 14 06:20:08 2010 [ReM][D]: VirtualMachinePoolInfo method invoked
>
> Sat Aug 14 06:20:38 2010 [ReM][D]: HostPoolInfo method invoked
>
> Sat Aug 14 06:20:38 2010 [ReM][D]: VirtualMachinePoolInfo method invoked
>
> Sat Aug 14 06:21:07 2010 [InM][I]: Monitoring host 10.100.200.15 (1)
>
> Sat Aug 14 06:21:07 2010 [InM][E]: Error monitoring host 1 : MONITOR FAILURE
> 1 Failed monitoring host 10.100.200.15.
>
> Please do not print this email unless it is absolutely necessary.
>
> The information contained in this electronic message and any attachments to
> this message are intended for the exclusive use of the addressee(s) and may
> contain proprietary, confidential or privileged information. If you are not
> the intended recipient, you should not disseminate, distribute or copy this
> e-mail. Please notify the sender immediately and destroy all copies of this
> message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient should
> check this email and any attachments for the presence of viruses. The
> company accepts no liability for any damage caused by any virus transmitted
> by this email.
>
> www.wipro.com
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>



More information about the Users mailing list