Some VMs missing from the list on All Virtual Machines tab
Problem description
Some virtual machines are missing from the “All Virtual Machines” tab in the Phoenix console.
Scenario addressed: vCenter/Esxi has three virtual machines and Phoenix console shows only one VM. To ensure all virtual machines are identified properly, each virtual machine is automatically assigned a universal unique identifier (UUID) by VMware.
Cause
The issue occurs when the same UUID is assigned to multiple virtual machines.
The same UUID is assigned If a VM is cloned or created from a Template.
Traceback
The main_service.log located in /var/log/Phoenix/ of your Phoenix Backup proxy shows:
========================================================
[INFO] VMWare : Product custom command-[list_vms] returned with result = ({'data': '{"10.3.0.60": {"host_fqdn": "1.1.1.1", "vmlist": [{"instance_uuid": "", "datacenter": "ha-datacenter", "name": "Druva-1", "power_state": "poweredOn", "vddk_info": {"6000C29e-0458-13a4-cd6f-5bccc86d3e47": {"datastore": "datastore2", "type": "SCSI", "size": 107374182400}}, "os": "Microsoft Windows Server 2016 or later (64-bit)", "vm_size": 107374182400, "osversion": "Microsoft Windows Server 2016 or later (64-bit)", "cbt_status": true},
{"instance_uuid": "", "datacenter": "ha-datacenter", "name": "Druva-2", "power_state": "poweredOn", "vddk_info": {"6000C29e-0458-13a4-cd6f-5bccc86d3e47": {"datastore": "datastore2", "type": "SCSI", "size": 107374182400}}, "os": "Microsoft Windows Server 2016 or later (64-bit)", "vm_size": 107374182400, "osversion": "Microsoft Windows Server 2016 or later (64-bit)", "cbt_status": true},
{"instance_uuid": "", "datacenter": "ha-datacenter", "name": "Druva-3", "power_state": "poweredOff", "vddk_info": {"6000C29e-0458-13a4-cd6f-5bccc86d3e47": {"datastore": "datastore2", "type": "SCSI", "size": 107374182400}}, "os": "Microsoft Windows Server 2016 or later (64-bit)", "vm_size": 107374182400, "osversion": "Microsoft Windows Server 2016 or later (64-bit)", "cbt_status": false},
========================================================
Resolution
- Change the UUID of your virtual machine. Follow instructions from this VMware KB article. Druva recommends consulting your VMware admin or VMware Support for expert assistance.
- Restart the Phoenix service on the backup proxy or reboot the Proxy once the UUID is changed.
To restart the Phoenix service on your backup proxy, run:
/etc/init.d/Phoenix stop
/etc/init.d/Phoenix start