Uploaded image for project: 'Migration Toolkit for Virtualization'
  1. Migration Toolkit for Virtualization
  2. MTV-3673

VDDK upload works only in openshift-mtv namespace

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 2.10.0
    • Controller
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • True

      Description of problem:

      the issue is when uploading the vddk image it goes to:
      image-registry.openshift-image-registry.svc:5000/openshift-mtv/vddk@sha256:6941e1dc92cc2a386e05fe8075b05d8629d9171163dc48c68b4dd091b5426cfd
      
      which is located in openshift-mtv and when trying to create provider in different namespace we get error:
      3m13s (x218 over 53m)   Normal    BackOff                           Pod/vddk-validator-plan-rhel8-shared-disks-1jxxf4-llrzv   Back-off pulling image "image-registry.openshift-image-registry.svc:5000/openshift-mtv/vddk@sha256:5ffda7e7c373204c92460fe62de06a77cfbe689232da1437af6a156f6bd38fd9"
      

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

      OCP version: 4.19.17
      MTV version: 2.10.0 (redhat-osbs-on-pr-432f7fbaf4da82396688b9787f228a2d3a0a6564)
      CNV version: 4.19.12

      How reproducible:

      Always 
      

      Steps to Reproduce:

      1. 
      curl -k -i -X POST -H "Authorization: Bearer $(oc whoami --show-token)" -F "file=@/home/abarakat/Documents/work/VMware-vix-disklib-8.0.0-20521017.x86_64.tar.gz" https://forklift-inventory-openshift-mtv.apps.qemtv-05.rhos-psi.cnv-qe.rhood.us/vddk/build-image 2.
      2.
      wscat --no-check \
      -c "wss://forklift-inventory-openshift-mtv.apps.qemtv-05.rhos-psi.cnv-qe.rhood.us/vddk/image-url?build-name=vddk-3" \
      -H "Authorization: Bearer $(oc whoami --show-token)" \
      -H "X-Watch: true"
      
      3. Open a new namespace and create provider with the output of vddk 
      4. create plan within that Provider
      4. check the vddk jobs/pods

      Actual results:

      Unable to Pull VDDK init image. Check that the image URL is correct.
      

      Expected results:

      Image pulled correctly 

      Additional info:

       

              rh-ee-asegev Aviel Segev
              rh-ee-abarakat Ameen Barakat
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: