Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-20188

[Machines] The running nfs vm crashes when reverting snapshot

    • sst_cockpit
    • ssg_front_door
    • None
    • QE ack
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

      What were you trying to do that didn't work?
      [Machines] The running nfs vm crashes when reverting snapshot

      Please provide the package NVR for which bug is seen:

      cockpit-machines-303-1.el9.noarch
      cockpit-305-1.el9.x86_64
      libvirt-dbus-1.4.1-5.el9.x86_64
      libvirt-client-9.5.0-7.el9_3.x86_64

      How reproducible:

      100%

      Steps to reproduce

      1 Prepare an nfs on a third host, and prepare an image:
      # yum install -y nfs-utils
      # mkdir /nfs
      # cat  /etc/exports
      /nfs *(rw,no_root_squash,async)
      # systemctl restart nfs-server
      # ls /nfs
      cirros.qcow2
       
      2. Mount the nfs on the host with cockpit environment:
      # mkdir /images
      # mount $ip_nfs-server:/nfs /images/
      # setsebool -P virt_use_nfs=on
       
      3. Click Import VM and create a running vm based on the nfs image
       
      4. Enter vm details page, click "Create snapshot" and create one snapshot with default name
       
      5. Click Revert
      There will be error and the vm is shutoff:

      Could not revert to snapshot

      End of file while reading data: Input/output error

      Expected results

      Revert should be successfull and not crashing the vm.

      Actual results

      See above.

            Unassigned Unassigned
            xchen@redhat.com Xiang Hua Chen
            Xiang Hua Chen Xiang Hua Chen
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: