Public bug reported:

Installed KVM and Virt-Manager successfully.
When trying to add storage pool as local directory on my ext4 file system, I 
get this error:

Error creating pool: Could not build storage pool: unable to control COW
flag on '/var/lib/libvirt/images/pool', not btrfs: Function not
implemented

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 75, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/createpool.py", line 378, in 
_async_pool_create
    poolobj = pool.install(create=True, meter=meter, build=build)
  File "/usr/share/virt-manager/virtinst/storage.py", line 415, in install
    raise RuntimeError(errmsg)
RuntimeError: Could not build storage pool: unable to control COW flag on 
'/var/lib/libvirt/images/pool', not btrfs: Function not implemented


It seems that virt-manager is trying to disable the COW flag and returns an 
error because my file system is not BTRFS.

Tested on 2 fresh installs of Ubuntu Studio 20.10
Tested on  1 install of Ubuntu 20.04.1 and virt-manager has no issues with 
local storage on ext4 file system.

ProblemType: Bug
DistroRelease: Ubuntu 20.10
Package: virt-manager 1:2.2.1-4ubuntu2
ProcVersionSignature: Ubuntu 5.8.0-25.26-lowlatency 5.8.14
Uname: Linux 5.8.0-25-lowlatency x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu50
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: KDE
Date: Sat Oct 24 02:15:08 2020
InstallationDate: Installed on 2020-10-07 (16 days ago)
InstallationMedia: Ubuntu-Studio 20.10 "Groovy Gorilla" - Beta amd64 (20200930)
PackageArchitecture: all
SourcePackage: virt-manager
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: virt-manager (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug groovy

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

Title:
  virt-manager local directory storage failing

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/virt-manager/+bug/1901242/+subscriptions

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

Reply via email to