[Libvirt-cim] Failing query of AllocationCapabilities, GetInstance() does not return an instance
Kaitlin Rupert
kaitlin at linux.vnet.ibm.com
Thu Dec 13 15:37:50 UTC 2007
Heidi Eckhart wrote:
> Guo Lian Yun wrote:
>>
>> The result of ein AllocationCapabilites is correct:
>>
>> wbemcli ein
>> http://root:password@localhost:5988/root/virt:Xen_AllocationCapabilities
>> localhost:5988/root/virt:Xen_AllocationCapabilities.InstanceID="ProcessorPool/0"
>>
>> localhost:5988/root/virt:Xen_AllocationCapabilities.InstanceID="MemoryPool/0"
>>
>> localhost:5988/root/virt:Xen_AllocationCapabilities.InstanceID="DiskPool/foo"
>>
>> localhost:5988/root/virt:Xen_AllocationCapabilities.InstanceID="NetworkPool/xenbr0"
>>
>> localhost:5988/root/virt:Xen_AllocationCapabilities.InstanceID="NetworkPool/virbr0"
>>
>>
>> But failing qurey of gi AllocationCapabilities:
>> wbemcli gi
>> http://root:password@localhost:5988/root/virt:Xen_AllocationCapabilities.InstanceID="ProcessorPool/0"
>>
>> *
>> * wbemcli: Cim: (1) CIM_ERR_FAILED: A general error occurred that is
>> not covered by a more specific error code: "Could not get ResourceType."
>> *
>>
> Hi Daisy,
> this issue was fixed by Kaitlin some days ago :) and is part of the
> code base since tuesday. So I guess your code is a bit older ? Please
> can you check out and reinstall the providers. Then this problem
> should be fixed.
>
This query is failing for me too. I fixed a similar issue with ELEC,
which might be what you're thinking of. =) Thanks for finding this
Daisy! I'll take a look at the problem today.
--
Kaitlin Rupert
IBM Linux Technology Center
karupert at us.ibm.com
More information about the Libvirt-cim
mailing list