Dr. Gareth S. Bestor
IBM Senior Software Engineer
Systems & Technology Group - Systems Management Standards
971-285-6375 (mobile)
bestor@us.ibm.com
Re: [Libvirt-cim] cimtest
errors
Sharad Mishra
to:
List for discussion and development
of libvirt CIM
11/02/11 09:47 AM
Sent by:
libvirt-cim-bounces@redhat.com
Please respond to List for discussion
and development of libvirt CIM
I ran cimtest on a RHEL 6 machine with latest libvirt-cim
and cimtests.
Following 2 tests failed -
VirtualSystemManagementService - 11_define_memrasdunits.py: FAIL
ERROR - Got CIM error CIM_ERR_FAILED: ResourceSettings Error:
VirtualDevice property must be unique for each
DiskResourceAllocationSettingData in a single guest with return code 1
ERROR - DefineSystem with (KiloBytes) units failed
InvokeMethod(DefineSystem): CIM_ERR_FAILED: ResourceSettings Error:
VirtualDevice property must be unique for each
DiskResourceAllocationSettingData in a single guest
VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL
ERROR - Exception: CreateSnapshot failed to return a CIM job inst
ERROR - Failed to remove snapshot file for snapshot_vm
Will do some investigation to figure out why they are failing.
Regards,
Sharad Mishra
Open Virtualization
Linux Technology Center
IBM
libvirt-cim-bounces@redhat.com wrote on 11/01/2011 05:36:44 PM:
> Chip Vincent <cvincent@linux.vnet.ibm.com>
> Sent by: libvirt-cim-bounces@redhat.com
>
> 11/01/11 05:36 PM
>
> Please respond to
> List for discussion and development of libvirt CIM
<libvirt-cim@redhat.com>
>
> To
>
> libvirt-cim@redhat.com
>
> cc
>
> Subject
>
> [Libvirt-cim] cimtest errors
>
> FYI -
>
> It's getting close to creating a new release and I'd like to get
> libvirt-cim and cimtest in sync. With the latest upstream libvirt-cim
> and cimtest, I'm seeing the follow unexpected[1] errors in cimtest:
>
> VirtualSystemManagementService - 09_procrasd_persist.py: FAIL
> ERROR - Got CIM error CIM_ERR_FAILED: ResourceSettings Error:
> VirtualDevice property must be unique for each
> DiskResourceAllocationSettingData in a single guest with return code
1
> ERROR - Unable to define procrasd_persist_dom
> InvokeMethod(DefineSystem): CIM_ERR_FAILED: ResourceSettings Error:
> VirtualDevice property must be unique for each
> DiskResourceAllocationSettingData in a single guest
> --------------------------------------------------------------------
> VirtualSystemManagementService - 11_define_memrasdunits.py: FAIL
> ERROR - Got CIM error CIM_ERR_FAILED: ResourceSettings Error:
> VirtualDevice property must be unique for each
> DiskResourceAllocationSettingData in a single guest with return code
1
> ERROR - DefineSystem with (KiloBytes) units failed
> InvokeMethod(DefineSystem): CIM_ERR_FAILED: ResourceSettings Error:
> VirtualDevice property must be unique for each
> DiskResourceAllocationSettingData in a single guest
> --------------------------------------------------------------------
> VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL
> ERROR - Exception: CreateSnapshot failed to return a CIM job
inst
> ERROR - Failed to remove snapshot file for snapshot_vm
>
> A very quick peek at the code shows this message occurs when one tries
> to add a disk device
> with the same names as one that already exists. This is a no-no in
cim.
> I'll dig into the root cause tomorrow and provide an update.
>
> [1] - I see several other typical errors that are either known issues
or
> side-effects of a non-pristine system. Sadly, cimtest considers the
> default RHEL 6.1+ config not pristine and falsely fails due
> to some pre-configured pools. I plan to address this soon.
> --
>
> Chip Vincent
> Open Virtualization
> IBM Linux Technology Center
> cvincent@linux.vnet.ibm.com
>
> _______________________________________________
> Libvirt-cim mailing list
> Libvirt-cim@redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-cim
>