'ContainerCreating' でスタックしているポッドのトレース ID を収集する
"nexus-volume" または "nexus-shared" ストレージ クラスを参照している PersistentVolumeClaims を使用するポッドがスタック状態になることはまれです。 ボリュームの作成またはノードへのボリュームのアタッチが失敗したために、ポッドが "ContainerCreating" 状態でスタックする場合があります。
"nexus-volume" および "nexus-shared" ストレージ クラスは、これらの問題の診断を可能にするために、ボリューム ライフサイクル操作にトレース ID を割り当てます。 この記事では、トレース ID を見つけてサポート リクエストに含める方法について説明します。
「Azure Operator Nexus Kubernetes クラスターに接続する」に従って、Nexus Kubernetes クラスターに接続します。
スタック状態のポッドを特定します。
kubectl get pod NAME READY STATUS RESTARTS AGE contoso-0 0/1 ContainerCreating 0 10m
スタックしているポッドで
kubectl describe <pod-name>
を実行し、出力をコピーします。 この切り詰められた例の 'contoso-0' ポッドには、3 つの PersistentVolumeClaims があります。 対応するすべての永続ボリュームを 'contoso-0' ポッドにアタッチできませんでした。 出力の Kubernetes イベント セクションには、ボリューム オーケストレーション エラーのエラー トレース ID が含まれています。kubectl describe pod contoso-0 Name: contoso-0 Volumes: persistent-storage-filesystem-1: Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace) ClaimName: persistent-storage-filesystem-1-contoso-0-0 ReadOnly: false persistent-storage-filesystem-1-2: Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace) ClaimName: persistent-storage-filesystem-1-2-contoso-0-0 ReadOnly: false persistent-storage-filesystem-1-3: Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace) ClaimName: persistent-storage-filesystem-1-3-contoso-0-0 ReadOnly: false Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal Scheduled 66s default-scheduler Successfully assigned scale-test/contoso-0-0 to contoso-37bb13b4-agentpool2-md-xltt4-cxjgz Warning FailedAttachVolume 8s (x6 over 26s) attachdetach-controller AttachVolume.Attach failed for volume "pvc-605d27e1-a360-4f04-a305-dc48bf2f9e8d" : rpc error: code = Internal desc = attachment (temporarily) failed; "traceid": "tr-aa0a7217-ac14-4237-845f-713966741c6e" Warning FailedAttachVolume 5s (x6 over 24s) attachdetach-controller AttachVolume.Attach failed for volume "pvc-225ebcc2-8a0f-4f17-afa1-b7a4f2c20b7e" : rpc error: code = Internal desc = attachment (temporarily) failed; "traceid": "tr-a57086a6-817c-4c16-b4cb-df5d1e12815f" Warning FailedAttachVolume 5s (x6 over 24s) attachdetach-controller AttachVolume.Attach failed for volume "pvc-c71f748c-d97e-4aac-a1fb-cd8d7b878c22" : rpc error: code = Internal desc = attachment (temporarily) failed; "traceid": "tr-82d2d5bf-cc99-4175-b293-1f67fc4ea7f3"
Azure portal を使用してサポート リクエストを作成し、
kubectl describe
コマンドの出力を含めます。 サポート プランの詳細については、Azure サポート プランに関するページを参照してください。