Adding a new disk to a VM on a SDRS fails with the HTML5 client
search cancel

Adding a new disk to a VM on a SDRS fails with the HTML5 client

book

Article ID: 336069

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Symptoms:
  • Editing a virtual machine and adding a device to an SDRS cluster displays the error:
Destination datastore is not in the storage POD
  • In the /var/log/vmware/vsphere-ui/logs/vsphere_client_virgo.log, you see entries similar:
[<YYYY-MM-DD><TIME>] [ERROR] http-nio-5090-exec-4 70000114 100003 200001 c.v.v.client.vm.storageDrs.impl.StorageRecommendationsValidator (vmodl.fault.InvalidArgument) {
faultCause = null,
faultMessage = (vmodl.LocalizableMessage) [
com.vmware.vim.binding.impl.vmodl.LocalizableMessageImpl@80131be
],
invalidProperty = dsId


Environment

VMware vCenter Server 6.7.x

Cause

This issue occurs because the HTML5 is detecting invalid datastore id (dsId) in the specification.

Resolution

This issue is resolved in vCenter Server 6.7 Update 3, available at VMware Downloads.

Workaround:
To work around this issue if you do not want to upgrade:
  • Do not use the HTML5 client for this operation.
  • In the flex client, choose VM -> Edit Settings.
  • On the Add New Device, click Add to start Hardware wizard.
  • Select Location and pick "Store with the virtual machine".
or 
https://kb.vmware.com/s/article/66781?lang=en_US