Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Here is the key information:
Test on qemu-kvm-rhev-2.1.2-23.el7.x86_64:
with script https://bugzilla.redhat.com/attachment.cgi?id=867573:
with default script:
# ./test.sh
Formatting 'base.qcow2', fmt=qcow2 size=1073741824 encryption=off cluster_size=65536 lazy_refcounts=off
Performing live snapshot test
-----------------------------
Waiting to connect to qmp socket...
./test.sh: connect: Connection refused
./test.sh: line 44: /dev/tcp/localhost/44444: Connection refused
connected!
snapshot-0: success!
snapshot-1: success!
snapshot-2: success!
snapshot-3: success!
snapshot-4: success!
...
snapshot-77: success!
snapshot-78: success!
snapshot-79: success!
Performing qemu-img snapshot test
---------------------------------
snapshot-0: success!
snapshot-1: success!
snapshot-2: success!
snapshot-3: success!
...
snapshot-78: success!
snapshot-79: success!
Killing qemu process (28807)....
done, left directory this-is-a-test-dir-for-snapshots-28803 intact
in script, modify MAX_SNAPSHOTS from 80 to 99, test failed when creating qimg-snapshot-98.qcow2 with qemu-img, try to test manually:
1. qimg-snapshot-97.qcow2 is good:
[root@localhost this-is-a-test-dir-for-snapshots-28270]# qemu-img create -f qcow2 qimg-snapshot-97.qcow2 -b ../this-is-a-test-dir-for-snapshots-28270/qimg-snapshot-96.qcow2
Formatting 'qimg-snapshot-97.qcow2', fmt=qcow2 size=1073741824 backing_file='../this-is-a-test-dir-for-snapshots-28270/qimg-snapshot-96.qcow2' encryption=off cluster_size=65536 lazy_refcounts=off
2. qimg-snapshot-98.qcow2 report error(just one error, but very long):
[root@localhost this-is-a-test-dir-for-snapshots-28270]# qemu-img create -f qcow2 qimg-snapshot-98.qcow2 -b ../this-is-a-test-dir-for-snapshots-28270/qimg-snapshot-97.qcow2
qemu-img: qimg-snapshot-98.qcow2: Could not open '../this-is-a-test-dir-for-snapshots-28270/qimg-snapshot-97.qcow2': Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open backing file: Could not open '../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir-for-snapshots-28270/../this-is-a-test-dir': No such file or directory: No such file or directory