libvirt: find-storage-pool-sources work unexpected
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
1. how to reproduce:
virsh find-storage-
2. frequency:
100%
3. expected result:
list export paths of localhost
4. Actul result:
virsh # find-storage-
error: Failed to find any netfs pool sources
error: Cannot find '' in path: No such file or directory
5. Source code trace:
In src/storage/
if (source->nhost != 1) {
goto cleanup;
}
state.host = source-
cmd = virCommandNewAr
6. diagnose suggestion:
It may because the build machine does not has a nfs-common installed, so SHOWMOUNT during configure, is configured as empty.
So when running find-source cmd, SHOWMOUNT cannot be found so report error.
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: libvirt-bin 1.0.2-0ubuntu11
ProcVersionSign
Uname: Linux 3.8.0-32-generic x86_64
ApportVersion: 2.9.2-0ubuntu8.5
Architecture: amd64
Date: Mon Dec 30 17:05:07 2013
InstallationDate: Installed on 2013-10-06 (84 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
MarkForUpload: True
SourcePackage: libvirt
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in libvirt (Ubuntu): | |
importance: | Undecided → Medium |
Thanks, adding nfs-common to build-deps seems reasonable.
status: triaged
priority: wishlist