Bug 1631350

Summary: kubevirt-apb fails to deploy CDI due to wrong image prefix
Product: Container Native Virtualization (CNV) Reporter: Lukas Bednar <lbednar>
Component: InstallationAssignee: Adam Litke <alitke>
Status: CLOSED CURRENTRELEASE QA Contact: Lukas Bednar <lbednar>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 1.2CC: cnv-qe-bugs, fsimonce, ncredi, rhallise
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-07 17:41:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lukas Bednar 2018-09-20 11:51:07 UTC
Description of problem:

When deploying kubevirt from kubevirt-apb, it fails to deploy CDI due to wrong image prefix.


Version-Release number of selected component (if applicable):

kubevirt-apb 1.2-3


How reproducible:
100%


Steps to Reproduce:
1. deploy kubevirt-apb 1.2-3
2. wait until virt containers rolls out

Actual results:

CDI container is stuck in ImagePullBackOff state because image prefix is wrong.
It should be cnv12-tech-preview instead of kubevirt.

  - image: kubevirt/virt-cdi-controller:v1.1.1
    imageID: ""
    lastState: {}
    name: cdi-controller
    ready: false
    restartCount: 0
    state:
      waiting:
        message: Back-off pulling image "kubevirt/virt-cdi-controller:v1.1.1"
        reason: ImagePullBackOff
  hostIP: 172.16.0.18
  phase: Pending
  podIP: 10.130.0.27
  qosClass: BestEffort
  startTime: 2018-09-20T10:41:35Z

Expected results:

virt-cdi-controller pod is running


Additional info:

Comment 1 Adam Litke 2018-09-20 20:12:19 UTC
Could you try with this updated build? 
https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=770350

Comment 2 Lukas Bednar 2018-09-21 12:20:45 UTC
```
golden-images                       cdi-deployment-686b59785d-dgr59                               1/1       Running     0          1m
```

```
[cloud-user@cnv-executor-lbednar-master1 ~]$ oc get pods --all-namespaces -o yaml | grep image: | grep cdi
      image: cnv12-tech-preview/virt-cdi-controller:1.2
      image: brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/cnv12-tech-preview/virt-cdi-controller:1.2
```

Verified with  kubevirt-apb 1.2-4