Symptoms:
- Patching vCenter Server Appliance (VCSA) via command line with the Patch iso mounted from local system using VMware Remote Console (VMRC) fails with "Invalid Type, expected String, instead got NoneType"
- Issue is seen if the VCSA VM is managed by the vCenter server on which the patching is attempted and VMRC is accessed via UI/Client of the same vCenter server
- /var/log/vmware/applmgmt/Patchrunner.log
2023-04-25T12:13:30.113Z container_framework:Patch DEBUG vmware.appliance.update.update_functions Running /bin/mount -o ro /dev/cdrom /mnt/iso-contents
2023-04-25T12:13:30.293Z container_framework:Patch DEBUG vmware.appliance.update.update_functions runCommandAndCheckResult failed: 'mount: /mnt/iso-contents: no medium found on /dev/sr0.\n'
2023-04-25T12:13:30.294Z container_framework:Patch DEBUG vmware.appliance.update.update_functions mount failed for /dev/cdrom
2023-04-25T12:13:30.294Z container_framework:Patch INFO vmware.appliance.update.update_functions Update manifest found in None
2023-04-25T12:13:30.294Z container_framework:Patch DEBUG vmware.appliance.update.update_functions Completed mounting ISO
2023-04-25T12:13:30.294Z container_framework:Patch INFO container_framework.utils getting original manifest from /mnt/iso-contents/rpm-manifest.json
2023-04-25T12:13:30.294Z container_framework:Patch ERROR vmware_b2b.patching.executor.hook_executor Patch hook 'container_framework:Patch' failed.
Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.