Onkar
2012-May-31 06:33 UTC
[libvirt-users] [Fwd: error: this function is not supported by the connection driver : virConnectNumOfStoragePool]
Hello All, Any idea on this issue ? Regards, Onkar -------- Forwarded Message -------- From: Onkar <kernzap at gmail.com> To: libvir-list <libvir-list at 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
xingxing gao
2012-May-31 13:44 UTC
[libvirt-users] [libvirt] [Fwd: error: this function is not supported by the connection driver : virConnectNumOfStoragePool]
i download the libvirt-0.9.12.tar.gz and make rpms rpmbuild -tb libvirt-0.9.12.tar.gz everything is ok.maybe you can have a try. 2012/5/31 Onkar <kernzap at gmail.com>:> Hello All, > ? ?Any idea on this issue ? > > Regards, > Onkar > > -------- Forwarded Message -------- > From: Onkar <kernzap at gmail.com> > To: libvir-list <libvir-list at 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 > > > -- > libvir-list mailing list > libvir-list at redhat.com > https://www.redhat.com/mailman/listinfo/libvir-list
Eric Blake
2012-May-31 14:56 UTC
[libvirt-users] [libvirt] [Fwd: error: this function is not supported by the connection driver : virConnectNumOfStoragePool]
On 05/31/2012 12:33 AM, Onkar wrote:> Hello All, > Any idea on this issue ? > > Regards, > Onkar > > -------- Forwarded Message -------- > From: Onkar <kernzap at gmail.com> > To: libvir-list <libvir-list at 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-libblkidThat's a lot of redundant --with-storage-dir options. Generally, the error message you are seeing implies that you built without the proper prerequisites for the function that you are trying to call; perhaps it would help if you pasted the output of: $ sed -n '/Configuration summary/,/Cache/p' config.log $ virsh uri $ virsh version --daemon $ virsh --version=long which in turn may help us figure out which *-devel packages you were missing when you did your self-build, as needed in order to enable that function. -- Eric Blake eblake at redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 620 bytes Desc: OpenPGP digital signature URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20120531/a8cfa7e1/attachment.sig>
Martin Kletzander
2012-Jun-01 14:59 UTC
[libvirt-users] [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 at gmail.com> > To: libvir-list <libvir-list at 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
Eric Blake
2012-Jun-05 16:32 UTC
[libvirt-users] [libvirt] [Fwd: error: this function is not supported by the connection driver : virConnectNumOfStoragePool]
On 05/31/2012 12:33 AM, Onkar wrote:> Hello All, > Any idea on this issue ?> 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 >> # virsh pool-list --all > error: Failed to list active pools > error: this function is not supported by the connection driver: > virConnectNumOfStoragePoolsLooks like a code typo. This should fix it: https://www.redhat.com/archives/libvir-list/2012-June/msg00138.html -- Eric Blake eblake at redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 620 bytes Desc: OpenPGP digital signature URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20120605/ca31dcef/attachment.sig>