[Bug 1417288] Re: unable to create snapshot

2021-05-16 Thread Christian Ehrhardt 
Following the arguments made before on this bug about this being an
uncommon or maybe even unsupported setup variant I'm marking the tasks
that represent backports as won't fix.

This setup only becomes more reasonable after [1] which isn't on
anyone's active work-queue atm AFAIK - and even then is a new feature
unlikely to be backported.

[1]: https://gitlab.com/libvirt/libvirt/-/issues/135

** Changed in: libvirt (Ubuntu Bionic)
   Status: Incomplete => Won't Fix

** Changed in: libvirt (Ubuntu Focal)
   Status: Incomplete => Won't Fix

** Changed in: libvirt (Ubuntu Groovy)
   Status: Incomplete => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1417288

Title:
  unable to create snapshot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1417288/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1417288] Re: unable to create snapshot

2021-05-16 Thread Christian Ehrhardt 
There still are known issues around volume usage with apparmor isolation which 
are tracked elsewhere. But you are right - thanks Garry - one of the inderlying 
issues about
a) modifying non-local storage 
(https://listman.redhat.com/archives/libvir-list/2020-November/msg01252.html)
b) internatl snapshots translation on type=vollume 
(https://listman.redhat.com/archives/libvir-list/2020-November/msg01253.html)
Are fixed by this series (the rest improves the abort and error messages).

That series is in libvirt since v6.10 .0 and thereby it is indeed in
21.04 and later.

** Also affects: libvirt (Ubuntu Groovy)
   Importance: Undecided
   Status: New

** Also affects: libvirt (Ubuntu Focal)
   Importance: Undecided
   Status: New

** Also affects: libvirt (Ubuntu Bionic)
   Importance: Undecided
   Status: New

** Also affects: libvirt (Ubuntu Hirsute)
   Importance: Undecided
   Status: New

** Changed in: libvirt (Ubuntu Hirsute)
   Status: New => Fix Released

** Changed in: libvirt (Ubuntu Groovy)
   Status: New => Incomplete

** Changed in: libvirt (Ubuntu Focal)
   Status: New => Incomplete

** Changed in: libvirt (Ubuntu Bionic)
   Status: New => Incomplete

** Changed in: libvirt (Ubuntu Bionic)
   Importance: Undecided => Low

** Changed in: libvirt (Ubuntu Focal)
   Importance: Undecided => Low

** Changed in: libvirt (Ubuntu Groovy)
   Importance: Undecided => Low

** Changed in: libvirt (Ubuntu)
 Assignee: Stefan Bader (smb) => (unassigned)

** Changed in: libvirt (Ubuntu)
   Status: Incomplete => Fix Released

** Bug watch added: gitlab.com/libvirt/libvirt/-/issues #135
   https://gitlab.com/libvirt/libvirt/-/issues/135

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1417288

Title:
  unable to create snapshot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1417288/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1417288] Re: unable to create snapshot

2021-05-12 Thread Garry Lawrence
This appears to have already been fixed for some cases. I was able to
snapshot a qcow2 volume on 21.04 (libvirt 7.0.0).

Upstream discussion (I think this is the relevant change):
https://gitlab.com/libvirt/libvirt/-/issues/97

** Bug watch added: gitlab.com/libvirt/libvirt/-/issues #97
   https://gitlab.com/libvirt/libvirt/-/issues/97

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1417288

Title:
  unable to create snapshot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1417288/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1417288] Re: unable to create snapshot

2016-07-26 Thread Stefan Bader
Lowering the priority here. Not really sure this will be ever fixed. But
likely need to revisit the latest libvirt.

** Changed in: libvirt (Ubuntu)
   Importance: High => Low

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1417288

Title:
  unable to create snapshot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1417288/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1417288] Re: unable to create snapshot

2015-09-24 Thread Stefan Bader
I noticed this, too. And that it seemed to work with later releases.
However this is only half true. Actually that error still exists in the
tip of the libvirt tree. There is only on commit that fixed an
inconsistency related to the --children option with a note saying it
would be nice if we would support deletion of external snapshots one
day.

So deletion in Trusty/14.04 (still?) requires to add "--metadata" (only
deletes the info but leaves the snapshot file which then has to be
removed manually outside libvirt).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1417288

Title:
  unable to create snapshot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1417288/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1417288] Re: unable to create snapshot

2015-09-23 Thread ben thielsen
thanks for the time you've devoted to this.  your assessment seems to be
exactly the case, given a little more testing here.  i've converted to a
disk type of file, and snapshots work [mostly - see my next comment].

