[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [Fwd: error: this function is not supported by the connection driver : virConnectNumOfStoragePool]



On 05/31/2012 08:33 AM, Onkar wrote:
> Hello All, 
>     Any idea on this issue ?
> 
> Regards,
> Onkar
> 
> -------- Forwarded Message --------
> From: Onkar <kernzap gmail com>
> To: libvir-list <libvir-list redhat com>
> Subject: error: this function is not supported by the connection
> driver : virConnectNumOfStoragePool
> Date: Wed, 30 May 2012 21:29:42 +0530
> 
> Hello, 
> 
> I configured libvirt like this 
> ./configure --prefix=/ --exec-prefix=/usr/ --libdir=/usr/lib64/
> --with-storage-dir --with-storage-dir --with-storage-dir
> --with-storage-dir --with-storage-dir --with-storage-dir
> --with-storage-dir --with-storage-dir --with-qemu --with-libvirtd
> --with-selinux --with-network --with-libblkid
> 
> and then, 
> 
> make -j4 
> make install
> 
> and then 
> 
> # virsh list --all 
> Id    Name                           State
> ----------------------------------------------------
> -     vm1                            shut off
> 
> # virsh pool-list --all
> error: Failed to list active pools
> error: this function is not supported by the connection driver:
> virConnectNumOfStoragePools
> 
> 
> getting this error , any clues on why is this error ? 
> 
> 
> Regards,
> Onkar
> 

Hi,

I'm not saying it is the case, but it could've happened:

If you installed from git and your pool resides in ~/.libvirt, then it
is possible, that thisthis was moved to ~/.config/libvirt and storage
driver failed to start. If you are building with modules enabled, then
the module didn't get to load (and unfortunately didn't show any
message, this should be a bug) and you have no storageDriver available,
that's why you see this message. This is what happened to me. The
solution is to virsh pool-edit the pool after you configured and
installed with --without-driver-modules.

Martin


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]