Bug 1636761

Summary: Failed to pull image from registry disk.
Product: Container Native Virtualization (CNV) Reporter: Aditya Ramteke <aramteke>
Component: VirtualizationAssignee: Fabian Deutsch <fdeutsch>
Status: CLOSED NOTABUG QA Contact: zhe peng <zpeng>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.2CC: cnv-qe-bugs, ncredi
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-10-10 07:06:17 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 Aditya Ramteke 2018-10-07 13:03:12 UTC
Description of problem:

Failed to pull the image from registry disk:
   - name: registryvolume
        registryDisk:
          image: registry:5000/kubevirt/cirros-registry-disk-demo:devel

I attempted to launch a VM from:
https://raw.githubusercontent.com/kubevirt/kubevirt/master/cluster/examples/vm-cirros.yaml

Events:
Normal   Pulling    6m (x3 over 6m)  kubelet, cnv-executor-aditya-node1.example.com  pulling image "registry:5000/kubevirt/cirros-registry-disk-demo:devel"
  Warning  Failed     6m (x3 over 6m)  kubelet, cnv-executor-aditya-node1.example.com  Failed to pull image "registry:5000/kubevirt/cirros-registry-disk-demo:devel": rpc error: code = Unknown desc = pinging docker registry returned: Get https://registry:5000/v2/: dial tcp: lookup registry on 172.16.0.20:53: no such host
  Warning  Failed     6m (x3 over 6m)  kubelet, cnv-executor-aditya-node1.example.com  Error: ErrImagePull
  Normal   BackOff    5m (x4 over 6m)  kubelet, cnv-executor-aditya-node1.example.com  Back-off pulling image "registry:5000/kubevirt/cirros-registry-disk-demo:devel"
  Warning  Failed     5m (x4 over 6m)  kubelet, cnv-executor-aditya-node1.example.com  Error: ImagePullBackOff
  Normal   Scheduled  5m               default-scheduler                               Successfully assigned test-project/virt-launcher-vm-fedora-z7fb8 to cnv-executor-aditya-node1.example.com


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


How reproducible:


Steps to Reproduce:
1. update the registry disk link "registry:5000/kubevirt/cirros-registry-disk-demo:devel" in yaml. 
2. create a VM with yaml
3. start the VM

Actual results:
ImagePullBackOff

Expected results:
Running

Additional info:

Comment 1 zhe peng 2018-10-08 02:35:03 UTC
hi
Because there is no registry created on you host, i thought this link in only used for dev. you can change it to: kubevirt/cirros-registry-disk-demo:latest and try again.