noobaa-core
noobaa-core copied to clipboard
noobaa install struck in noobaa-default-backing-store-noobaa
Environment info
- NooBaa Version: 5.7.0
- Platform: OpenShift 4.7.4
Actual behavior
1.when trying to install noobaa 5.7.0 in ocp cluster getting this error Unable to attach or mount volumes: unmounted volumes=[tmp-logs-vol default-token-v8hdr noobaastorage], unattached volumes=[tmp-logs-vol default-token-v8hdr noobaastorage]: timed out waiting for the condition for noobaa-default-backing-store-noobaa-pod-28da7ba3 continuously terminating and restarting
Expected behavior
- to install noobaa 5.7.0 in ocp
Steps to reproduce
1.noobaa install --db-storage-class='ibm-spectrum-scale-csi-lt' --db-volume-size-gb=2 --pv-pool-default-storage-class='ibm-spectrum-scale-csi-lt' --image-pull-secret='regcred'
More information - Screenshots / Logs / Other output
#------------------# #- Backing Stores -# #------------------#
NAME TYPE TARGET-BUCKET PHASE AGE noobaa-default-backing-store pv-pool Creating 2m59s
#------------------# #- Bucket Classes -# #------------------#
NAME PLACEMENT NAMESPACE-POLICY PHASE AGE noobaa-default-bucket-class {"tiers":[{"backingStores":["noobaa-default-backing-store"]}]} null Verifying 3m8s
#-----------------# #- Bucket Claims -# #-----------------#
No OBCs found.
oc get pods NAME READY STATUS RESTARTS AGE noobaa-core-0 1/1 Running 0 6m22s noobaa-db-0 1/1 Running 0 6m22s noobaa-default-backing-store-noobaa-pod-28da7ba3 0/1 Terminating 0 2s noobaa-endpoint-5cd69779d9-bmlnl 1/1 Running 0 4m42s noobaa-operator-89bbd5dd6-h8cfb 1/1 Running 0 6m39s
getting this error in noobaa-default-backing-store-noobaa-pod-28da7ba3 pod Unable to attach or mount volumes: unmounted volumes=[tmp-logs-vol default-token-v8hdr noobaastorage], unattached volumes=[tmp-logs-vol default-token-v8hdr noobaastorage]: timed out waiting for the condition
Seems like a problem in creating/attaching PVCs. Can you create a PV/PVC for another application?
in the same namespace of noobaa? or different namespace
any NS
yes I am able to create and attach it to pod no such error has come and even 5.5.0-nsfs works fine but the problem is for above versions like 5.6.0,5.7.0 this some detailed description on the error I got https://github.com/noobaa/noobaa-core/issues/6503
Can you attach all the logs of the operator POD and the logs of the noobaa-default-backing-store-noobaa-pod-28da7ba3 pod AND a kubectl describe on the noobaa-default-backing-store-noobaa-pod-28da7ba3 pod ?
logs of noobaa operator noobaa operator log
logs of noobaa-default-backing-store-noobaa-pod-5e85efad oc logs noobaa-default-backing-store-noobaa-pod-5e85efad Error from server (BadRequest): container "noobaa-agent" in pod "noobaa-default-backing-store-noobaa-pod-5e85efad" is waiting to start: ContainerCreating
oc describe pod noobaa-default-backing-store-noobaa-pod-5e85efad
Name: noobaa-default-backing-store-noobaa-pod-5e85efad
Namespace: noobaa
Priority: 0
Node: worker2.deeghuge2.cp.fyre.ibm.com/10.17.91.240
Start Time: Sun, 16 May 2021 20:13:37 -0700
Labels: app=noobaa
pool=noobaa-default-backing-store
Annotations: k8s.v1.cni.cncf.io/network-status:
[{
"name": "",
"interface": "eth0",
"ips": [
"10.254.19.168"
],
"default": true,
"dns": {}
}]
k8s.v1.cni.cncf.io/networks-status:
[{
"name": "",
"interface": "eth0",
"ips": [
"10.254.19.168"
],
"default": true,
"dns": {}
}]
openshift.io/scc: restricted
Status: Terminating (lasts 3d10h)
Termination Grace Period: 30s
IP:
IPs:
Seeing the same issue after a successful noobaa manual install (using noobaa binary) on 20210526 build:
Intermediate builds issue, no longer relevant