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

[MODELING] Wrong resolved readiness image name in modeling-etsicatalog-msb-readiness container

XMLWordPrintable

    • Hide

      SUMMARY

      modeling-etsicatalog-msb-readiness init container has wrong image name:

      image: "/onap/oom/readiness:3.0.1"
      

      and hence fails to spawn:

      # kubectl -n onap get pods -l app=modeling-etsicatalog
      NAME                                         READY   STATUS                  RESTARTS   AGE
      onap-modeling-etsicatalog-5678bc9686-nb5qj   0/2     Init:InvalidImageName   1          4h1m
      onap-modeling-etsicatalog-config-job-7zwsw   0/1     Completed               0          4h1m 
      
      
      # kubectl -n onap describe pod onap-modeling-etsicatalog-5678bc9686-nb5qj
      (...)
      Init Containers:
      (...)
        modeling-etsicatalog-msb-readiness:
          Container ID:  
          Image:         /onap/oom/readiness:3.0.1
      (...)
      Events:
        Type     Reason         Age                       From            Message
        ----     ------         ----                      ----            -------
        Warning  InspectFailed  6m44s (x1023 over 3h48m)  kubelet, node1  Failed to apply default image tag "/onap/oom/readiness:3.0.1": couldn't parse image reference "/onap/oom/readiness:3.0.1": invalid reference format
        Warning  Failed         105s (x1046 over 3h48m)   kubelet, node1  Error: InvalidImageName

      OS / ENVIRONMENT

      • Kubernetes 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"}
        
      • Helm version:
        Client: &version.Version{SemVer:"v2.16.6", GitCommit:"dd2e5695da88625b190e6b22e9542550ab503a47", GitTreeState:"clean"}
        

      OOM VERSION

      master branch commit sha 7ba9cb9f6e9dd62210d42eb19e693293bab52042

      CONFIGURATION

      everything enabled

      STEPS TO REPRODUCE

      make SKIP_LINT=TRUE all; make SKIP_LINT=TRUE onap
      helm
      

      EXPECTED RESULTS

      Compiled "modeling" component templates should produce:

      (...)
            - name: modeling-etsicatalog-msb-readiness
              image: "nexus3.onap.org:10001/onap/oom/readiness:3.0.1"
              imagePullPolicy: Always
              command:
              - /app/ready.py
      (...)
      

      ACTUAL RESULTS

      (...)
            - name: modeling-etsicatalog-msb-readiness
              image: "/onap/oom/readiness:3.0.1"
              imagePullPolicy: Always
              command:
              - /app/ready.py
      (...)
      
      Show
      SUMMARY modeling-etsicatalog-msb-readiness init container has wrong image name: image: "/onap/oom/readiness:3.0.1" and hence fails to spawn: # kubectl -n onap get pods -l app=modeling-etsicatalog NAME READY STATUS RESTARTS AGE onap-modeling-etsicatalog-5678bc9686-nb5qj 0/2 Init:InvalidImageName 1 4h1m onap-modeling-etsicatalog-config-job-7zwsw 0/1 Completed 0 4h1m # kubectl -n onap describe pod onap-modeling-etsicatalog-5678bc9686-nb5qj (...) Init Containers: (...) modeling-etsicatalog-msb-readiness: Container ID: Image: /onap/oom/readiness:3.0.1 (...) Events: Type Reason Age From Message ---- ------ ---- ---- ------- Warning InspectFailed 6m44s (x1023 over 3h48m) kubelet, node1 Failed to apply default image tag "/onap/oom/readiness:3.0.1" : couldn't parse image reference "/onap/oom/readiness:3.0.1" : invalid reference format Warning Failed 105s (x1046 over 3h48m) kubelet, node1 Error: InvalidImageName OS / ENVIRONMENT Kubernetes 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" } Helm version: Client: &version.Version{SemVer: "v2.16.6" , GitCommit: "dd2e5695da88625b190e6b22e9542550ab503a47" , GitTreeState: "clean" } OOM VERSION master branch commit sha 7ba9cb9f6e9dd62210d42eb19e693293bab52042 CONFIGURATION everything enabled STEPS TO REPRODUCE make SKIP_LINT=TRUE all; make SKIP_LINT=TRUE onap helm EXPECTED RESULTS Compiled "modeling" component templates should produce: (...) - name: modeling-etsicatalog-msb-readiness image: "nexus3.onap.org:10001/onap/oom/readiness:3.0.1" imagePullPolicy: Always command: - /app/ready.py (...) ACTUAL RESULTS (...) - name: modeling-etsicatalog-msb-readiness image: "/onap/oom/readiness:3.0.1" imagePullPolicy: Always command: - /app/ready.py (...)

          bgrzybowski bgrzybowski
          bgrzybowski bgrzybowski
          Votes:
          0 Vote for this issue
          Watchers:
          2 Start watching this issue

            Created:
            Updated:
            Resolved: