Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-41361

Image mode provisioning is currently broken, need to use DataSource to specify the base image:

XMLWordPrintable

    • False
    • Satellite Rocket Sprint 14
    • sat-rocket
    • None
    • None
    • None
    • None

      Description of problem:

      Currently the image is pointing to a completely different object.
      We need to use the DataSource like here:

      spec:
        dataVolumeTemplates:
          - apiVersion: cdi.kubevirt.io/v1beta1
            kind: DataVolume
            metadata:
              creationTimestamp: null
              name: centos-stream9-amd64-chocolate-halibut-57
            spec:
              sourceRef:
                kind: DataSource
                name: centos-stream9-amd64
                namespace: openshift-virtualization-os-images
              storage:
                resources:
                  requests:
                    storage: 30Gi
        runStrategy: RerunOnFailure
      

      How reproducible:

      Always

      Is this issue a regression from an earlier version:

      Steps to Reproduce:

      1. Create a host under OCP-V
      2. Select an image
      3. Click build

      Actual behavior:

      The host will not be created and will report errors around improper disk definition.

      Expected behavior:

      A host is created using the image as a template.

              Unassigned Unassigned
              rhn-engineering-sshtein Shimon Shtein
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: