Hi Shrikant,

I guess you took the instructions from Wiki 
(https://wiki.onap.org/display/DW/Install+Keycloak+in+ONAP+Platform) instead of 
the official ones in
https://docs.onap.org/projects/onap-oom/en/london/sections/guides/infra_guides/oom_infra_base_config_setup.html#keycloak-installation

If you have a “default” storageClass defined in your cluster, you should not 
use the storageClass setting.
In “master” I also described how to set the default storageClass 
(https://docs.onap.org/projects/onap-oom/en/latest/sections/guides/infra_guides/oom_infra_base_config_setup.html#set-the-default-storageclass)

Only if you want to use a specific class, you should use the storageClass 
setting in the keycloakDB installation.

Best regards
Andreas

Von: [email protected] <[email protected]> Im Auftrag von 
shrikant.tarale via lists.onap.org
Gesendet: Montag, 17. Juli 2023 11:48
An: [email protected]
Betreff: [onap-discuss] ONAP London release- Keycloak and Keycloak-db pods are 
not getting started.

I am deploying ONAP London release, after installing  keycloak-db, respective 
pods were not coming up. and because of this keycloak application pod is 
getting crashed.
NAME                       READY   STATUS             RESTARTS        AGE
keycloak-0                 1/2     CrashLoopBackOff   5 (2m53s ago)   7m55s
keycloak-db-postgresql-0   0/2     Pending            0               22m

when i described keycloak-db pod, i got below response:
Events:
  Type     Reason            Age                  From               Message
  ----     ------            ----                 ----               -------
  Warning  FailedScheduling  17m                  default-scheduler  0/5 nodes 
are available: 5 pod has unbound immediate PersistentVolumeClaims.
  Warning  FailedScheduling  8m28s (x6 over 16m)  default-scheduler  0/5 nodes 
are available: 5 pod has unbound immediate PersistentVolumeClaims.

pvc status of keycloak:
NAME                            STATUS    VOLUME   CAPACITY   ACCESS MODES   
STORAGECLASS   AGE
data-keycloak-db-postgresql-0   Pending                                      
cinder-csi     23m

and when i described the keycloak pvc , i came across below error:
Events:
  Type     Reason              Age                  From                        
 Message
  ----     ------              ----                 ----                        
 -------
  Warning  ProvisioningFailed  33s (x102 over 25m)  persistentvolume-controller 
 storageclass.storage.k8s.io "cinder-csi" not found


Thanks
Shrikant




-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#24498): https://lists.onap.org/g/onap-discuss/message/24498
Mute This Topic: https://lists.onap.org/mt/100191635/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to