The operation is not supported on the object."Scan or remediation is not supported on <VM_Name> because of unsupported OS <OS_Name>"The operation is not supported on the object." status./var/log/vmware/vmware-updatemgr/vum-server/vmware-vum-server-xx.log) shows similar entries:
info vmware-vum-server[57005] [Originator@6876 sub=Activation.trace] [activationValidator 1127] Invoke done: integrity.UpdateManager.scan[#51] --> Result:[#51] --> 'vim.Task:c3513074-0f3f-4b7f-93ca-4d73ea63f475:task-298559'verbose vmware-vum-server[02327] [Originator@6876 sub=JobDispatcher] [JobDispatcher 420] The number of tasks: 1info vmware-vum-server[02327] [Originator@6876 sub=JobDispatcher] [JobDispatcher 2017] Scheduling task ScanTask{5326}info vmware-vum-server[02327] [Originator@6876 sub=JobDispatcher] [JobDispatcher 476] Starting task ScanTask{5326}info vmware-vum-server[02327] [Originator@6876 sub=VciScanTask.ScanTask{5326}] [vciTaskBase 1390] VciTask { id: ScanTask{5326}, type: com.vmware.vcIntegrity.ScanTask }: Setting VC task state to: runninginfo vmware-vum-server[02254] [Originator@6876 sub=InventoryMonitor] [InventoryMonitor 517] ProcessUpdate, Enter, Update version := 1416info vmware-vum-server[02254] [Originator@6876 sub=InventoryMonitor] [InventoryMonitor 1675] UpdateHandler: Last updateSetverbose vmware-vum-server[57024] [Originator@6876 sub=JobDispatcher] [JobDispatcher 1700] ProcessUpdateinfo vmware-vum-server[57068] [Originator@6876 sub=VciScanTask.ScanTask{5326}] [vciTaskBase 579] Task started...info vmware-vum-server[57068] [Originator@6876 sub=InventoryTree] [InventoryTree 433] [AcquireWriteLock] Node vm-12345 write locked successfully, new Lock state: Write.info vmware-vum-server[57068] [Originator@6876 sub=entityLocker] [entityLocker 153] [LockEntitiesInt] Entities to be locked: 1, entities actually locked: 1warning vmware-vum-server[57068] [Originator@6876 sub=SessionMgr] [sessionMgr 104] Cannot get activation or session. Returning server localeerror vmware-vum-server[57068] [Originator@6876 sub=vmOpsUtils] [vmOpsUtils 561] Action (SCAN) skipped for VM: <VM_Name>. The guest OS Microsoft <OS_Name> is not supportedinfo vmware-vum-server[57068] [Originator@6876 sub=InventoryTree] [InventoryTree 497] [ReleaseWriteLock] Released write lock on node vm-185497. Post unlock, notified all the waiting readers and writers.error vmware-vum-server[57068] [Originator@6876 sub=VciScanTask.ScanTask{5326}] [vciTaskBase 604] Task execution has failed: Fault cause: vmodl.fault.NotSupported
VMware is aware of this issue and working to resolve this in a future release.
Manually add the operating system to the list for VMware Update Manager.
mkdir /backup && cp /usr/lib/vmware-updatemgr/bin/vci-integrity.xml /backup/i /usr/lib/vmware-updatemgr/bin/vci-integrity.xml<vci_vcIntegrity> ..... </vci_vcIntegrity> section</vci_vcIntegrity> line, add the following lines, depending on the operating system configured in the virtual machine.<supportedWindowsGuestIds> <windows2019srv_64Guest/></supportedWindowsGuestIds><supportedWindowsGuestIds> <windows2019srvNext_64Guest/></supportedWindowsGuestIds><supportedWindowsGuestIds> <windows2022srvNext_64Guest/></supportedWindowsGuestIds><supportedWindowsGuestIds> <windows11_64Guest/></supportedWindowsGuestIds><supportedLinuxGuestIds> <debian11Guest/></supportedLinuxGuestIds><supportedLinuxGuestIds> <debian11_64Guest/></supportedLinuxGuestIds><supportedLinuxGuestIds> <rhel9_64Guest/> </supportedLinuxGuestIds><supportedLinuxGuestIds> <rocklinux_64Guest/></supportedLinuxGuestIds>
Note: To enter multiple OS versions (ie: Windows 2019 AND 2022), combine the lines as shown below.
For Windows<supportedWindowsGuestIds><windows2019srv_64Guest/><windows2019srvNext_64Guest/> </supportedWindowsGuestIds>
For Debian<supportedLinuxGuestIds> <debian11Guest/> <debian11_64Guest/> </supportedLinuxGuestIds>
wq!vmon-cli -r updatemgr Important: If the lines <supportedWindowsGuestIds> </supportedWindowsGuestIds> and/or <supportedLinuxGuestIs> </supportedLinuxGuestIds> appear more than once, VUM will crash. Ensure they appear only once in the file.
---------------------------------------------------
<rocklinux_64Guest/>
This issue is being checked by Diagnostics for VMware Cloud Foundation.
The check is as follows:
If the scan is failing the vCenter Server vCSA VM, the scan/failure can be ignored as the VCSA VM uses a custom OS and modifying its OS and packages is not supported.
---------------------------------------------------------------------------------------------------------
The Same issue can occur if the VM in question is running on very outdated Virtual Hardware.
Powering off the VM and updating the hardware using the "Update" tab as per kb Update Virtual Hardware will resolve this.
Once the VM hardware is up to date the updates tab should return to working as normal once the VM is powered back on.