Bug 919826 - snapshot-create (1.3.0) fails with: error: Failed to open file '(null)': Bad address
Summary: snapshot-create (1.3.0) fails with: error: Failed to open file '(null)': Bad ...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-10 09:47 UTC by himbeere
Modified: 2013-03-11 13:59 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-11 13:30:06 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.