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.
Description of problem:
Use virsh snapshot-edit to edit an exist snapshot,update the snapshot name then save,it will create a new fake snapshot with new name.
Version-Release number of selected component (if applicable):
libvirt-client-0.9.4-16.el6.x86_64
libvirt-0.9.4-16.el6.x86_64
libvirt-python-0.9.4-16.el6.x86_64
How reproducible:
always
Steps to Reproduce:
1.# virsh snapshot-create rhel6
Domain snapshot 1318280132 created
2.# virsh snapshot-list rhel6
Name Creation Time State
------------------------------------------------------------
1318280132 2011-10-11 04:55:32 +0800 shutoff
3.# virsh snapshot-edit rhel6 1318280132
*Change
<domainsnapshot>
<name>1318280132</name>
...
to
<domainsnapshot>
<name>1318280130</name>
...
then save*
Snapshot 1318280132 edited.
4.# virsh snapshot-list rhel6
Name Creation Time State
------------------------------------------------------------
1318280130 2011-10-11 04:55:32 +0800 shutoff
1318280132 2011-10-11 04:55:32 +0800 shutoff
5.# virsh snapshot-revert rhel6 1318280130
error: internal error Child process (/usr/bin/qemu-img snapshot -a 1318280130 /var/lib/libvirt/images/Winxp-32bit-qcow2-kvm) status unexpected: exit status 1
6.# qemu-img info /var/lib/libvirt/images/rhel6-qcow2
image: /var/lib/libvirt/images/rhel6-qcow2
file format: qcow2
virtual size: 6.0G (6442450944 bytes)
disk size: 1.4G
cluster_size: 65536
Snapshot list:
ID TAG VM SIZE DATE VM CLOCK
1 1318280132 0 2011-10-11 04:55:32 00:00:00.000
Actual results:
As above.
Expected results:
Virsh snapshot-edit should not allow to change the snapshot name.
Additional info:
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
http://rhn.redhat.com/errata/RHBA-2011-1513.html
Description of problem: Use virsh snapshot-edit to edit an exist snapshot,update the snapshot name then save,it will create a new fake snapshot with new name. Version-Release number of selected component (if applicable): libvirt-client-0.9.4-16.el6.x86_64 libvirt-0.9.4-16.el6.x86_64 libvirt-python-0.9.4-16.el6.x86_64 How reproducible: always Steps to Reproduce: 1.# virsh snapshot-create rhel6 Domain snapshot 1318280132 created 2.# virsh snapshot-list rhel6 Name Creation Time State ------------------------------------------------------------ 1318280132 2011-10-11 04:55:32 +0800 shutoff 3.# virsh snapshot-edit rhel6 1318280132 *Change <domainsnapshot> <name>1318280132</name> ... to <domainsnapshot> <name>1318280130</name> ... then save* Snapshot 1318280132 edited. 4.# virsh snapshot-list rhel6 Name Creation Time State ------------------------------------------------------------ 1318280130 2011-10-11 04:55:32 +0800 shutoff 1318280132 2011-10-11 04:55:32 +0800 shutoff 5.# virsh snapshot-revert rhel6 1318280130 error: internal error Child process (/usr/bin/qemu-img snapshot -a 1318280130 /var/lib/libvirt/images/Winxp-32bit-qcow2-kvm) status unexpected: exit status 1 6.# qemu-img info /var/lib/libvirt/images/rhel6-qcow2 image: /var/lib/libvirt/images/rhel6-qcow2 file format: qcow2 virtual size: 6.0G (6442450944 bytes) disk size: 1.4G cluster_size: 65536 Snapshot list: ID TAG VM SIZE DATE VM CLOCK 1 1318280132 0 2011-10-11 04:55:32 00:00:00.000 Actual results: As above. Expected results: Virsh snapshot-edit should not allow to change the snapshot name. Additional info: