Xen_HostedService return expected queried result with non existing instance by two sides

Hi, With a non existing instance, e.g. a wrong key name or value, Xen_HostedService still return expected results below: wbemcli ain -ac Xen_HostedService http://root:password@localhost/root/virt:Xen_ResourcePoolConfigurationServic..." wrong" localhost:5988/root/virt:Xen_HostSystem.CreationClassName="Xen_HostSystem",Name="zeit" wbemcli ain -ac Xen_HostedService http://root:password@localhost/root/virt:Xen_HostSystem.CreationClassName=" wrong",Wrong="zeit" localhost:5988/root/virt:Xen_ResourcePoolConfigurationService.CreationClassName="Xen_ResourcePoolConfigurationService",Name="RPCS",SystemCreationClassName="Xen_HostSystem",SystemName="zei" localhost:5988/root/virt:Xen_VirtualSystemManagementService.CreationClassName="Xen_VirtualSystemManagementService",Name="Management Service",SystemCreationClassName="Xen_HostSystem",SystemName="zeit" localhost:5988/root/virt:Xen_VirtualSystemMigrationService.CreationClassName="Xen_VirtualSystemMigrationService",Name="MigrationService",SystemCreationClassName="",SystemName="" Also, some keys value of Xen_VirtualSystemMigrationService are NULL. I think it's maybe provider's fault, the same issue of Xen_HostedResourcePool and Xen_ResourceAllocationFromPool, which have been reported before. Please who can have a look into them? Thanks a lot! 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,
With a non existing instance, e.g. a wrong key name or value, Xen_HostedService still return expected results below:
wbemcli ain -ac Xen_HostedService http://root:password@localhost/root/virt:Xen_ResourcePoolConfigurationService.wrong="wrong" localhost:5988/root/virt:Xen_HostSystem.CreationClassName="Xen_HostSystem",Name="zeit"
wbemcli ain -ac Xen_HostedService http://root:password@localhost/root/virt:Xen_HostSystem.CreationClassName="wrong",Wrong="zeit" localhost:5988/root/virt:Xen_ResourcePoolConfigurationService.CreationClassName="Xen_ResourcePoolConfigurationService",Name="RPCS",SystemCreationClassName="Xen_HostSystem",SystemName="zei" localhost:5988/root/virt:Xen_VirtualSystemManagementService.CreationClassName="Xen_VirtualSystemManagementService",Name="Management Service",SystemCreationClassName="Xen_HostSystem",SystemName="zeit" localhost:5988/root/virt:Xen_VirtualSystemMigrationService.CreationClassName="Xen_VirtualSystemMigrationService",Name="MigrationService",SystemCreationClassName="",SystemName=""
Daisy, thank you for reporting this bug. Very good finding :) ! The patch "HS: returns results for wrong object path" should fix this issue. Please can you verify it ? Thanks a lot. -- Regards Heidi Eckhart Software Engineer IBM Linux Technology Center - Open Hypervisor

libvirt-cim-bounces@redhat.com wrote on 2008-01-08 21:07:41:
Guo Lian Yun wrote:
Hi,
With a non existing instance, e.g. a wrong key name or value, Xen_HostedService still return expected results below:
wbemcli ain -ac Xen_HostedService http://root:password@localhost/root/virt:
Xen_ResourcePoolConfigurationService.wrong="wrong"
localhost:5988/root/virt:Xen_HostSystem. CreationClassName="Xen_HostSystem",Name="zeit"
wbemcli ain -ac Xen_HostedService
http://root:password@localhost/root/virt:Xen_HostSystem.CreationClassName= "wrong",Wrong="zeit"
localhost:5988/root/virt:Xen_ResourcePoolConfigurationService. CreationClassName="Xen_ResourcePoolConfigurationService", Name="RPCS",SystemCreationClassName="Xen_HostSystem",SystemName="zei" localhost:5988/root/virt:Xen_VirtualSystemManagementService. CreationClassName="Xen_VirtualSystemManagementService",Name="Management Service",SystemCreationClassName="Xen_HostSystem",SystemName="zeit" localhost:5988/root/virt:Xen_VirtualSystemMigrationService. CreationClassName="Xen_VirtualSystemMigrationService", Name="MigrationService",SystemCreationClassName="",SystemName=""
Daisy, thank you for reporting this bug. Very good finding :) ! The patch "HS: returns results for wrong object path" should fix this issue. Please can you verify it ? Thanks a lot.
Sorry for delayed response. I've test again, the issue has been fixed with your good patch. Thanks!
-- Regards
Heidi Eckhart Software Engineer IBM Linux Technology Center - Open Hypervisor
_______________________________________________ Libvirt-cim mailing list Libvirt-cim@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim
participants (2)
-
Guo Lian Yun
-
Heidi Eckhart