Search Engine: Elastic

Article ID: 133922, created on Apr 11, 2019, last review on Apr 11, 2019

  • Applies to:
  • Operations Automation 8.0

Symptoms

On attempt to add a new application instance for GDPR application, as per the deployment guide, the following error occurs:

Module: "APSDeployment", code = "8509" Properties: name = "gdpr-backend", version = "2.0.134". Message: "Cannot find Helm package with name 'gdpr-backend' version '2.0.134'".

gdpr-backend pod is not installed:

# kubectl get po
#

Cause

Since Odin Automation 8.0, Kubernetes APS applications are installed through helm utility.

The corresponding documentation issue DOC-623 has been submitted to CloudBlue R&D.

Resolution

  1. Create a script on OA management node:

    cat << EOF > get_a8n_operator_values.py
    from poaupdater import openapi
    api = openapi.OpenAPI().settings
    open('a8n-operator.values', 'w').write(
    '''dockerrepo: odindevops-a8n-docker.jfrog.io
    mnhost: %s
    openapilogin: "%s"
    openapipass: "%s"
    rbacenabled: true''' % (api.host, api.user or '', api.password or ''))
    EOF
    
  2. Get the required parameters for a8n chart deployment:

    osscore# python get_a8n_operator_values.py
    
  3. Create a yaml file with the following content (replace IP address with the real oss db address and a8n db password - with actual db password):

    export dspassword='<PUT HERE REAL PASSWORD FOR a8b DB>'
    export ipaddr='192.168.1.1'
    
    cat << EOF > gdpr-values.yaml
    dockerrepo: odindevops-a8n-docker.jfrog.io
    dsdbname: a8n_gdpr
    dshost: $ipaddr
    dslogin: Z2Rwcg==
    dspassword: $(echo -n $dspassword | base64)
    dsport: '!!integer 5432'
    javaheapsize: -Xms512m -Xmx1024m
    jdbcconnectionparams: ?ApplicationName=gdpr&ssl=true&sslfactory=org.postgresql.ssl.NonValidatingFactory
    maxdbpoolsize: '!!integer 16'
    mindbpoolsize: '!!integer 1'
    oauthkey: $(echo -n $(uuidgen) | base64)
    oauthsecret: $(echo -n $(uuidgen) | base64)
    period: '!!integer 1'
    type: DAYS
    EOF
    
  4. Install the gdpr-backend chart:

    osscore# helm install a8n/gdpr-backend -n gdpr-backend -f gdpr-values.yaml
    

5356b422f65bdad1c3e9edca5d74a1ae 8fc71f07abe5b233fea1ae0377cd5e3d adc6deaa66054d8a194d131ba07f2785 aab95f5cf9bcfa920cc1dda8487f084a

Email subscription for changes to this article
Save as PDF