DRS or Storage DRS state changes automatically (enables or disables) on its own
search cancel

DRS or Storage DRS state changes automatically (enables or disables) on its own

book

Article ID: 391068

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

  • Upon disabling Storage DRS (SDRS) from the vSphere Client, it automatically becomes re-enabled after a period of time.
  • Upon enabling or configuring Compute DRS from the vSphere Client, it automatically becomes disabled or its automation level is changed without user intervention.
  • Any manual adjustments to the DRS or SDRS configurations are continuously reverted to a previous state.
  • Upon disabling the SDRS from the vCenter GUI, after some time it automatically gets enabled:
  • Below error is found in vpxd.log ( /var/log/vmware/vpxd/vpxd.log)
    info vpxd[08261] [Originator@6876 sub=vpxLro opID=ProcessScheduledTaskFiring-3113##98] [VpxLRO] -- BEGIN task-1###75 -- StorageResourceManager -- vim.StorageResourceManager.configureStorageDrsForPod -- 5####b7-a##5-###be-###9-ab######29b6
    info vpxd[08261] [Originator@6876 sub=vpxLro opID=ProcessScheduledTaskFiring-3113##98] [VpxLRO] -- FINISH task-1###75
    info vpxd[06301] [Originator@6876 sub=vpxLro opID=643c###ce] [VpxLRO] -- FINISH lro-2#####489
    error vpxd[06301] [Originator@6876 sub=Default opID=643##5ce] [VpxLRO] -- ERROR lro-2#####489 -- 52####da-7##d-d##4-8e##-d29######6b(52a#####9-a9##0-33##c-4###9-9c######f507c) -- VpxSettings -- vim.option.OptionManager.queryView: :vim.fault.InvalidName
    --> Result:
    --> (vim.fault.InvalidName) {
    -->    faultCause = (vmodl.MethodFault) null,
    -->    faultMessage = <unset>,
    -->    name = "config.vpxd.stats.maxQueryMetrics",
    -->    entity = <unset>
    -->    msg = ""
    --> }
    --> Args:
    -->
    --> Arg name:
    --> "config.vpxd.stats.maxQueryMetrics"
    info vpxd [Originator@6### sub=vpxLro opID=#######] [VpxLRO] -- BEGIN lro-######### -- PerfMgr -- vim.PerformanceManager.queryStats -- 52####da-7##d-d##4-8##3-d2#####496b(52####b9-a##10-##3dc-4##9-9c####307c)
    info vpxd[Originator@6### sub=vpxLro opID=20####cb] [VpxLRO] -- FINISH lro-238#####0
    info vpxd[Originator@6### sub=vpxLro opID=3d#####9] [VpxLRO] -- BEGIN lro-23#####91 -- VpxSettings -- vim.option.OptionManager.queryView -- 52####eda-7###-d###-8##-d29b3fb#####(52a5###b9-a##0-3##c-48##-9c6f79######c)
    


Environment

VMware vCenter Server

Cause

This behavior occurs when there is an active, pre-configured Scheduled Task running in vCenter Server that is set to periodically reconfigure the cluster's DRS or Storage DRS settings. When the scheduled time triggers, vCenter executes the task, overriding any manual changes made by the administrator.

Resolution

To resolve this issue and ensure your manual configuration remains persistent, you must locate and remove the scheduled task responsible for reverting the changes.

  1. Log in to the vSphere Client using an administrator account.
  2. From the inventory tree, navigate to the affected Compute Cluster (for DRS) or Datastore Cluster (for SDRS).
  3. Select the Configure tab.
  4. Scroll down the left pane and click on Scheduled Tasks.
  5. Review the list of active scheduled tasks. You should see a task named Configure Storage DRS or Reconfigure Cluster
  6. Select the identified task and click Remove (or Delete) to delete the scheduled operation.
  7. Once the task is successfully removed, manually set your desired DRS or SDRS state. The service will no longer disable or enable on its own.