nerc-project / operations

Issues related to the operation of the NERC OpenShift environment
2 stars 0 forks source link

Connect WEKA system to OpenShift Test cluster #614

Open joachimweyl opened 5 months ago

joachimweyl commented 5 months ago

Motivation

Get WEKA connected to test cluster so that we can test its usage.

Completion Criteria

WEKA able to be used by OpenShift test cluster.

Description

Completion dates

Desired - 2024-07-10 Required - TBD

jtriley commented 19 hours ago

Just noting that I was able to get RWX storage on NFS weka working yesterday on the ocp-test cluster:

$ oc get pvc -n default
NAME                 STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS                  AGE
pvc-wekafs-dir-api   Bound    pvc-b1742371-6fce-4ed6-8eaf-890f103eda53   1Gi        RWX            storageclass-wekafs-dir-api   64s
$ oc get pods -n default
NAME                  READY   STATUS    RESTARTS   AGE
csi-app-on-dir-api    1/1     Running   0          3m39s
csi-app-on-dir-api2   1/1     Running   0          18s
$ oc exec -it -n default csi-app-on-dir-api -- cat /data/temp.txt
Wed Nov 20 23:26:44 UTC 2024 hello
Wed Nov 20 23:26:50 UTC 2024 WEKA WEKA!
Wed Nov 20 23:26:54 UTC 2024 hello
Wed Nov 20 23:27:00 UTC 2024 WEKA WEKA!
Wed Nov 20 23:27:04 UTC 2024 hello
Wed Nov 20 23:27:10 UTC 2024 WEKA WEKA!
Wed Nov 20 23:27:14 UTC 2024 hello
Wed Nov 20 23:27:20 UTC 2024 WEKA WEKA!

There is a draft PR here https://github.com/OCP-on-NERC/nerc-ocp-config/pull/603 that I'm working on cleaning up and getting merged for ocp-test.

We need to have @knikolla test performance there and also need to meet with Weka folks to tighten up the deployment of the baremetal weka cluster before we consider making this live in production. Also need to look into whether current storage quotas in OpenShift would cover this additional storage class or whether we need to handle that separately.