Unable to Select Datastore on host for VM Swap files after upgrading to 7.0.2
search cancel

Unable to Select Datastore on host for VM Swap files after upgrading to 7.0.2

book

Article ID: 318152

calendar_today

Updated On: 02-23-2024

Products

VMware vCenter Server

Issue/Introduction

Symptoms:
After upgrading to 7.0.2, user is no longer able to select any datastores on host when configuring VM swap files to be stored in dedicated datastores.
Datastores are visible but the option to select them is greyed out.

image.png

Environment

VMware vCenter Server 7.0.x

Cause

It is a HTML5 client-side bug

Resolution

This is a known issue in 7.0.2.

The issue is resolved in vCenter Server 7.0 Update 3 (build number 18700403)


Workaround:
  • Put the host in maintenance mode
  • Remove the host from cluster
  • Exit from maintenance mode
  • Datastores will be available to select for Swap file location
  • Once we select the desired datastore, move the host back in to the Cluster.

Or
  • We can assign a datastore for swap file location using the below PowerCLI script:
Connect-VIServer vcenter.youdomain.com -
Get-Cluster -Name "Cluster Name" | Get-VMHost | Set-VMHost -VMSwapfileDatastore "DatastoreName"

Additional Information

Impact/Risks:
Unable to change the datastore for Swap file location on host.