I have the basics for vmtools ported for OpenServer 6. The RPC loop
is running and the hostd.log file on the ESX host reports the current
heartbeat status as green.
But, the vSphere Client Summary tab for the running VM indicates:
"VMware Tools: Not Installed"
And it has consistently been displayed that way except for about 1/2 hour
of testing during which the status was displayed as "Unmanaged" while
the RPC loop was running, and "Not Running" when vmtoolsd was killed.
The "Not Installed" status has returned, but that got me digging a
little bit.
Managed Object Browser:
===========================================
The Managed Object Browser (MOB) of the GuestInfo for my running OSR6 VM
shows:
toolsRuningStatus string "guestToolsRunning"
toolsStatus VirtualMachineToolsStatus "toolsOK"
toolsVersion string "2147483647"
(32 bit MAXINT - 0x7fffffff)
- probably the TOOLS_VERSION_UNMANAGED
toolsVersionStatus string "guestToolsNotInstalled"
Now, from the top three items, I would have expected the
"VMware Tools:" status to at least indicate "Unmanaged".
Clearly the last item "toolsVersionStatus" is being set incorrectly (?)
and that is apparently what results in the
VMware Tools: Not Installed
being displayed in the vSphere Client Summary tab for a running VM.
I have confirmed that services/vmtoolsd/toolsRpstatusc.c is sending
the "tools.set.version 2147483647"
ESX 4.0 (build-398348): /var/log/vmware/hostd.log
===================================================
Looking in the ESX 4.0 host /var/log/vmware/hostd.log I see:
- the tools status is changed to "running"
- the tools version changing from 0 (default) to
TOOLS_VERSION_MANAGED
- and then a struggle between "Unexpected toolsVersionStatus
notAvailable - using offline status guestToolsNotInstalled"
and "changing status to running"
- repeating within msecs - not on to 30 sec vmtools polling
interval
- rapidly filling /var/log/vmware/hostd.log
- section of log attached (hope the attachment is usable)
/vmfs/volumes/*/<VM>/vmware.log file contains:
===============================================
Jul 21 14:24:12.677: vcpu-1| GuestRpc: Channel 0, guest application toolbox.
Jul 21 14:24:12.677: vcpu-1| Vix: [104286 mainDispatch.c:3169]:
VMAutomationReportPowerStateChange: Reporting power state change
(opcode=2, err=0).
Jul 21 14:24:12.696: vcpu-1| TOOLS ToolsCapabilityGuestConfDirectory
received /etc/vmware-tools
Jul 21 14:24:12.701: vcpu-1| TOOLS setting legacy tools version to
'2147483647', manifest status is 4
Jul 21 14:24:12.702: vcpu-1| DISKLIB-DDB : "toolsVersion" =
"2147483647" (was "0")
Jul 21 14:24:12.732: vcpu-1| VMXVmdb_SetToolsVersionState: status value
set to 'notAvailable'
Jul 21 14:24:12.732: vcpu-1| TOOLS unified loop capability requested by
'toolbox'; now sending options via TCLO
Jul 21 14:24:12.734: vcpu-1| TOOLS sending 'OS_PowerOn' (3) state change
request
Jul 21 14:24:12.735: vcpu-1| Guest: toolbox: Version: build-402641
Jul 21 14:24:12.815: vcpu-0| TOOLS state change 3 returned status 1
The question is what am I forgetting to set?
Thanks.
-- John Wolfe UnXis, Inc.
[2011-07-21 14:24:12.681 F668A6D0 verbose
'vm:/vmfs/volumes/4d9cd08a-908ede54-6bdc-001517a963f5/jlw-osr6mp4-030/jlw-osr6mp4-030.vmx']
Running status of tools changed to: running
[2011-07-21 14:24:12.681 F668A6D0 verbose
'vm:/vmfs/volumes/4d9cd08a-908ede54-6bdc-001517a963f5/jlw-osr6mp4-030/jlw-osr6mp4-030.vmx']
Unexpected toolsVersionStatus notAvailable, use offline status
guestToolsNotInstalled
[2011-07-21 14:24:12.735 F645CB90 verbose
'vm:/vmfs/volumes/4d9cd08a-908ede54-6bdc-001517a963f5/jlw-osr6mp4-030/jlw-osr6mp4-030.vmx']
Version status of tools: notAvailable
[2011-07-21 14:24:12.735 F645CB90 verbose
'vm:/vmfs/volumes/4d9cd08a-908ede54-6bdc-001517a963f5/jlw-osr6mp4-030/jlw-osr6mp4-030.vmx']
Current tools version: 0, tools version updated to 2147483647
[2011-07-21 14:24:12.856 F645CB90 verbose
'vm:/vmfs/volumes/4d9cd08a-908ede54-6bdc-001517a963f5/jlw-osr6mp4-030/jlw-osr6mp4-030.vmx']
Time to gather config: 120 (msecs)
[2011-07-21 14:24:12.867 F645CB90 verbose
'vm:/vmfs/volumes/4d9cd08a-908ede54-6bdc-001517a963f5/jlw-osr6mp4-030/jlw-osr6mp4-030.vmx']
Running status of tools changed to: running
[2011-07-21 14:24:12.868 F6399B90 verbose
'vm:/vmfs/volumes/4d9cd08a-908ede54-6bdc-001517a963f5/jlw-osr6mp4-030/jlw-osr6mp4-030.vmx']
Unexpected toolsVersionStatus notAvailable, use offline status
guestToolsNotInstalled
[2011-07-21 14:24:13.490 F5C0AB90 verbose
'vm:/vmfs/volumes/4d9cd08a-908ede54-6bdc-001517a963f5/jlw-osr6mp4-030/jlw-osr6mp4-030.vmx']
Running status of tools changed to: notRunning
[2011-07-21 14:24:13.491 F5C0AB90 verbose
'vm:/vmfs/volumes/4d9cd08a-908ede54-6bdc-001517a963f5/jlw-osr6mp4-030/jlw-osr6mp4-030.vmx']
Unexpected toolsVersionStatus notAvailable, use offline status
guestToolsNotInstalled
[2011-07-21 14:24:14.490 F64DEB90 verbose
'vm:/vmfs/volumes/4d9cd08a-908ede54-6bdc-001517a963f5/jlw-osr6mp4-030/jlw-osr6mp4-030.vmx']
Running status of tools changed to: running
[2011-07-21 14:24:14.491 F64DEB90 verbose
'vm:/vmfs/volumes/4d9cd08a-908ede54-6bdc-001517a963f5/jlw-osr6mp4-030/jlw-osr6mp4-030.vmx']
Unexpected toolsVersionStatus notAvailable, use offline status
guestToolsNotInstalled
[2011-07-21 14:24:15.577 F649DB90 verbose
'vm:/vmfs/volumes/4d9cd08a-908ede54-6bdc-001517a963f5/jlw-osr6mp4-030/jlw-osr6mp4-030.vmx']
Actual VM overhead: 137453568 bytes
[2011-07-21 14:24:15.578 F64DEB90 verbose 'PropertyJournal']
ERProviderImpl<BaseT>::_GetChanges: Aggregate version Overflow 656
resourceConfig
[2011-07-21 14:24:15.612 F649DB90 verbose 'Vmsvc'] RefreshVms updated overhead
for 1 VM
[2011-07-21 14:24:18.885 F6358B90 info 'DiskLib'] DISKLIB-VMFS :
"/vmfs/volumes/4d9cd08a-908ede54-6bdc-001517a963f5/jlw-osr6mp4-030/jlw-osr6mp4-030-flat.vmdk"
: open successful (21) size = 8589934592, hd = 0. Type 3
[2011-07-21 14:24:18.885 F6358B90 info 'DiskLib'] DISKLIB-VMFS :
"/vmfs/volumes/4d9cd08a-908ede54-6bdc-001517a963f5/jlw-osr6mp4-030/jlw-osr6mp4-030-flat.vmdk"
: closed.
[2011-07-21 14:24:19.025 F668A6D0 verbose
'vm:/vmfs/volumes/4d9cd08a-908ede54-6bdc-001517a963f5/jlw-osr6mp4-030/jlw-osr6mp4-030.vmx']
Unexpected toolsVersionStatus notAvailable, use offline status
guestToolsNotInstalled
[2011-07-21 14:24:30.386 F64DEB90 verbose
'vm:/vmfs/volumes/4d9cd08a-908ede54-6bdc-001517a963f5/jlw-osr6mp4-030/jlw-osr6mp4-030.vmx']
Unexpected toolsVersionStatus notAvailable, use offline status
guestToolsNotInstalled
[2011-07-21 14:24:30.388 F5C0AB90 verbose
'vm:/vmfs/volumes/4d9cd08a-908ede54-6bdc-001517a963f5/jlw-osr6mp4-030/jlw-osr6mp4-030.vmx']
Unexpected toolsVersionStatus notAvailable, use offline status
guestToolsNotInstalled
[2011-07-21 14:24:30.391 F641BB90 verbose
'vm:/vmfs/volumes/4d9cd08a-908ede54-6bdc-001517a963f5/jlw-osr6mp4-030/jlw-osr6mp4-030.vmx']
Unexpected toolsVersionStatus notAvailable, use offline status
guestToolsNotInstalled
[2011-07-21 14:24:30.402 F649DB90 verbose
'vm:/vmfs/volumes/4d9cd08a-908ede54-6bdc-001517a963f5/jlw-osr6mp4-030/jlw-osr6mp4-030.vmx']
Unexpected toolsVersionStatus notAvailable, use offline status
guestToolsNotInstalled
[2011-07-21 14:24:30.578 F6358B90 verbose
'vm:/vmfs/volumes/4d9cd08a-908ede54-6bdc-001517a963f5/jlw-osr6mp4-030/jlw-osr6mp4-030.vmx']
Unexpected toolsVersionStatus notAvailable, use offline status
guestToolsNotInstalled
[2011-07-21 14:24:44.570 F5C0AB90 verbose
'vm:/vmfs/volumes/4d9cd08a-908ede54-6bdc-001517a963f5/jlw-osr6mp4-030/jlw-osr6mp4-030.vmx']
Unexpected toolsVersionStatus notAvailable, use offline status
guestToolsNotInstalled
[2011-07-21 14:24:51.413 F6358B90 verbose 'ResourcePool ha-root-pool'] Root
pool capacity changed from 15533MHz/6817MB to 15533MHz/6818MB
[2011-07-21 14:24:52.682 F668A6D0 verbose
'vm:/vmfs/volumes/4d9cd08a-908ede54-6bdc-001517a963f5/jlw-osr6mp4-030/jlw-osr6mp4-030.vmx']
Updating current heartbeatStatus: yellow
[2011-07-21 14:25:22.684 F6399B90 verbose
'vm:/vmfs/volumes/4d9cd08a-908ede54-6bdc-001517a963f5/jlw-osr6mp4-030/jlw-osr6mp4-030.vmx']
Updating current heartbeatStatus: green
[2011-07-21 14:25:27.355 F63DAB90 verbose 'Cimsvc'] Ticket issued for CIMOM
version 1.0, user root
[2011-07-21 14:26:03.913 F6399B90 verbose
'vm:/vmfs/volumes/4d9cd08a-908ede54-6bdc-001517a963f5/jlw-osr6mp4-030/jlw-osr6mp4-030.vmx']
Unexpected toolsVersionStatus notAvailable, use offline status
guestToolsNotInstalled
[2011-07-21 14:26:57.680 F649DB90 verbose 'Cimsvc'] Ticket issued for CIMOM
version 1.0, user root
[2011-07-21 14:27:01.509 F641BB90 verbose 'DvsManager'] PersistAllDvsInfo called
------------------------------------------------------------------------------
5 Ways to Improve & Secure Unified Communications
Unified Communications promises greater efficiencies for business. UC can
improve internal communications as well as offer faster, more efficient ways
to interact with customers and streamline customer service. Learn more!
http://www.accelacomm.com/jaw/sfnl/114/51426253/
_______________________________________________
open-vm-tools-devel mailing list
open-vm-tools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open-vm-tools-devel