report Xen_HostSystem parsing error in F8 while make postinstall

Hi, When I running make postinstall, it reports parsing error : Parsing error: parse error: Error adding class Xen_HostSystem to the repository: CIM_ERR_INVALID_SUPERCLASS: Operation cannot be carried out since the specified superclass does not exist: "CIM_ComputerSystem" Actually, CIM_ComputerSystem exist in the repository (/var/lib/Pegasus/repository/root#virt/classes), and Xen_HostSystem has been added to the repository. Of course, I have installed schema cimv216Experimental successfully. This is using xen-3.1.0-13.fc8 and libvirt-0.3.3-2.fc8. However, there is no error in RHEL 5.1 by making postinstall. Who know why? Thanks! Best, Regards Daisy Guo Lian Yun E-mail: yunguol@cn.ibm.com IBM China Development Lab, Shanghai, China TEL: (86)-21-61008057

GY> When I running make postinstall, it reports parsing error : In what environment? GY> Parsing error: parse error: Error adding class Xen_HostSystem to GY> the repository: CIM_ERR_INVALID_SUPERCLASS: Operation cannot be GY> carried out since the specified superclass does not exist: GY> "CIM_ComputerSystem" Hmm, this is what I usually see when the base schema isn't installed. Perhaps you need to completely remove your root#virt repository and reinstall the base schema? You can try removing that directory and then running "make preinstall" to install the base schema with our automated system. There may be more debugging you can do, but I tend to take a "brute force" mentality to debugging silly Pegasus issues :) Maybe someone else has a better solution? -- Dan Smith IBM Linux Technology Center Open Hypervisor Team email: danms@us.ibm.com

Dan Smith wrote:
GY> When I running make postinstall, it reports parsing error :
In what environment?
GY> Parsing error: parse error: Error adding class Xen_HostSystem to GY> the repository: CIM_ERR_INVALID_SUPERCLASS: Operation cannot be GY> carried out since the specified superclass does not exist: GY> "CIM_ComputerSystem"
Hmm, this is what I usually see when the base schema isn't installed. Perhaps you need to completely remove your root#virt repository and reinstall the base schema? You can try removing that directory and then running "make preinstall" to install the base schema with our automated system.
There may be more debugging you can do, but I tend to take a "brute force" mentality to debugging silly Pegasus issues :)
Maybe someone else has a better solution?
I think I ran into a similar issue on Fedora 8 the first time I set things up. I think I had to do the following: 1) Remove the classes from root#virt and root#interop. 2) Re-add the classes to root#virt and root#interop (see http://libvirt.org/CIM/schema.html for more info) 3) Run make preuninstall, make uninstall, make, make install, make postinstall in the libvirt-cim directory. If the make postinstall still fails, trying running make preuninstall and then make postinstall again. -- Kaitlin Rupert IBM Linux Technology Center karupert@us.ibm.com
participants (3)
-
Dan Smith
-
Guo Lian Yun
-
Kaitlin Rupert