Unable to modify the storage policy of "Image Storage Policy" and "Ephemeral Storage Policy" via UI
search cancel

Unable to modify the storage policy of "Image Storage Policy" and "Ephemeral Storage Policy" via UI

book

Article ID: 425003

calendar_today

Updated On:

Products

VMware vSphere Kubernetes Service

Issue/Introduction

After following the KB#385016 to apply a new storage policy to the supervisor cluster, it's not working properly as expected.

Only the "MasterStoragePolicy" was changed. 

# ./wcp-db-dump.py |grep -i storage
          "ImageStorage": {
            "StoragePolicy": "eabeb5ff-####-####-####-########" <------------------- Old Policy
          "MasterStoragePolicy": "bc4464e9-####-####-####-########",  <------------------- New Policy
          "EphemeralStoragePolicy": "eabeb5ff-####-####-####-########" <------------------- Old Policy

 

Check the UI, there is only one option for control plan node, not for "Image Storage Policy" and "Ephemeral Storage Policy"


Environment

vCenter  8.0 U3g

Resolution

Workaround

SSH  to the vCenter 

Run the command to modify "Image Storage Policy" and "Ephemeral Storage Policy"

dcli com vmware vcenter namespacemanagement clusters update --cluster <cluster_moid> --image-storage-storage-policy <storage_policy_id> --ephemeral-storage-policy <storage_policy_id> 

- cluster_moid can be found via wcp-db-dump.py

- storage_policy_id can be found via 

kubectl get sc <target_sc> -o yaml

Note: Only find this issue in vCenter 8U3g. Not found in the other versions.