Every image has its own URL to pull from repository and network should allow to connect URL. Firewall scan will happen on individual images while pulling from repository.
Original Message:
Sent: Thu February 16, 2023 02:20 PM
From: Andrey Ilinskiy
Subject: MAS Core Installation
If it is an network problem or entitlement key, why it is a problem only with that image, but all previous created pods haven't that problem?
------------------------------
Andrey Ilinskiy
Original Message:
Sent: Thu February 16, 2023 01:38 AM
From: Ramakrishnudu Kayala
Subject: MAS Core Installation
Please validate below things.
- Check Internet connectivity and allowing to connect to cp.icr.io portal.
- Network and Firewall settings. There is chance firewall scan trying to block during image download from cp.icr.io/cp/sls/api-licensing:5.8.1 . For this try to run curl from your cluster.$curl cp.icr.io/cp/sls/api-licensing:5.8.1
- Check the your storage is supporting dynamic provisioning or not.
- Warning Failed 15m (x4 over 16m) kubelet Failed to pull image "cp.icr.io/cp/sls/api-licensing:5.8.1": rpc error: code = Unknown desc = reading manifest 5.8.1 in cp.icr.io/cp/sls/api-licensing: denied: insufficient scope - This message saying trying to pull image from portal and denied by firewall or network.
- make sure you have valid key file and entitlement key.
------------------------------
Ramakrishnudu Kayala
Original Message:
Sent: Wed February 15, 2023 11:07 AM
From: Andrey Ilinskiy
Subject: MAS Core Installation
Hello!
We trying to isntall MAS in our owen OCP cluster.
OCP 4.11.18
We have installed ibm Cloud Pack For Data, all is good.
Now installing MAS Core using playbook from MAS Devops Collection.
Exported all variables, all is good, but installation faling on ibm.mas_devops.sls : Wait for LicenseService to be ready.
Root case is that pod for sls-api-licensing faling to be created:
oc get pods -n ibm-sls -o wide
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
ibm-truststore-mgr-controller-manager-7d764954b4-l6nkt 1/1 Running 0 22m 10.129.2.106 worker2 <none> <none>
sls-api-licensing-647b75d866-glqc2 0/1 ImagePullBackOff 0 15m 10.129.2.111 worker2 <none> <none>
sls-truststore-worker-rtsw5 0/1 Completed 0 49m 10.129.2.101 worker2 <none> <none>
oc describe pod sls-api-licensing-647b75d866-glqc2 :
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 16m default-scheduler Successfully assigned ibm-sls/sls-api-licensing-647b75d866-glqc2 to worker2 by master3
Normal AddedInterface 16m multus Add eth0 [10.129.2.111/23] from openshift-sdn
Normal Pulling 15m (x4 over 16m) kubelet Pulling image "cp.icr.io/cp/sls/api-licensing:5.8.1"
Warning Failed 15m (x4 over 16m) kubelet Failed to pull image "cp.icr.io/cp/sls/api-licensing:5.8.1": rpc error: code = Unknown desc = reading manifest 5.8.1 in cp.icr.io/cp/sls/api-licensing: denied: insufficient scope
Warning Failed 15m (x4 over 16m) kubelet Error: ErrImagePull
Warning Failed 14m (x6 over 16m) kubelet Error: ImagePullBackOff
Normal BackOff 94s (x64 over 16m) kubelet Back-off pulling image "cp.icr.io/cp/sls/api-licensing:5.8.1"
entitlement key is valid.
So what it can be ?
------------------------------
Andrey Ilinskiy
------------------------------
#Maximo
#AssetandFacilitiesManagement