Hi, when trying to install datahub with helm and s...
# all-things-deployment
b
Hi, when trying to install datahub with helm and setting ingress to true in the values.yaml I get this error and the installation fails:
Copy code
Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: error validating "": error validating data: ValidationError(Ingress.spec.rules[0].http): missing required field "paths" in io.k8s.api.networking.v1.HTTPIngressRuleValue
anyone can help please?
b
f
You missed the field
paths
in the Ingress Rule. Find the example below for the correct config.
Copy code
ingress:
    className: "gateway-internal"
    enabled: true
    annotations: {}
      # <http://kubernetes.io/ingress.class|kubernetes.io/ingress.class>: nginx
      # <http://kubernetes.io/tls-acme|kubernetes.io/tls-acme>: "true"
    hosts:
      - host: <http://your-host.com|your-host.com>
        # redirectPaths:
        #   - path: /*
        #     name: ssl-redirect
        #     port: use-annotation
        paths:
          - /
b
Copy code
Failed to load resource: the server responded with a status of 401 (Unauthorized)
f
Could you please print the detail log in here? Try to check your pods status and their log, especially for datahub-gms.
b
Oh I see the gms pod is in CrashLoopBackOff state. I see neo4j is missing cause I disabled it from the prerequisites. how can I disable it from datahub also?
b
thanks. should I uninstall & install for that?
b
you can instead run
helm upgrade --install
, it will upgrade your existing release or create new release if there is no prior release
you will always have option to roll back this way
b
waiting for neo4j
b
could you describe the gms pod and see the value of environment variable "GRAPH_SERVICE_IMPL"
b
oh, still neo4j and not elastic maybe I’ll need to do clean install
b
ok
b
gms is running now with elastic but still got the same error when trying to login. looking in the pod logs shows heap size execption:
Copy code
2022-08-30 13:48:21.087:WARN:oejut.QueuedThreadPool:qtp1830908236-12:
java.lang.OutOfMemoryError: Java heap space
	at java.util.Arrays.copyOf(Arrays.java:3236)
	at java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:118)
	at java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:93)
	at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:153)
	at org.objectweb.asm.ClassReader.readStream(ClassReader.java:322)
	at org.objectweb.asm.ClassReader.<init>(ClassReader.java:287)
	at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:932)
	at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:917)
	at org.eclipse.jetty.annotations.AnnotationParser.lambda$parseJar$2(AnnotationParser.java:876)
	at org.eclipse.jetty.annotations.AnnotationParser$$Lambda$51/454737502.accept(Unknown Source)
	at java.util.TreeMap$ValueSpliterator.forEachRemaining(TreeMap.java:2897)
	at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:647)
	at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:872)
	at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:835)
	at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:159)
	at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:455)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
	at java.lang.Thread.run(Thread.java:748)
also the helm install failed with these error:
Copy code
Error: INSTALLATION FAILED: failed post-install: timed out waiting for the condition
but pods are up
ok working after increasing resources for gms
thanks for helping!!