Also getting this error -e prerrequisites cp schem...
# troubleshoot
c
Also getting this error -e prerrequisites cp schema issue:
Copy code
pod/prerequisites-cp-schema-registry-6c69f9f665-mbq9k   1/2     CrashLoopBackOff   25 (3m7s ago)   106m
[root@adkube06 ~]# kubectl logs -f pod/prerequisites-cp-schema-registry-6c69f9f665-mbq9k -n gopikab
Defaulted container "prometheus-jmx-exporter" out of: prometheus-jmx-exporter, cp-schema-registry-server
Unrecognized VM option 'UseCGroupMemoryLimitForHeap'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
FYI
it's fixed -- What I did was, retag the exact image with the sha and use the same tag we used for dataHub So, my
image_tags.txt
looks like this:
Copy code
╰─> more image_tags.txt
solsson/kafka-prometheus-jmx-exporter@sha256:6f82e2b0464f50da8104acd7363fb9b995001ddff77d248379f8788e78946143;adregistry.fnal.gov/external/solsson/kafka-prometheus-jmx-exporter:v0.10.1
And then I used that same tag to redeploy on
values.yaml
:
Copy code
[...]
      jmx:
       enabled: true
       image: adregistry.fnal.gov/external/solsson/kafka-prometheus-jmx-exporter
       imageTag: v0.10.1
[...]
Using this command:
Copy code
helm upgrade prerequisites datahub/datahub-prerequisites --values values.yaml -n gopikab