Storage Providers are showing offline in vCenter
search cancel

Storage Providers are showing offline in vCenter

book

Article ID: 312766

calendar_today

Updated On:

Products

VMware vCenter Server VMware vSphere ESXi

Issue/Introduction

This article will help to bring I/O filters online.

  • vmware-sps service starts properly
  • On VCSA SSH, "wget localhost:22000/sms/HealthStatus ; cat HealthStatus ; rm HealthStatus" shows SPS health as green.
  • vCenter > Configure > Storage providers showing as offline or not updated.
  • vCenter > Configure > resync storage providers giver error: "Operation Failed".
  • Upon checking the logs, similar entries may be observed:

    /var/log/vmware/vmware-sps/sps.log:

    ERROR opId=llaezcd1-1025-auto-si-h5:70000144 com.vmware.vim.sms.StorageManagerImpl - [resyncIOFilterProviders] Operation resyncIOFilterProviders failed for providers: [https://vcenterFQDN/:9080/version.xml, https://vcenterFQDN/:9080/version.xml, https://vcenterFQDN/:9080/version.xml
    YYYY-MM-DDTHH:MM:SS.175Z [pool-30-thread-4] ERROR opId=<OPID> com.vmware.vim.sms.task.TaskImpl - State of the task cannot be updated after task is completed (successfully or failed)


Environment

VMware vSphere ESXi 7.0
VMware vCenter Server 7.0.0
VMware vCenter Server 8.0.2

Resolution

  • Please take an offline snapshot and/or backup of all vCenter nodes in the SSO domain. Do not skip this step.
  • To rectify this, delete the SMS certificate, unregister the offline providers, and restart the SPS service to register the storage providers with the SHA256 certificate. The below steps can also be used to reset the storage providers for troubleshooting.
  • Refer to the resolution section of the following KB with the steps to run the python script "unreg_vasa.py": /storage/log filling up after vCenter upgrade to 7.0u2
  • If storage providers do not show up after performing the above steps, try resync, and if resync also fails then check if iofiltervpd service is working on each ESXi host or not.
  • Run the below command to check the status of 'iofiltervpd' service on ESXi host -

chkconfig --list | grep iofiltervpd

  • If the status of 'iofiltervpd' service is 'off', then run the below command to start the service -

chkconfig iofiltervpd on