DecisionsDev / odm-ondocker

This repository allows to deploy an IBM Operational Decision Manager topology with Docker Compose
https://odmdev.github.io/odm-ondocker/
Apache License 2.0
52 stars 40 forks source link

ODM4Dev on ROKS #224

Closed DThompson55 closed 5 years ago

DThompson55 commented 5 years ago

When deploying ODM4Dev on ROKS using these instructions:
https://github.com/icp4a/cert-kubernetes/blob/master/ODM/platform/README_Eval_ROKS.md

The pod fails with the following messages in the the logs:

(base) Daniels-MacBook-Pro-2:ODM dtt$ oc get pods
NAME                                   READY     STATUS             RESTARTS   AGE
odm-eval-ibm-odm-dev-c47675b44-l5kdt   0/1       CrashLoopBackOff   1          8s
(base) Daniels-MacBook-Pro-2:ODM dtt$ oc logs odm-eval-ibm-odm-dev-c47675b44-l5kdt
cp: cannot create regular file '/config/dbdata/resdb.lock.db': Permission denied
cp: cannot create regular file '/config/dbdata/resdb.mv.db': Permission denied
cp: cannot create regular file '/config/dbdata/resdb.trace.db': Permission denied
cp: cannot create regular file '/config/dbdata/rtsdb.lock.db': Permission denied
cp: cannot create regular file '/config/dbdata/rtsdb.mv.db': Permission denied
cp: cannot create regular file '/config/dbdata/rtsdb.trace.db': Permission denied

(base) Daniels-MacBook-Pro-2:ODM dtt$ oc get pv
NAME                                       CAPACITY   ACCESS MODES   RECLAIM POLICY   STATUS    CLAIM                          STORAGECLASS       REASON    AGE
pvc-6dc42542-ff26-11e9-b2c6-be8a78415f2b   20Gi       RWO            Delete           Bound     odm-dev/odm-eval-odm-pvclaim   ibmc-file-gold               7m
pvc-73224d65-fc2f-11e9-bd5b-da237455a034   20Gi       RWX            Delete           Bound     default/registry-backing       ibmc-file-bronze             3d
(base) Daniels-MacBook-Pro-2:ODM dtt$ oc get pv
lgrateau commented 5 years ago

Pb on PV we will fixed the docs in the others repository.