i'd never used/tried snapshots with this particular configuration.  i'm
sure you're right - it probably didn't ever work.  although i really do
like being able to use pools and volumes, for the sake of structure and
organization and being able to avoid literal filesystem paths within
guest definitions, i've switched from volumes back to files, since i
don' really have a choice if i want snapshots.

from a practical standpoint, it would be nice to have this
functionality.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1417288

Title:
  unable to create snapshot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1417288/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1417288] Re: unable to create snapshot

2015-09-23 Thread ben thielsen
i can now create snapshots if using --disk-only, but i guess this is an
"external" snapshot?  which leads to other problems, like not being able
to delete it:

>virsh snapshot-create-as orb-template-ubuntu 'test_snapshot_3' 'test snapshot 
>3'
error: operation failed: Error -22 while writing VM

>virsh snapshot-create-as orb-template-ubuntu 'test_snapshot_3' 'test snapshot 
>3' --atomic
error: operation failed: Error -22 while writing VM

>virsh snapshot-create-as orb-template-ubuntu 'test_snapshot_3' 'test snapshot 
>3' --atomic --disk-only
Domain snapshot test_snapshot_3 created

>virsh snapshot-list orb-template-ubuntu
 Name Creation Time State

 test_snapshot2015-09-23 15:07:02 -0400 disk-snapshot
 test_snapshot_2  2015-09-23 15:07:44 -0400 disk-snapshot
 test_snapshot_3  2015-09-23 15:55:18 -0400 disk-snapshot

>virsh snapshot-delete orb-template-ubuntu test_snapshot_3
error: Failed to delete snapshot test_snapshot_3
error: unsupported configuration: deletion of 1 external disk snapshots not 
supported yet

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1417288

Title:
  unable to create snapshot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1417288/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1417288] Re: unable to create snapshot

2015-08-27 Thread Stefan Bader
** Changed in: libvirt (Ubuntu)
   Status: Confirmed = Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1417288

Title:
  unable to create snapshot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1417288/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1417288] Re: unable to create snapshot

2015-08-03 Thread Stefan Bader
I looked a bit more into this and more and more get the impression that
this particular setup has not and is not supported.

Ben, did snapshots with type volume storage definitions ever work for
you? And the other question would be whether it is possible to convert
the currents guests and the process of creating new guests to use the
type=file format of storage definitions.

A bit more background: snapshots are only supported on file-backed
disks. When defining a disk as type=volume, the internal structure that
holds the disk stores both the volume name (type=volume) and the path
(type=file) in the same source element. But all the code for snapshots
assumes a local path in there. For type=volume this would require
additional checking (since there are pools that do not contains file
backed volumes) and re-direction (to resolve the volume name into a
path). None of this is present even in the recent releases of libvirt.
So it might be a restriction that has not been documented well.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1417288

Title:
  unable to create snapshot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1417288/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1417288] Re: unable to create snapshot

2015-07-01 Thread Stefan Bader
I was able to to reproduce this. The important detail is to use the disk
type volume not file as we normally do.

** Changed in: libvirt (Ubuntu)
 Assignee: (unassigned) = Stefan Bader (smb)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1417288

Title:
  unable to create snapshot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1417288/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1417288] Re: unable to create snapshot

2015-05-08 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: libvirt (Ubuntu)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1417288

Title:
  unable to create snapshot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1417288/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1417288] Re: unable to create snapshot

2015-03-19 Thread Serge Hallyn
** Changed in: libvirt (Ubuntu)
   Importance: Undecided = High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1417288

Title:
  unable to create snapshot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1417288/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1417288] Re: unable to create snapshot

2015-03-09 Thread ben thielsen
yes, it still has this behavior with 1.2.8-0ubuntu11.4

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1417288

Title:
  unable to create snapshot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1417288/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1417288] Re: unable to create snapshot

2015-02-26 Thread Serge Hallyn
Hm, I can't reproduce this:

virsh !!
virsh snapshot-create-as debianwheezy 'test_snapshot' 'test snapshot' --atomic
Domain snapshot test_snapshot created

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1417288

Title:
  unable to create snapshot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1417288/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1417288] Re: unable to create snapshot

2015-02-26 Thread Serge Hallyn
Just to be sure, could you confirm that 1.2.8-0ubuntu11.4 still has this
behavior?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1417288

Title:
  unable to create snapshot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1417288/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs