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

[ejbca] ejbca: InvalidImageName

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Guilin Release
    • Guilin Release
    • None
    • None
    • Hide

      SUMMARY

      Deployment of ejbca fails, therfore subsequent pods failing as well, eg. dev-oom-cert-service

      OS / ENVIRONMENT

      • Kubernetes version:
        ubuntu@cp-1:~$ kubectl version
        Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.11", GitCommit:"d94a81c724ea8e1ccc9002d89b7fe81d58f89ede", GitTreeState:"clean", BuildDate:"2020-03-12T21:08:59Z", GoVersion:"go1.12.17", Compiler:"gc", Platform:"linux/amd64"}
        Server Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.11", GitCommit:"d94a81c724ea8e1ccc9002d89b7fe81d58f89ede", GitTreeState:"clean", BuildDate:"2020-03-12T21:00:06Z", GoVersion:"go1.12.17", Compiler:"gc", Platform:"linux/amd64"}
      • Helm version:
        ubuntu@cp-1:~$ helm version
        Client: &version.Version{SemVer:"v2.16.6", GitCommit:"dd2e5695da88625b190e6b22e9542550ab503a47", GitTreeState:"clean"}
        Server: &version.Version{SemVer:"v2.16.6", GitCommit:"dd2e5695da88625b190e6b22e9542550ab503a47", GitTreeState:"clean"}

      OOM VERSION

      master commit f8dc9be8fef02358deb99b1a3cc55a7eecd3b103 

      CONFIGURATION

      everything enabled

      STEPS TO REPRODUCE

      make SKIP_LINT=TRUE all; make SKIP_LINT=TRUE onap

      helm

      EXPECTED RESULTS

      ejbca pod should come up

      ACTUAL RESULTS

      ejbca pod fails:

      dev-ejbca-b87cf67bf-kzck5 0/1 Init:InvalidImageName 0 6m53s

      ejbca deployment does not contain nexus repo:

      I have already investigated the deployment.yaml, but could not find an issue.

      helm template shows already, that common.repository is not resolved to '
      nexus3.onap.org:10001'
       

      initContainers:
       - args:
       - --container-name
       - ejbca-config
       command:
       - /app/ready.py
       env:
       - name: NAMESPACE
       valueFrom:
       fieldRef:
       apiVersion: v1
       fieldPath: metadata.namespace
       image: /onap/oom/readiness:3.0.1
       imagePullPolicy: Always
       name: ejbca-db-readiness
       resources: {}
       terminationMessagePath: /dev/termination-log
       terminationMessagePolicy: File
       restartPolicy: Always
       schedulerName: default-scheduler
       securityContext: {}
       terminationGracePeriodSeconds: 30
       volumes:
       - configMap:
       defaultMode: 493
       name: dev-ejbca-config-script
       name: dev-ejbca-volume
       - configMap:
       defaultMode: 493
       name: dev-ejbca-profiles
       name: dev-ejbca-profiles-volume
       
       
       
      

       

      Show
      SUMMARY Deployment of ejbca fails, therfore subsequent pods failing as well, eg. dev-oom-cert-service OS / ENVIRONMENT Kubernetes version: ubuntu@cp-1:~$ kubectl version Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.11", GitCommit:"d94a81c724ea8e1ccc9002d89b7fe81d58f89ede", GitTreeState:"clean", BuildDate:"2020-03-12T21:08:59Z", GoVersion:"go1.12.17", Compiler:"gc", Platform:"linux/amd64"} Server Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.11", GitCommit:"d94a81c724ea8e1ccc9002d89b7fe81d58f89ede", GitTreeState:"clean", BuildDate:"2020-03-12T21:00:06Z", GoVersion:"go1.12.17", Compiler:"gc", Platform:"linux/amd64"} Helm version: ubuntu@cp-1:~$ helm version Client: &version.Version{SemVer:"v2.16.6", GitCommit:"dd2e5695da88625b190e6b22e9542550ab503a47", GitTreeState:"clean"} Server: &version.Version{SemVer:"v2.16.6", GitCommit:"dd2e5695da88625b190e6b22e9542550ab503a47", GitTreeState:"clean"} OOM VERSION master commit f8dc9be8fef02358deb99b1a3cc55a7eecd3b103  CONFIGURATION everything enabled STEPS TO REPRODUCE make SKIP_LINT=TRUE all; make SKIP_LINT=TRUE onap helm EXPECTED RESULTS ejbca pod should come up ACTUAL RESULTS ejbca pod fails: dev-ejbca-b87cf67bf-kzck5 0/1 Init:InvalidImageName 0 6m53s ejbca deployment does not contain nexus repo: I have already investigated the deployment.yaml, but could not find an issue. helm template shows already, that common.repository is not resolved to ' nexus3.onap.org:10001 '   initContainers: - args: - --container-name - ejbca-config command: - /app/ready.py env: - name: NAMESPACE valueFrom: fieldRef: apiVersion: v1 fieldPath: metadata.namespace image: /onap/oom/readiness:3.0.1 imagePullPolicy: Always name: ejbca-db-readiness resources: {} terminationMessagePath: /dev/termination-log terminationMessagePolicy: File restartPolicy: Always schedulerName: default -scheduler securityContext: {} terminationGracePeriodSeconds: 30 volumes: - configMap: defaultMode: 493 name: dev-ejbca-config-script name: dev-ejbca-volume - configMap: defaultMode: 493 name: dev-ejbca-profiles name: dev-ejbca-profiles-volume        

          sdesbure sdesbure
          demskeq8 Alexander Dehn
          Votes:
          2 Vote for this issue
          Watchers:
          4 Start watching this issue

            Created:
            Updated:
            Resolved: