Uploaded image for project: 'Project FiFo'
  1. FIFO-519

Uploaded KVM datasets makes chunter get an invalid ZFS stream

    Details

    • Type: Bug
    • Status: Closed (View workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.6.0
    • Fix Version/s: 0.6.0
    • Component/s: None
    • Labels:
      None

      Description

      Hi,

      Ive been trying to upload KVM datasets so the can be used when creating VMs.

      When doing that, and creating a new VM for it, i see chunter running:
      "not found going to run: /opt/chunter/lib/chunter-0.6.0p1/priv/zfs_receive.gzip.sh <uuid>"

      and then

      "cannot receive new filesystem stream: invalid backup stream"

      I don't really know where exactly the problem is, but i could reproduce it like this:

      1.- get http://datasets.at/datasets/5e164fac-286d-11e4-9cf7-b3f73eefcd01
      2.- get http://datasets.at/datasets/5e164fac-286d-11e4-9cf7-b3f73eefcd01/centos-7-20140820.zvol.gz
      3.- Make sure imgadm list does not already contain the centos-7 dataset
      4.- nfifo-upload-dataset to upload them
      5.- The upload process results ok
      6.- Create a VM based on the centos dataset, and watch chunter fail.

      I made nfifo skip some validations. Tried to use pyfi too, but the upload didnt ended well, i guess it needs some modifications for the dataset.uuid api change

        Attachments

          Activity

            People

            • Assignee:
              heinz Heinz N. Gies
              Reporter:
              killfill Phillip Neumann
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: