pvc charm-multus-operator-0 stuck in pending state
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Multus Charm |
New
|
Undecided
|
Unassigned |
Bug Description
contrail@maas:~$ kubectl get sc
2022/02/22 18:39:18.907688 system_key.go:253: running from non-installed location /home/contrail/
NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPA
ceph-ext4 rbd.csi.ceph.com Delete Immediate true 3h
ceph-xfs rbd.csi.ceph.com Delete Immediate true 3h
cephfs (default) cephfs.csi.ceph.com Delete Immediate true 3h
contrail@maas:~$ kubectl get po
2022/02/22 18:39:22.688507 system_key.go:253: running from non-installed location /home/contrail/
NAME READY STATUS RESTARTS AGE
csi-cephfsplugi
csi-cephfsplugi
csi-cephfsplugi
csi-cephfsplugi
csi-cephfsplugi
csi-rbdplugin-5887t 3/3 Running 0 169m
csi-rbdplugin-84x4z 3/3 Running 0 170m
csi-rbdplugin-
csi-rbdplugin-
csi-rbdplugin-
contrail@maas:~$
contrail@maas:~$ kubectl get pv
2022/02/22 18:38:53.254479 system_key.go:253: running from non-installed location /home/contrail/
No resources found
contrail@maas:~$ kubectl get pvc --all-namespaces
2022/02/22 18:39:04.108593 system_key.go:253: running from non-installed location /home/contrail/
NAMESPACE NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
my-k8s-model charm-multus-
contrail@maas:~$ kubectl get pods --all-namespaces
2022/02/22 18:37:55.747946 system_key.go:253: running from non-installed location /home/contrail/
NAMESPACE NAME READY STATUS RESTARTS AGE
default csi-cephfsplugi
default csi-cephfsplugi
default csi-cephfsplugi
default csi-cephfsplugi
default csi-cephfsplugi
default csi-rbdplugin-5887t 3/3 Running 0 168m
default csi-rbdplugin-84x4z 3/3 Running 0 169m
default csi-rbdplugin-
default csi-rbdplugin-
default csi-rbdplugin-
ingress-
ingress-
ingress-
kube-system coredns-
kube-system kube-state-
kube-system metrics-
kubernetes-
kubernetes-
my-k8s-model modeloperator-
my-k8s-model multus-operator-0 0/1 Pending 0 167m
contrail@maas:~$ kubectl describe pvc charm-multus-
2022/02/22 18:36:36.590891 system_key.go:253: running from non-installed location /home/contrail/
Name: charm-multus-
Namespace: my-k8s-model
StorageClass: cephfs
Status: Pending
Volume:
Labels: operator.
Annotations: controller.
Finalizers: [kubernetes.
Capacity:
Access Modes:
VolumeMode: Filesystem
Used By: multus-operator-0
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal ExternalProvisi
Normal Provisioning 15s (x42 over 166m) cephfs.
contrail@maas:~$ kubectl describe pod multus-operator-0 -n my-k8s-model
2022/02/22 18:38:31.390847 system_key.go:253: running from non-installed location /home/contrail/
Name: multus-operator-0
Namespace: my-k8s-model
Priority: 0
Node: <none>
Labels: controller-
Annotations: apparmor.
Status: Pending
IP:
IPs: <none>
Controlled By: StatefulSet/
Containers:
juju-operator:
Image: jujusolutions/
Port: <none>
Host Port: <none>
Command:
/bin/sh
Args:
-c
export JUJU_DATA_
export JUJU_TOOLS_
mkdir -p $JUJU_TOOLS_DIR
cp /opt/jujud $JUJU_TOOLS_
$
Environment:
JUJU_
JUJU_
JUJU_
JUJU_
Mounts:
/
/
/
/
Conditions:
Type Status
PodScheduled False
Volumes:
charm:
Type: PersistentVolum
ClaimName: charm-multus-
ReadOnly: false
multus-
Type: ConfigMap (a volume populated by a ConfigMap)
Name: multus-
Optional: false
kube-
Type: Projected (a volume that contains injected data from multiple sources)
TokenExpira
ConfigMapName: kube-root-ca.crt
ConfigMapOp
DownwardAPI: true
QoS Class: BestEffort
Node-Selectors: <none>
Tolerations: node.kubernetes
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning FailedScheduling 2m29s (x136 over 168m) default-scheduler 0/2 nodes are available: 2 pod has unbound immediate PersistentVolum
contrail@maas:~$ operator- 0 -n my-k8s-model bin/kubectl: ignoring system-key operator- 0 juju.is/ name=multus
operator. juju.is/ target= application juju.is/ id: bf08dd9d- e631-4bb2- 80f8-16a186427c a1
model. juju.is/ id: ffaddd5f- e77a-4488- 8e59-b7f4f57a3c 63
volume. beta.kubernetes .io/storage- provisioner: cephfs.csi.ceph.com
volume. kubernetes. io/storage- provisioner: cephfs.csi.ceph.com io/pvc- protection] csi.ceph. com_csi- cephfsplugin- provisioner- 6f7ffd894d- hdrkj_909f245f- 3d16-419d- b18a-fa97c65f23 04 failed to provision volume with StorageClass "cephfs": rpc error: code = DeadlineExceeded desc = context deadline exceeded oning 3m52s (x26 over 9m39s) persistentvolum e-controller waiting for a volume to be created, either by external provisioner "cephfs. csi.ceph. com" or manually created by system administrator csi.ceph. com_csi- cephfsplugin- provisioner- 6f7ffd894d- hdrkj_909f245f- 3d16-419d- b18a-fa97c65f23 04 External provisioner is provisioning volume for claim "my-k8s- model/charm- multus- operator- 0" csi.ceph. com_csi- cephfsplugin- provisioner- 6f7ffd894d- hdrkj_909f245f- 3d16-419d- b18a-fa97c65f23 04 failed to provision volume with StorageClass "cephfs": rpc error: code = Aborted desc = an operation with the given Volume ID pvc-1f09ceae- f78b-4825- b76a-2668437bc5 c5 already exists
contrail@maas:~$ kubectl describe pvc charm-multus-
2022/02/22 19:24:24.455510 system_key.go:253: running from non-installed location /home/contrail/
Name: charm-multus-
Namespace: my-k8s-model
StorageClass: cephfs
Status: Pending
Volume:
Labels: operator.
Annotations: controller.
Finalizers: [kubernetes.
Capacity:
Access Modes:
VolumeMode: Filesystem
Used By: multus-operator-0
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning ProvisioningFailed 7m9s cephfs.
Normal ExternalProvisi
Normal Provisioning 2m55s (x10 over 9m39s) cephfs.
Warning ProvisioningFailed 2m55s (x9 over 7m9s) cephfs.
contrail@maas:~$