HostedResourcePool association provider return expected result with wrong key name or value

Hi, I encounter a problem of HostedResourcePool association provider, which can still return expected result with wrong key value, even wrong key name. wbemcli ain -ac Xen_HostedResourcePool http://root:password@localhost/root/virt:Xen_MemoryPool.InstanceID="wrong" localhost:5988/root/virt:Xen_HostSystem.CreationClassName="Xen_HostSystem",Name="zeit" wbemcli ain -ac Xen_HostedResourcePool http://root:password@localhost/root/virt:Xen_MemoryPool.wrong="wrong" localhost:5988/root/virt:Xen_HostSystem.CreationClassName="Xen_HostSystem",Name="zeit" That is mean, with a non existing instance, e.g. a wrong InstanceID name or value as above, it can return results also. Please can you have a look into this? Thanks! Best, Regards Daisy Guo Lian Yun E-mail: yunguol@cn.ibm.com IBM China Development Lab, Shanghai, China TEL: (86)-21-61008057

Guo Lian Yun wrote:
Hi,
I encounter a problem of HostedResourcePool association provider, which can still return expected result with wrong key value, even wrong key name.
wbemcli ain -ac Xen_HostedResourcePool http://root:password@localhost/root/virt:Xen_MemoryPool.InstanceID="wrong" localhost:5988/root/virt:Xen_HostSystem.CreationClassName="Xen_HostSystem",Name="zeit"
wbemcli ain -ac Xen_HostedResourcePool http://root:password@localhost/root/virt:Xen_MemoryPool.wrong="wrong" localhost:5988/root/virt:Xen_HostSystem.CreationClassName="Xen_HostSystem",Name="zeit"
That is mean, with a non existing instance, e.g. a wrong InstanceID name or value as above, it can return results also. Please can you have a look into this? Thanks!
Hi Daisy - this looks like a bug. I've just submitted a patch that should fix the problem. -- Kaitlin Rupert IBM Linux Technology Center karupert@us.ibm.com
participants (2)
-
Guo Lian Yun
-
Kaitlin Rupert