Uploaded image for project: 'ONAP Operations Manager'
  1. ONAP Operations Manager
  2. OOM-2905

AAI deployment with local cassandra DB fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • London Release
    • Istanbul Release
    • charts
    • Hide

      When using "localCluster=true" the cassandra uses the "ServiceAccount" to create ServiceAccounts, Roles and RoleBindings.
      In my case the aai-cassandra statefulset will require a ServiceAccount named "RELEASE-aai-cassandra-nothing":

            serviceAccountName: RELEASE-aai-cassandra-nothing
      

      but the ServiceAccount within cassandra chart is creating:

      # Source: aai/charts/cassandra/charts/serviceAccount/templates/service-account.yaml
      apiVersion: v1
      kind: ServiceAccount
      metadata:
        name: RELEASE-cassandra-nothing
      ---
      

      Reason is, that in kubernetes/aai/values.yaml the nameOverride for serviceAccount for cassandra needs to be added:
      cassandra:
      nameOverride: aai-cassandra
      serviceAccount:
      nameOverride: aai-cassandra
      replicaCount: 3
      service:
      name: aai-cassandra
      persistence:
      mountSubPath: aai/cassandra
      enabled: true
       

      Show
      When using "localCluster=true" the cassandra uses the "ServiceAccount" to create ServiceAccounts, Roles and RoleBindings. In my case the aai-cassandra statefulset will require a ServiceAccount named "RELEASE-aai-cassandra-nothing": serviceAccountName: RELEASE-aai-cassandra-nothing but the ServiceAccount within cassandra chart is creating: # Source: aai/charts/cassandra/charts/serviceAccount/templates/service-account.yaml apiVersion: v1 kind: ServiceAccount metadata: name: RELEASE-cassandra-nothing --- Reason is, that in kubernetes/aai/values.yaml the nameOverride for serviceAccount for cassandra needs to be added: cassandra: nameOverride: aai-cassandra serviceAccount: nameOverride: aai-cassandra replicaCount: 3 service: name: aai-cassandra persistence: mountSubPath: aai/cassandra enabled: true  

          andreasgeissler Andreas Geissler
          andreasgeissler Andreas Geissler
          Votes:
          0 Vote for this issue
          Watchers:
          1 Start watching this issue

            Created:
            Updated:
            Resolved: