PowerCLI-Example-Scripts icon indicating copy to clipboard operation
PowerCLI-Example-Scripts copied to clipboard

Creating New-HVPool with NVIDIA A16 vGPU Profiles

Open yootzee opened this issue 1 year ago • 0 comments

Describe the bug

Creating a new Horizon Pool via New-HVPool using a JSON input file will fail (terminating) when using an A16 vGPU GRID profile (i.e. VGPUGridProfile: 'nvidia_a16_1b) for PcoipDisplaySettings.

Error is: MetadataError: The variable cannot be validated because the value nvidia_a16-1b is not a valid value for the VGPUGridPrifile variable

Reproduction steps

  1. Exported an existing pool to a json file. This is scripted, using Get-HVPoolSpec
  2. Create new pool using New-HVPool -Spec .json

...

Expected behavior

Create pool. Non-terminating error will be displayed about maxNumberOfMonitors and maxResolutionOfAyOneMonitor. But, these errors are expected and someone else has already opened an issue.

Additional context

I've updated the New-HVPool function in the PSM file to include 'nvidia_a16_1b' and 'nvidia_a16_2b' in the ValidateSet declaration and pool is created successfully.

yootzee avatar Dec 07 '23 15:12 yootzee