vSphere Lifecycle Manager(vLCM) Hardware Compatibility check displays error 'The selections of VMware Compatibility Guide entry: xxxxxx made to this storage device is not found'
search cancel

vSphere Lifecycle Manager(vLCM) Hardware Compatibility check displays error 'The selections of VMware Compatibility Guide entry: xxxxxx made to this storage device is not found'

book

Article ID: 313819

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Symptoms:
On running vLCM Hardware Compatibility check for disks drives, you may get the below error:
"The selections of VMware Compatibility Guide entry: xxxxxx made to this storage device is not found"

VLCM.png

User can get stuck with no way of removing a previous VMware Compatibility Guide (VCG) override in the UI if there are more than one matching VCG entry and one is removed from the VCG entirely. This could yield some unwanted scenarios like a VCG override that either becomes invalid because that VCF entry no longer exists or a unique single matching entry that the user may have not wanted or incorrectly selected.
 


Environment

VMware vCenter Server 7.0.x

Cause

VCG entry may be removed after user previously resolved VCG entry duplicate matches. User is now stuck with errors as storage device not found for VCG selection.

Resolution

VMware is aware of this issue and working to resolve this in a future release to allow UI option to remove VCG override selections.

Note: This issue is noticed in vSphere 7.0 and later versions

Workaround:

To fix this issue, please run the attached "vcgentrydel.py" script on vCenter Server with the required disk parameters to remove VCG entry:

  • Login to VCSA using root account through SSH.
  • Download the attached "vcgentrydel.py" and upload it to the VCSA /tmp directory using WINSCP.

If you got an error while connecting to VCSA through WINSCP, see Connecting to vCenter Server Virtual Appliance 6.0 using WinSCP fails with the error: Received too large SFTP packet (2115983)
If you got an error while uploading the file to VCSA through WINSCP, see Error when uploading files to vCenter Server Appliance using WinSCP (2107727)

  • Run the below command to show the command parameters:

# python vcgentrydel.py --help

# root@VCSA5 [ /tmp ]# python vcgentrydel.py --help
usage: Deletes VCG override entry for disk. Refer to VMware Compatibility guide for param details
       [-h] --cluster CLUSTER --vendor VENDOR [--partnum PARTNUM] --model
       MODEL --capacity CAPACITY --firmware FIRMWARE

optional arguments:
  -h, --help           show this help message and exit
  --cluster CLUSTER    Cluster MoRef
  --vendor VENDOR      Hard disk vendor standard . ie ATA, NVMe
  --partnum PARTNUM    Part Number if available i.e P13695-B21
  --model MODEL        Model info for device
  --capacity CAPACITY  Disk size in bytes. e.g 50 GiB = 50 x 1073741824 =
                       53687091200. https://convertermaniacs.com/gigabyte-to-
                       byte/gb-to-bytes-converter.html
  --firmware FIRMWARE  Firmware version for hardware


Example usage:-
# python vcgentrydel.py --cluster domain-c42 --vendor ATA --model VK001920GWSXK --capacity 53687091200 --firmware_version HPG2

Attachments

vcgentrydel get_app