Bug 1031460

Summary: a shutdown guest using glusterfs volume can't do snapshot
Product: Red Hat Enterprise Linux 7 Reporter: Shanzhi Yu <shyu>
Component: libvirtAssignee: Peter Krempa <pkrempa>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: acathrow, bili, chhu, dyuan, mzhan, pkrempa
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-22 14:10:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Shanzhi Yu 2013-11-18 03:14:02 UTC
Description of problem:

a shutdown guest using glusterfs volume  can't do snapshot 

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


How reproducible:


Steps to Reproduce:

1. create an guest using glusterfs volume as source disk
# virsh dumpxml rhel6 
<disk type='network' device='disk'>
      <driver name='qemu' type='qcow2'/>
      <source protocol='gluster' name='gluster-vol1/rhel6-qcow2.img'>
        <host name='' port='24007' transport='rdma'/>
      <target dev='vda' bus='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    <controller type='scsi' index='0' model='virtio-scsi'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>


2. do snapshot when guest is shutdown status
# virsh list --all;virsh snapshot-create rhel6
 Id    Name                           State
 -   rhel6                            shut off 

error: internal error: Child process (/usr/bin/qemu-img snapshot -c 1384506501 gluster-vol1/rhel6-qcow2.img) unexpected exit status 1: qemu-img: Could not open 'gluster-vol1/rhel6-qcow2.img': Could not open file: No such file or directory

3. do snapshot when guest is running

# virsh list;virsh snapshot-create rhel6
 Id    Name                           State
 52    rhel6                          running

Domain snapshot 1384506518 created

Actual results:

as above

Expected results:

can do snapshot when guest is shut down

Additional info:

Comment 2 Peter Krempa 2013-11-22 14:10:00 UTC

*** This bug has been marked as a duplicate of bug 1032370 ***