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

Job portal-db-config fails due to missing image config

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Duplicate
    • Affects Version/s: Beijing Release
    • Fix Version/s: Beijing Release
    • Labels:

      Description

      The values.yaml file in the portal-mariadb chart lacks the readinessRepository and readinessImage vars, therefore the portal-db-config job does not run.

       

      [root@lab kubernetes]# oc describe job/dev-portal-db-config -n onap

      Name: dev-portal-db-config
      Namespace: onap
      Selector: controller-uid=74c2f250-3d6c-11e8-9742-ecf4bbc0c18c
      Labels: app=portal-db-job
      chart=portal-mariadb-2.0.0
      heritage=Tiller
      release=dev
      Annotations: <none>
      Parallelism: 1
      Completions: 1
      Start Time: Wed, 11 Apr 2018 05:41:06 -0400
      Pods Statuses: 1 Running / 0 Succeeded / 0 Failed
      Pod Template:
      Labels: app=portal-db-job
      controller-uid=74c2f250-3d6c-11e8-9742-ecf4bbc0c18c
      job-name=dev-portal-db-config
      release=dev
      Init Containers:
      portal-db-init-readiness:
      Image: oomk8s/
      Port: <none>
      Command:
      /root/ready.py
      Args:
      --container-name
      portal-db
      Environment:
      NAMESPACE: (v1:metadata.namespace)
      Mounts: <none>
      Containers:
      portal-db-job:
      Image: /oomk8s/mariadb-client-init:2.0.0
      Port: <none>
      Environment:
      DB_HOST: dev-portal-db
      DB_USER: root
      DB_PASS: <set to the key 'db-root-password' in secret 'dev-portal-db'> Optional: false
      SQL_SRC_DIR: portal/deliveries
      Mounts: <none>
      portal-db-oom-update-job:
      Image: /oomk8s/mariadb-client-init:2.0.0
      Port: <none>
      Command:
      /bin/sh
      -x
      -c
      mysql -vv --user=$DB_USER --password=$DB_PASS --host=$DB_HOST --port=$DB_PORT < /tmp/oom_updates.sql
      Environment:
      DB_HOST: dev-portal-db
      DB_USER: root
      DB_PORT: 3306
      DB_PASS: <set to the key 'db-root-password' in secret 'dev-portal-db'> Optional: false
      Mounts:
      /tmp/oom_updates.sql from portal-mariadb-sql (rw)
      Volumes:
      portal-mariadb-sql:
      Type: ConfigMap (a volume populated by a ConfigMap)
      Name: dev-portal-db-mariadb
      Optional: false
      Events: <none>

       

      [root@lab kubernetes]# oc logs job/dev-portal-db-config -n onap -c portal-db-init-readiness

      Error from server (BadRequest): container "portal-db-init-readiness" in pod "dev-portal-db-config-jmxrf" is waiting to start: InvalidImageName

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              • Assignee:
                fzdarsky Frank Zdarsky
                Reporter:
                fzdarsky Frank Zdarsky
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: