On SLES 11 with SFCB Xen_HostSystem returns no instances

In the SLES 11 distribution Novell is distributing libvirt-cim-0.5.2-8.46 and registering it with the SFCB CIMOM. Does anyone know why the enumeration of Xen_HostSystem returns no instances? I could not find any mention of this on the mailing list. Thanks for your help. Dayne Medlyn

Medlyn, Dayne (VSL - Ft Collins) wrote:
In the SLES 11 distribution Novell is distributing libvirt-cim-0.5.2-8.46 and registering it with the SFCB CIMOM. Does anyone know why the enumeration of Xen_HostSystem returns no instances? I could not find any mention of this on the mailing list.
The host is Linux_ComputerSystem instance in /root/cimv2. VMs are associated to the host with Xen_HostedDependency association. Jim

Jim, So you are saying that we should not use Xen_HostSystem and that it cannot be relied on? I am dealing with existing code that references the Xen_HostSystem successfully on SLES10sp2 with libvirt-cim-0.4.1 installed, which is now broken in SLES 11 with libvirt-cim-0.5.2. The SLES 10sp2 system is running tog-Pegasus where the SLES 11 system is running SFCB. I was hoping for compatibility from one release to another. Perhaps the choice of using Xen_HostSystem was a bad one? I am trying to determine if I have found a bug in what is included in SLES 11 or if I may be missing some unidentified dependency or configurations. Thoughts? Thanks for your insights. Dayne
-----Original Message----- From: libvirt-cim-bounces@redhat.com [mailto:libvirt-cim- bounces@redhat.com] On Behalf Of Jim Fehlig Sent: Thursday, April 23, 2009 3:56 PM To: List for discussion and development of libvirt CIM Subject: Re: [Libvirt-cim] On SLES 11 with SFCB Xen_HostSystem returns no instances
Medlyn, Dayne (VSL - Ft Collins) wrote:
In the SLES 11 distribution Novell is distributing libvirt-cim-0.5.2- 8.46 and registering it with the SFCB CIMOM. Does anyone know why the enumeration of Xen_HostSystem returns no instances? I could not find any mention of this on the mailing list.
The host is Linux_ComputerSystem instance in /root/cimv2. VMs are associated to the host with Xen_HostedDependency association.
Jim
_______________________________________________ Libvirt-cim mailing list Libvirt-cim@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim

Medlyn, Dayne (VSL - Ft Collins) wrote:
Jim,
So you are saying that we should not use Xen_HostSystem and that it cannot be relied on? I am dealing with existing code that references the Xen_HostSystem successfully on SLES10sp2 with libvirt-cim-0.4.1 installed, which is now broken in SLES 11 with libvirt-cim-0.5.2. The SLES 10sp2 system is running tog-Pegasus where the SLES 11 system is running SFCB. I was hoping for compatibility from one release to another. Perhaps the choice of using Xen_HostSystem was a bad one?
I am trying to determine if I have found a bug in what is included in SLES 11 or if I may be missing some unidentified dependency or configurations. Thoughts?
Thanks for your insights.
Dayne
Hi Dayne, The Xen_HostSystem instance is a placeholder, it doesn't give an accurate view of the host system. If the system doesn't have a provider set that accurately represents the host, then libvirt-cim will generate an instance of Xen_HostSystem just so the association linkage works properly. libvirt-cim doesn't set any of the attributes appropriately - we basically set values for the keys and generate the instance. The idea here is that libvirt-cim represents the virtual guests and their resources, it doesn't represent the host system itself. So the instance of Xen_HostSystem doesn't conform to the System Virtualization Profile. Does your implementation need the sblim-cmpi-base package? libvirt-cim will detect whether Linux_ComputerSystem is available. If it is available, then enumerating Xen_HostSystem is disabled. If you remove sblim-cmpi-base, you'll be able to enumerate Xen_HostSystem. -- Kaitlin Rupert IBM Linux Technology Center kaitlin@linux.vnet.ibm.com

Thanks Kaitlin, We are using slim-campy-base provider as well and removing slim-campy-base enabled Xen_HostSystem precisely as you said. Disabling enumeration of Xen_HostSystem must have been added between libvirt-cim 0.4.1 and libvirt-cim 0.5.2. Thanks for the help. I know have the information necessary to work through a resolution. Dayne
-----Original Message----- From: libvirt-cim-bounces@redhat.com [mailto:libvirt-cim- bounces@redhat.com] On Behalf Of Kaitlin Rupert Sent: Thursday, April 23, 2009 6:08 PM To: List for discussion and development of libvirt CIM Subject: Re: [Libvirt-cim] On SLES 11 with SFCB Xen_HostSystem returns no instances
Jim,
So you are saying that we should not use Xen_HostSystem and that it cannot be relied on? I am dealing with existing code that references
Medlyn, Dayne (VSL - Ft Collins) wrote: the Xen_HostSystem successfully on SLES10sp2 with libvirt-cim-0.4.1 installed, which is now broken in SLES 11 with libvirt-cim-0.5.2. The SLES 10sp2 system is running tog-Pegasus where the SLES 11 system is running SFCB. I was hoping for compatibility from one release to another. Perhaps the choice of using Xen_HostSystem was a bad one?
I am trying to determine if I have found a bug in what is included in
SLES 11 or if I may be missing some unidentified dependency or configurations. Thoughts?
Thanks for your insights.
Dayne
Hi Dayne,
The Xen_HostSystem instance is a placeholder, it doesn't give an accurate view of the host system. If the system doesn't have a provider set that accurately represents the host, then libvirt-cim will generate an instance of Xen_HostSystem just so the association linkage works properly.
libvirt-cim doesn't set any of the attributes appropriately - we basically set values for the keys and generate the instance. The idea here is that libvirt-cim represents the virtual guests and their resources, it doesn't represent the host system itself. So the instance of Xen_HostSystem doesn't conform to the System Virtualization Profile.
Does your implementation need the sblim-cmpi-base package? libvirt-cim will detect whether Linux_ComputerSystem is available. If it is available, then enumerating Xen_HostSystem is disabled. If you remove sblim-cmpi-base, you'll be able to enumerate Xen_HostSystem.
-- Kaitlin Rupert IBM Linux Technology Center kaitlin@linux.vnet.ibm.com
_______________________________________________ Libvirt-cim mailing list Libvirt-cim@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim
participants (3)
-
Jim Fehlig
-
Kaitlin Rupert
-
Medlyn, Dayne (VSL - Ft Collins)