I followed this portworx Documentation:
Error Description:
px-cluster
Pod log:
@ms-aro463-px-cluster4-pt7sj-worker-westus22-lwtz7 portworx[40285]: time="2023-04-04T19:48:02Z" level=warning msg="azure.Describe got AuthN error -- fetching secrets and retrying" file="azure_storage.go:79" component=porx/storage/hal/provider/azure error="azure.BearerAuthorizer#WithAuthorization: Failed to refresh the Token for request to https://management.azure.com/subscriptions/6f046466-4b41-405b-b34c-c8992178XXXX/resourceGroups/aro-ms-aro463-px-cluster4/providers/Microsoft.Compute/virtualMachines/ms-aro463-px-cluster4-pt7sj-worker-westus22-lwtz7?%24expand=instanceView&api-version=2019-12-01: StatusCode=400 -- Original Error: adal: Refresh request failed. Status Code = '400'. Response body: {\"error\":\"invalid_request\",\"error_description\":\"Identity not found\"} Endpoint http://169.254.169.254/metadata/identity/oauth2/token?api-version=2018-02-01&resource=https%3A%2F%2Fmanagement.azure.com%2F
Pod Status:
[kubeadmin@bastionNode ~]$ oc get po
NAME READY STATUS RESTARTS AGE
apiserver-watcher-ms-aro463-px-cluster4-pt7sj-master-0 1/1 Running 1 16h
apiserver-watcher-ms-aro463-px-cluster4-pt7sj-master-1 1/1 Running 1 16h
apiserver-watcher-ms-aro463-px-cluster4-pt7sj-master-2 1/1 Running 1 16h
autopilot-865c94dccd-w9zpg 1/1 Running 0 70m
portworx-api-4bl9z 0/1 Running 0 176m
portworx-api-5d7sw 0/1 Running 0 176m
portworx-api-cbgtr 0/1 Running 0 176m
portworx-operator-7785d48ddf-f7jrm 1/1 Running 0 179m
prometheus-px-prometheus-0 2/2 Running 0 71m
px-cluster-9626af2f-3f1e-4770-8c67-2edfe8c9822a-czqgp 1/2 Running 11 (6m13s ago) 176m
px-cluster-9626af2f-3f1e-4770-8c67-2edfe8c9822a-q7wtt 1/2 Running 11 (6m13s ago) 176m
px-cluster-9626af2f-3f1e-4770-8c67-2edfe8c9822a-qzj65 1/2 Running 11 (6m13s ago) 176m
px-csi-ext-8f4d8f64c-2jlhr 4/4 Running 0 70m
px-csi-ext-8f4d8f64c-bwrcc 4/4 Running 0 176m
px-csi-ext-8f4d8f64c-jns92 4/4 Running 0 71m
px-prometheus-operator-788d4fd9f9-9t6c6 1/1 Running 0 71m
stork-5556c6fbbd-6ggzn 1/1 Running 0 70m
stork-5556c6fbbd-fb26h 1/1 Running 0 71m
stork-5556c6fbbd-sptth 1/1 Running 0 71m
stork-scheduler-54c884c5cd-578gh 1/1 Running 0 71m
stork-scheduler-54c884c5cd-jcqgv 1/1 Running 0 70m
stork-scheduler-54c884c5cd-sl6k2 1/1 Running 0 71m
Secret Detail:
[kubeadmin@bastionNode ~]$ oc get secret | grep px-azure
px-azure Opaque 3 3h32m