cancel
Showing results for 
Search instead for 
Did you mean: 

Having issues installing neo4j 4.4.5 cluster

Hi ,
I am trying to install neo4j enterprise version with 3 cores and 1 read replica with helm charts and Kustomization. My pods are not starting up and getting the below exception.

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.neo4j.internal.helpers.Exceptions (file:/var/lib/neo4j/lib/neo4j-common-4.4.5.jar) to field java.lang.Throwable.detailMessage
WARNING: Please consider reporting this to the maintainers of org.neo4j.internal.helpers.Exceptions
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Failed to read config /var/lib/neo4j/conf/neo4j.conf: Error evaluating value for setting 'causal_clustering.discovery_type'. Failed to validate 'LIST' for 'causal_clustering.discovery_type': Missing value for 'causal_clustering.initial_discovery_members', which is mandatory with 'causal_clustering.discovery_type=LIST'

My Kustomization file below.

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:

  • ../../base

namespace: ntd-vendors

commonAnnotations:
CI.CI_COMMIT_SHORT_SHA: "${CI_COMMIT_SHORT_SHA} "
CI.CI_COMMIT_REF_SLUG: ${CI_COMMIT_REF_SLUG:=""}
CI.CI_COMMIT_TIMESTAMP: ${CI_COMMIT_TIMESTAMP:=$NOW}
CI.DEPLOYED_BY_USER: ${GITLAB_USER_NAME:="local-developer"}

#configMapGenerator:
#- name: ntd-neo4j-common-config

options:

disableNameSuffixHash: true

behavior: merge

literals:

- NEO4JLABS_PLUGINS='["apoc"]'

- NEO4J_dbms_security_procedures_unrestricted="apoc.*"

- NEO4J_apoc_import_file_enabled=true

- NEO4J_apoc_export_file_enabled=true

- NEO4J_AUTH=neo4j/secret

patchesJson6902:

  • path: patch-add-efs-drive-volume.yaml
    target:
    version: v1
    kind: StatefulSet
    name: ntd-neo4j-core
  • path: patch-add-efs-drive-volume.yaml
    target:
    version: v1
    kind: StatefulSet
    name: ntd-neo4j-replica

Any help to resolve appreciated.

Thanks,
Susheel

2 REPLIES 2

sameer_gijare14
Graph Buddy

What java version are you using?
-Sameer

Sameer,
I do not hava java on machine(if that was the question). Also, with base kustomize it works fine. when i try overlays it is giving above exception and pods not starting up. Also, to make things clear, I am installing this as kubernetes cluster(EKS) using helm charts given on neo4j site.