[node-devel] CIM and oVirt Node

Daniel Veillard veillard at redhat.com
Tue Mar 27 02:07:52 UTC 2012


On Mon, Mar 26, 2012 at 12:48:22PM -0400, Mike Burns wrote:
> On Mon, 2012-03-26 at 12:04 -0400, Mike Burns wrote:
> > I'm working on debugging oVirt Node and CIM and have run into some
> > problems.  I'm hoping that posting here will pull in some of the CIM
> > experts to help with debugging.
> > 
> > With the 2.3.0-1.0 release version[1], we were getting an error:
> > 
> > # wbemcli ein -noverify
> > https://cim:password@192.168.122.173/root/virt:KVM_VirtualSystemManagementService
> > *
> > * wbemcli: Cim: (3) CIM_ERR_INVALID_NAMESPACE: Invalid namespace
> > *
> > 
> > I talked to DV (cc'ed) about this and he recommended trying the F17
> > version of libvirt-cim.  I rebuilt the image using this version and
> > tried again.
> 
> Available here:  
> 
> http://ovirt.org/releases/nightly/binary/ovirt-node-iso-2.3.0-999.1cim.fc16.iso
> 
> > 
> > $ wbemcli ein -noverify
> > https://cim:password@192.168.122.173/root/virt:KVM_VirtualSystemManagementService
> > *
> > * wbemcli: Cim: (6) CIM_ERR_NOT_FOUND: Provider not found or not
> > loadable
> > *

  Hum, that seems to indicate that the cim-server found the schemas
describing the virt: namespace and that particular KVM entry point,
but it failed to find it in the dynamicaly loaded shared library set
which is exposed by libvirt-cim and implementing the given entry points.

  First suggestion would be to check for SELinux possible errors, since
sblim-sfcb might have troubles loading the shared library if the policy
is not directly helping. A second possibility might be that sblim-sfcb
is not finding the .so, and an strace of the daemon from the start may
show up in what directories it may be looking and if that correspond to
libvirt-cim .so installed paths.

> > $ rpm -q libvirt-cim sblim-sfcb
> > libvirt-cim-0.6.1-2.fc17.x86_64
> > sblim-sfcb-1.3.11-2.fc16.x86_64
> > 
> > 
> > Any ideas or hints for further debugging?

  SELinux logs and strace :-\

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/



More information about the node-devel mailing list