Bug 919826

Summary: snapshot-create (1.3.0) fails with: error: Failed to open file '(null)': Bad address
Product: [Community] Virtualization Tools Reporter: himbeere
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: dyasny, jtomko, pkrempa
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-11 13:30:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description himbeere 2013-03-10 09:47:44 UTC
Description of problem:

Since upgrading to libvirt-1.3.0 snapshot-create fails with:
error: Failed to open file '(null)': Bad address


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

virsh # version
Compiled against library: libvirt 1.0.3
Using library: libvirt 1.0.3
Using API: QEMU 1.0.3
Running hypervisor: QEMU 1.2.2

virsh #

How reproducible:

Always.

best regards
t.

Comment 1 Peter Krempa 2013-03-11 12:50:45 UTC
snapshot-create is really meant to be used with the XML file. snapshot-create-as is a better option to do the expected stuff.

Anyhow, this is a regression and it's fixed by http://www.redhat.com/archives/libvir-list/2013-March/msg00444.html

Comment 2 Ján Tomko 2013-03-11 13:30:06 UTC
Fixed upstream by:
commit 2fc5ff11ab796a8ad60e0432373c93d0794fbfc6
Author:     Ján Tomko <jtomko>
AuthorDate: 2013-03-11 13:22:21 +0100
Commit:     Ján Tomko <jtomko>
CommitDate: 2013-03-11 13:39:11 +0100

    virsh: fix snapshot-create with no xmlfile

This will be a part of 1.0.4 release.

Comment 3 himbeere 2013-03-11 13:59:20 UTC
Okay thank you. This change came a little bit surprising.

best regards
t.