[PATCH] Map SHUTDOWN state change to current DISABLED functionality
by Kaitlin Rupert
# HG changeset patch
# User Kaitlin Rupert <karupert(a)us.ibm.com>
# Date 1218234088 25200
# Node ID e24b03f7076f18c7960eec81405c591999d8df93
# Parent 9f2f9b117797907bfa2b89a499b4eb5bb62cd458
Map SHUTDOWN state change to current DISABLED functionality
Signed-off-by: Kaitlin Rupert <karupert(a)us.ibm.com>
diff -r 9f2f9b117797 -r e24b03f7076f src/Virt_ComputerSystem.c
--- a/src/Virt_ComputerSystem.c Mon Aug 04 11:57:27 2008 -0700
+++ b/src/Virt_ComputerSystem.c Fri Aug 08 15:21:28 2008 -0700
@@ -793,7 +793,8 @@
ret = virDomainShutdown(dom);
break;
default:
- CU_DEBUG("Cannot go to disabled state from %i", info->state);
+ CU_DEBUG("Cannot go to disabled/shutdown state from %i",
+ info->state);
cu_statusf(_BROKER, &s,
CMPI_RC_ERR_FAILED,
"Invalid state transition");
@@ -811,6 +812,8 @@
{
CMPIStatus s = {CMPI_RC_OK, NULL};
int ret = 0;
+
+ info->state = adjust_state_xen(dom, info->state);
switch (info->state) {
case VIR_DOMAIN_RUNNING:
@@ -913,7 +916,7 @@
if (state == CIM_STATE_ENABLED)
s = state_change_enable(dom, &info);
- else if (state == CIM_STATE_DISABLED)
+ else if ((state == CIM_STATE_DISABLED) || (state == CIM_STATE_SHUTDOWN))
s = state_change_disable(dom, &info);
else if (state == CIM_STATE_PAUSED)
s = state_change_pause(dom, &info);
16 years, 4 months
[PATCH] Override CreateSnapshot extrinsic to include vendor-defined values
by Jim Fehlig
# HG changeset patch
# User Jim Fehlig <jfehlig(a)novell.com>
# Date 1218219221 21600
# Node ID 5db4666a13d97ef7b64837f3b9de20fb712e927f
# Parent f1a672f33772c5a6314f1d5a5fd0f701b1564673
Override CreateSnapshot extrinsic to include vendor-defined values
Some tools will parse the class info and format gui based on qualifiers
it finds. In the case of CreateSnapshot, such tools will not display
the vendor additions unless the method is overridden to describe the
additions.
This patch introduces a new class Virt_VirtualSystemSnapshotService
where CreateSnapshot is overridden. The various virtualizer flavors
then inherit from that.
Signed-off-by: Jim Fehlig <jfehlig(a)novell.com>
diff -r f1a672f33772 -r 5db4666a13d9 schema/VirtualSystemSnapshotService.mof
--- a/schema/VirtualSystemSnapshotService.mof Wed Aug 06 21:35:12 2008 -0600
+++ b/schema/VirtualSystemSnapshotService.mof Fri Aug 08 12:13:41 2008 -0600
@@ -1,8 +1,59 @@
// Copyright IBM Corp. 2008
-[Description ( "Snapshot types are as follows: "
- "32768: Memory-only snapshot (suspend, resume, keep image)"
- "32769: Memory-only, terminal (domain is offline after op)")]
-class Xen_VirtualSystemSnapshotService : CIM_VirtualSystemSnapshotService { };
-class KVM_VirtualSystemSnapshotService : CIM_VirtualSystemSnapshotService { };
-class LXC_VirtualSystemSnapshotService : CIM_VirtualSystemSnapshotService { };
+[Description (
+ "Service to create, apply and destroy snapshots of virtual systems."
+ )]
+class Virt_VirtualSystemSnapshotService: CIM_VirtualSystemSnapshotService {
+ [Override, Description ( "Creates a snapshot of a virtual system." ),
+ ValueMap { "0", "1", "2", "3", "4", "5", "6", "..", "4096",
+ "4097..32767", "32768..65535" },
+ Values { "Completed with No Error", "Not Supported",
+ "Failed", "Timeout", "Invalid Parameter", "Invalid State",
+ "Invalid Type", "DMTF Reserved",
+ "Method Parameters Checked - Job Started",
+ "Method Reserved", "Vendor Specific" }]
+ uint32 CreateSnapshot(
+ [In, Description (
+ "Reference to the affected virtual system." )]
+ CIM_ComputerSystem REF AffectedSystem,
+ [In, Description ( "Parameter settings." ),
+ EmbeddedInstance ( "CIM_SettingData" )]
+ string SnapshotSettings,
+ [In, Description (
+ "Requested snapshot type:\n"
+ "Full Snapshot: Complete snapshot of the virtual system.\n"
+ "Disk Snapshot: Snapshot of virtual system disks.\n"
+ "Memory Snapshot: Snapshot of virtual system memory only. "
+ "The virtual system remains active after memory snapshot "
+ "is complete.\n"
+ "Memory Snapshot Terminal: Snapshot of virtual system "
+ "memory only. The virtual system is transitioned to "
+ "disabled state after the memory snapshot is complete.\n" ),
+ ValueMap { "2", "3", "..", "32768", "32769", "32770..65535" },
+ Values { "Full Snapshot", "Disk Snapshot",
+ "DMTF Reserved", "Memory Snapshot", "Memory Snapshot Terminal",
+ "Vendor Specific" },
+ ModelCorrespondence {
+ "CIM_VirtualSystemSnapshotCapabilities.SnapshotTypesEnabled",
+ "CIM_VirtualSystemSnapshotServiceCapabilities.SnapshotTypesSupported" }]
+ uint16 SnapshotType,
+ [In, Out, Description (
+ "Resulting virtual system snapshot" )]
+ CIM_VirtualSystemSettingData REF ResultingSnapshot,
+ [In, Out, Description (
+ "If the operation is long running, then optionally "
+ "a job may be returned. In this case, the instance "
+ "of the CIM_VirtualSystemSettingData class "
+ "representing the new virtual system snapshot is "
+ "presented via the CIM_AffectedJobElement "
+ "association with the value of the AffectedElement "
+ "property referring to the new instance of the "
+ "CIM_VirtualSystemSettingData class representing "
+ "the virtual system snapshot and and the value of "
+ "the ElementEffects set to 5 (Create)." )]
+ CIM_ConcreteJob REF Job);
+};
+
+class Xen_VirtualSystemSnapshotService : Virt_VirtualSystemSnapshotService { };
+class KVM_VirtualSystemSnapshotService : Virt_VirtualSystemSnapshotService { };
+class LXC_VirtualSystemSnapshotService : Virt_VirtualSystemSnapshotService { };
16 years, 4 months
Cimtest Report for Xen on RHEL5.2 (2008/08/08)
by Guo Lian Yun
Distro : RHEL 5.2 Beta
Kernel : kernel-2.6.18-92.el5
Xen version : xen-3.0.3-64.el5
Libvirt : libvirt-0.3.3-7.el5
CIMOM : pegasus
PyWBEM : pywbem-3.14
CIM Schema : cimv216Experimental
LibCMPIutil : 83
LibVirtCIM : 660
CIMTEST : 287
=========================================================
PASS : 121
FAILED : 8
ACTUAL FAILED : 2
SKIP : 2
Total : 133
=======================FAILED==============================
RsourceAllocationFromPool - 01_forward.py: FAIL
ERROR - Return NULL, expect at least one instance
#3 patch under review
ResourceAllocationFromPool - 02_reverse.py: FAIL
ERROR - InstanceID Mismatch
#3 patch under review
The following tc passed when run manually:
LogicalDisk - 02_nodevs.py: FAIL
LogicalDisk - 03_ld_gi_errs.py: FAIL
Memory - 01_memory.py: FAIL
NetworkPort - 01_netport.py: FAIL
VSSD - 02_bootldr.py: FAIL
VSSD - 04_vssd_to_rasd.py: FAIL
=======================CIMTEST REPORT=======================
AllocationCapabilities - 01_enum.py: PASS
AllocationCapabilities - 02_alloccap_gi_errs.py: PASS
ComputerSystem - 01_enum.py: PASS
ComputerSystem - 02_nosystems.py: SKIP
ComputerSystem - 03_defineVS.py: PASS
ComputerSystem - 04_defineStartVS.py: PASS
ComputerSystem - 05_activate_defined_start.py: PASS
ComputerSystem - 06_paused_active_suspend.py: PASS
ComputerSystem - 22_define_suspend.py: PASS
ComputerSystem - 23_suspend_suspend.py: PASS
ComputerSystem - 27_define_suspend_errs.py: PASS
ComputerSystem - 32_start_reboot.py: PASS
ComputerSystem - 33_suspend_reboot.py: PASS
ComputerSystem - 35_start_reset.py: PASS
ComputerSystem - 40_RSC_start.py: PASS
ComputerSystem - 41_cs_to_settingdefinestate.py: PASS
ComputerSystem - 42_cs_gi_errs.py: PASS
ComputerSystemIndication - 01_created_indication.py: PASS
ElementAllocatedFromPool - 01_forward.py: PASS
ElementAllocatedFromPool - 02_reverse.py: PASS
ElementAllocatedFromPool - 03_reverse_errs.py: PASS
ElementAllocatedFromPool - 04_forward_errs.py: PASS
ElementCapabilities - 01_forward.py: PASS
ElementCapabilities - 02_reverse.py: PASS
ElementCapabilities - 03_forward_errs.py: PASS
ElementCapabilities - 04_reverse_errs.py: PASS
ElementCapabilities - 05_hostsystem_cap.py: PASS
ElementConforms - 01_forward.py: PASS
ElementConforms - 02_reverse.py: PASS
ElementConforms - 03_ectp_fwd_errs.py: PASS
ElementConforms - 04_ectp_rev_errs.py: PASS
ElementSettingData - 01_forward.py: PASS
ElementSettingData - 03_esd_assoc_with_rasd_errs.py: PASS
EnabledLogicalElementCapabilities - 01_enum.py: PASS
EnabledLogicalElementCapabilities - 02_elecap_gi_errs.py: PASS
HostSystem - 01_enum.py: PASS
HostSystem - 02_hostsystem_to_rasd.py: PASS
HostSystem - 03_hs_to_settdefcap.py: PASS
HostSystem - 04_hs_to_EAPF.py: PASS
HostSystem - 05_hs_gi_errs.py: PASS
HostSystem - 06_hs_to_vsms.py: PASS
HostedDependency - 01_forward.py: PASS
HostedDependency - 02_reverse.py: PASS
HostedDependency - 03_enabledstate.py: PASS
HostedDependency - 04_reverse_errs.py: PASS
HostedResourcePool - 01_forward.py: PASS
HostedResourcePool - 02_reverse.py: PASS
HostedResourcePool - 03_forward_errs.py: PASS
HostedResourcePool - 04_reverse_errs.py: PASS
HostedService - 01_forward.py: PASS
HostedService - 02_reverse.py: PASS
HostedService - 03_forward_errs.py: PASS
HostedService - 04_reverse_errs.py: PASS
LogicalDisk - 01_disk.py: PASS
LogicalDisk - 02_nodevs.py: FAIL
ERROR - LogicalDisk returned 1 instead of empty list
LogicalDisk - 03_ld_gi_errs.py: FAIL
ERROR - Failed to get instance by the class of Xen_LogicalDisk
ERROR - Exception: (6, u'CIM_ERR_NOT_FOUND: No such instance
(hd_domain/xvda)')
Memory - 01_memory.py: FAIL
ERROR - Capacity should be 262144 MB instead of 131072 MB
Memory - 02_defgetmem.py: PASS
Memory - 03_mem_gi_errs.py: PASS
NetworkPort - 01_netport.py: FAIL
ERROR - Exception: (6, u'CIM_ERR_NOT_FOUND: No such instance
(test_domain/00:11:22:33:44:55)')
NetworkPort - 02_np_gi_errors.py: PASS
NetworkPort - 03_user_netport.py: SKIP
Processor - 01_processor.py: PASS
Processor - 02_definesys_get_procs.py: PASS
Processor - 03_proc_gi_errs.py: PASS
Profile - 01_enum.py: PASS
Profile - 02_profile_to_elec.py: PASS
Profile - 03_rprofile_gi_errs.py: PASS
RASD - 01_verify_rasd_fields.py: PASS
RASD - 02_enum.py: PASS
RASD - 03_rasd_errs.py: PASS
RASD - 04_disk_rasd_size.py: PASS
ReferencedProfile - 01_verify_refprof.py: PASS
ReferencedProfile - 02_refprofile_errs.py: PASS
ResourceAllocationFromPool - 01_forward.py: FAIL
ERROR - Return NULL, expect at least one instance
ResourceAllocationFromPool - 02_reverse.py: FAIL
ERROR - InstanceID Mismatch
ERROR - Returned NetworkPool/default-net instead of
NetworkPool/default-net49
ResourceAllocationFromPool - 03_forward_errs.py: PASS
ResourceAllocationFromPool - 04_reverse_errs.py: PASS
ResourceAllocationFromPool - 05_RAPF_err.py: PASS
ResourcePool - 01_enum.py: PASS
ResourcePool - 02_rp_gi_errors.py: PASS
ResourcePoolConfigurationCapabilities - 01_enum.py: PASS
ResourcePoolConfigurationCapabilities - 02_rpcc_gi_errs.py: PASS
ResourcePoolConfigurationService - 01_enum.py: PASS
ResourcePoolConfigurationService - 02_rcps_gi_errors.py: PASS
ResourcePoolConfigurationService - 03_CreateResourcePool.py: PASS
ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: PASS
ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: PASS
ResourcePoolConfigurationService - 06_RemoveResourcesFromResourcePool.py:
PASS
ResourcePoolConfigurationService - 07_DeleteResourcePool.py: PASS
SettingsDefine - 01_forward.py: PASS
SettingsDefine - 02_reverse.py: PASS
SettingsDefine - 03_sds_fwd_errs.py: PASS
SettingsDefine - 04_sds_rev_errs.py: PASS
SettingsDefineCapabilities - 01_forward.py: PASS
SettingsDefineCapabilities - 03_forward_errs.py: PASS
SettingsDefineCapabilities - 04_forward_vsmsdata.py: PASS
SettingsDefineCapabilities - 05_reverse_vsmcap.py: PASS
SystemDevice - 01_forward.py: PASS
SystemDevice - 02_reverse.py: PASS
SystemDevice - 03_fwderrs.py: PASS
VSSD - 01_enum.py: PASS
VSSD - 02_bootldr.py: FAIL
ERROR - NameError : global name 'BaseException' is not defined
Traceback (most recent call last):
File "/data/users/daisy/cimtest/lib/CimTest/Globals.py", line 144, in
do_try
rc = f()
File "02_bootldr.py", line 72, in main
except BaseException, detail :
NameError: global name 'BaseException' is not defined
ERROR - None
CIM_ERR_NOT_FOUND: No such instance (dom)
VSSD - 03_vssd_gi_errs.py: PASS
VSSD - 04_vssd_to_rasd.py: FAIL
ERROR - Xen_VirtualSystemSettingData with VSSDC_dom was not returned
ERROR - Xen_VirtualSystemSettingData returned 0 VSSD objects, expected
only 1
VirtualSystemManagementCapabilities - 01_enum.py: PASS
VirtualSystemManagementCapabilities - 02_vsmcap_gi_errs.py: PASS
VirtualSystemManagementService - 01_definesystem_name.py: PASS
VirtualSystemManagementService - 02_destroysystem.py: PASS
VirtualSystemManagementService - 03_definesystem_ess.py: PASS
VirtualSystemManagementService - 04_definesystem_ers.py: PASS
VirtualSystemManagementService - 05_destroysystem_neg.py: PASS
VirtualSystemManagementService - 06_addresource.py: PASS
VirtualSystemManagementService - 07_addresource_neg.py: PASS
VirtualSystemManagementService - 08_modifyresource.py: PASS
VirtualSystemManagementService - 09_procrasd_persist.py: PASS
VirtualSystemManagementService - 10_hv_version.py: PASS
VirtualSystemManagementService - 11_define_memrasdunits.py: PASS
VirtualSystemMigrationCapabilities - 01_enum.py: PASS
VirtualSystemMigrationCapabilities - 02_vsmc_gi_errs.py: PASS
VirtualSystemMigrationService - 01_migratable_host.py: PASS
VirtualSystemMigrationService - 02_host_migrate_type.py: PASS
VirtualSystemMigrationService - 05_migratable_host_errs.py: PASS
VirtualSystemMigrationSettingData - 01_enum.py: PASS
VirtualSystemMigrationSettingData - 02_vsmsd_gi_errs.py: PASS
VirtualSystemSettingDataComponent - 01_forward.py: PASS
VirtualSystemSettingDataComponent - 02_reverse.py: PASS
VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: PASS
VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: PASS
VirtualSystemSnapshotService - 01_enum.py: PASS
VirtualSystemSnapshotService - 02_vs_sservice_gi_errs.py: PASS
VirtualSystemSnapshotServiceCapabilities - 01_enum.py: PASS
VirtualSystemSnapshotServiceCapabilities - 02_vs_sservicecap_gi_errs.py:
PASS
Best,
Regards
Daisy (运国莲)
VSM Team, China Systems & Technology Labs (CSTL)
E-mail: yunguol(a)cn.ibm.com
TEL: (86)-21-60922403
Building 10, 399 Ke Yuan Rd, Pudong Shanghai, 201203
16 years, 4 months
[PATCH] [TEST] Updating the bug no for in 32_start_reboot.py and 33_suspend_reboot.py
by Deepti B. Kalakeri
# HG changeset patch
# User Deepti B. Kalakeri <deeptik(a)linux.vnet.ibm.com>
# Date 1218177942 25200
# Node ID 27296a26623a258e9e05effbcbf6d483dd0f8faa
# Parent 0f568c2c36035da2574e11d128780833392e43af
[TEST] Updating the bug no for in 32_start_reboot.py and 33_suspend_reboot.py.
Changed the bug no to 00005 to reflect the issue where libvirt does not support rebooting the KVM guest.
Signed-off-by: Deepti B. Kalakeri <deeptik(a)linux.vnet.ibm.com>
diff -r 0f568c2c3603 -r 27296a26623a suites/libvirt-cim/cimtest/ComputerSystem/32_start_reboot.py
--- a/suites/libvirt-cim/cimtest/ComputerSystem/32_start_reboot.py Wed Aug 06 06:08:02 2008 -0700
+++ b/suites/libvirt-cim/cimtest/ComputerSystem/32_start_reboot.py Thu Aug 07 23:45:42 2008 -0700
@@ -50,7 +50,7 @@ from XenKvmLib.common_util import create
sup_types = ['Xen', 'XenFV', 'KVM']
-bug_req_state = "00002"
+bug_libvirt = "00005"
ACTIVE_STATE = 2
REBOOT_STATE = 10
default_dom = 'cs_test_domain'
@@ -89,7 +89,7 @@ def main():
if status != PASS:
logger.error("Unable to '%s' dom '%s' using RequestedStateChange()",
action, default_dom)
- status = XFAIL_RC(bug_req_state)
+ status = XFAIL_RC(bug_libvirt)
break
status, dom_cs = poll_for_state_change(server, virt, default_dom, en_state,
diff -r 0f568c2c3603 -r 27296a26623a suites/libvirt-cim/cimtest/ComputerSystem/33_suspend_reboot.py
--- a/suites/libvirt-cim/cimtest/ComputerSystem/33_suspend_reboot.py Wed Aug 06 06:08:02 2008 -0700
+++ b/suites/libvirt-cim/cimtest/ComputerSystem/33_suspend_reboot.py Thu Aug 07 23:45:42 2008 -0700
@@ -54,7 +54,7 @@ from XenKvmLib.common_util import create
sup_types = ['Xen', 'XenFV', 'KVM']
-bug_req_state = "00002"
+bug_libvirt = "00005"
ACTIVE_STATE = 2
SUSPND_STATE = 9
REBOOT_STATE = 10
@@ -96,7 +96,7 @@ def main():
if status != PASS:
logger.error("Unable to '%s' dom '%s' using RequestedStateChange()",
action, default_dom)
- status = XFAIL_RC(bug_req_state)
+ status = XFAIL_RC(bug_libvirt)
break
status, dom_cs = poll_for_state_change(server, virt, default_dom, en_state,
16 years, 4 months
[PATCH] [TEST] #3 Fix ResourceAllocationFromPool.01 & 02
by yunguol@cn.ibm.com
# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1218175235 25200
# Node ID 38cb7b2def3f81333420a6957d24103c5b55fad9
# Parent 0f568c2c36035da2574e11d128780833392e43af
[TEST] #3 Fix ResourceAllocationFromPool.01 & 02
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r 0f568c2c3603 -r 38cb7b2def3f suites/libvirt-cim/cimtest/ResourceAllocationFromPool/01_forward.py
--- a/suites/libvirt-cim/cimtest/ResourceAllocationFromPool/01_forward.py Wed Aug 06 06:08:02 2008 -0700
+++ b/suites/libvirt-cim/cimtest/ResourceAllocationFromPool/01_forward.py Thu Aug 07 23:00:35 2008 -0700
@@ -57,18 +57,21 @@
vsxml = virtxml(test_dom)
else:
vsxml = virtxml(test_dom, mem=test_mem, vcpus = test_vcpus,
- mac = test_mac, disk = test_disk)
+ mac = test_mac, disk = test_disk,
+ ntype='network')
+
+ test_network = vsxml.xml_get_net_network()
try:
ret = vsxml.define(server)
if not ret:
logger.error("Failed to Define the domain: %s", test_dom)
- return FAIL, vsxml, test_disk
+ return FAIL, vsxml, test_disk, test_network
except Exception, details:
logger.error("Exception : %s", details)
- return FAIL, vsxml, test_disk
+ return FAIL, vsxml, test_disk, test_network
- return PASS, vsxml, test_disk
+ return PASS, vsxml, test_disk, test_network
def get_instance(server, pool, list, virt='Xen'):
try:
@@ -111,22 +114,19 @@
status = PASS
- status, vsxml, test_disk = setup_env(options.ip, options.virt)
+ status, vsxml, test_disk, test_network = setup_env(options.ip, options.virt)
if status != PASS:
+ destroy_netpool(options.ip, options.virt, test_network)
+ vsxml.undefine(options.ip)
return status
status, diskid = create_diskpool_conf(options.ip, options.virt)
if status != PASS:
cleanup_restore(options.ip, options.virt)
+ destroy_netpool(options.ip, options.virt, test_network)
vsxml.undefine(options.ip)
return status
- status, test_network = create_netpool_conf(options.ip, options.virt)
- if status != PASS:
- cleanup_restore(options.ip, options.virt)
- vsxml.undefine(options.ip)
- return status
-
if options.virt == 'LXC':
pool = { "MemoryPool" : {'InstanceID' : "MemoryPool/0"} }
rasd = { "MemoryPool" : "%s/mem" % test_dom }
diff -r 0f568c2c3603 -r 38cb7b2def3f suites/libvirt-cim/cimtest/ResourceAllocationFromPool/02_reverse.py
--- a/suites/libvirt-cim/cimtest/ResourceAllocationFromPool/02_reverse.py Wed Aug 06 06:08:02 2008 -0700
+++ b/suites/libvirt-cim/cimtest/ResourceAllocationFromPool/02_reverse.py Thu Aug 07 23:00:35 2008 -0700
@@ -56,18 +56,20 @@
vsxml = virtxml(test_dom)
else:
vsxml = virtxml(test_dom, mem=test_mem, vcpus = test_vcpus,
- mac = test_mac, disk = test_disk)
+ mac = test_mac, disk = test_disk,
+ ntype = 'network')
+ test_network = vsxml.xml_get_net_network()
try:
ret = vsxml.define(server)
if not ret:
logger.error("Failed to Define the domain: %s", test_dom)
- return FAIL, vsxml, test_disk
+ return FAIL, vsxml, test_disk, test_network
except Exception, details:
logger.error("Exception : %s", details)
- return FAIL, vsxml, test_disk
+ return FAIL, vsxml, test_disk, test_network
- return PASS, vsxml, test_disk
+ return PASS, vsxml, test_disk, test_network
def init_list(test_disk, diskid, test_network, virt='Xen'):
@@ -163,16 +165,16 @@
server = options.ip
virt = options.virt
- status, vsxml, test_disk = setup_env(server, virt)
+ status, vsxml, test_disk, test_network = setup_env(server, virt)
if status != PASS:
+ destroy_netpool(server, virt, test_network)
+ vsxml.undefine(server)
return status
status, diskid = create_diskpool_conf(server, virt)
if status != PASS:
- return status
-
- status, test_network = create_netpool_conf(server, virt)
- if status != PASS:
+ destroy_netpool(server, virt, test_network)
+ vsxml.undefine(server)
return status
cn_id_list = init_list(test_disk, diskid, test_network, options.virt)
16 years, 4 months
[PATCH] [TEST] #2 Fix ResourceAllocationFromPool.01 & 02
by yunguol@cn.ibm.com
# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1218100649 25200
# Node ID c96db4410fd7b152f803726132378ec0caa9f1ad
# Parent 0f568c2c36035da2574e11d128780833392e43af
[TEST] #2 Fix ResourceAllocationFromPool.01 & 02
Removing the create_netpool_conf(), getting the bridge name
using xml_get_net_bridge() and network name info by using
xml_get_net_network()
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r 0f568c2c3603 -r c96db4410fd7 suites/libvirt-cim/cimtest/ResourceAllocationFromPool/01_forward.py
--- a/suites/libvirt-cim/cimtest/ResourceAllocationFromPool/01_forward.py Wed Aug 06 06:08:02 2008 -0700
+++ b/suites/libvirt-cim/cimtest/ResourceAllocationFromPool/01_forward.py Thu Aug 07 02:17:29 2008 -0700
@@ -23,7 +23,7 @@
#
import sys
-from VirtLib import utils
+from VirtLib import utils, live
from XenKvmLib import assoc
from XenKvmLib import enumclass
from XenKvmLib.classes import get_typed_class
@@ -42,7 +42,7 @@
test_mem = 128
test_mac = "00:11:22:33:44:aa"
-def setup_env(server, virt):
+def setup_env(server, virt, nettype='network'):
destroy_and_undefine_all(server)
vsxml = None
if virt == "Xen":
@@ -58,6 +58,20 @@
else:
vsxml = virtxml(test_dom, mem=test_mem, vcpus = test_vcpus,
mac = test_mac, disk = test_disk)
+ if nettype == 'bridge':
+ int_name = vsxml.xml_get_net_bridge()
+ else:
+ int_name = vsxml.xml_get_net_network()
+
+ if int_name == None:
+ devices = vsxml.get_node('/domain/devices')
+ vsxml.set_interface_details(devices, test_mac, nettype, virt)
+
+ if nettype == 'bridge':
+ vsxml.set_bridge_name(int_name)
+ else:
+ vsxml.set_net_name(int_name)
+
try:
ret = vsxml.define(server)
if not ret:
@@ -68,7 +82,7 @@
logger.error("Exception : %s", details)
return FAIL, vsxml, test_disk
- return PASS, vsxml, test_disk
+ return PASS, vsxml, test_disk, int_name
def get_instance(server, pool, list, virt='Xen'):
try:
@@ -111,17 +125,12 @@
status = PASS
- status, vsxml, test_disk = setup_env(options.ip, options.virt)
+ status, vsxml, test_disk, test_network = setup_env(options.ip, options.virt)
if status != PASS:
+ vsxml.undefine(options.ip)
return status
status, diskid = create_diskpool_conf(options.ip, options.virt)
- if status != PASS:
- cleanup_restore(options.ip, options.virt)
- vsxml.undefine(options.ip)
- return status
-
- status, test_network = create_netpool_conf(options.ip, options.virt)
if status != PASS:
cleanup_restore(options.ip, options.virt)
vsxml.undefine(options.ip)
@@ -152,7 +161,6 @@
break
cleanup_restore(options.ip, options.virt)
- destroy_netpool(options.ip, options.virt, test_network)
vsxml.undefine(options.ip)
return status
diff -r 0f568c2c3603 -r c96db4410fd7 suites/libvirt-cim/cimtest/ResourceAllocationFromPool/02_reverse.py
--- a/suites/libvirt-cim/cimtest/ResourceAllocationFromPool/02_reverse.py Wed Aug 06 06:08:02 2008 -0700
+++ b/suites/libvirt-cim/cimtest/ResourceAllocationFromPool/02_reverse.py Thu Aug 07 02:17:29 2008 -0700
@@ -24,7 +24,7 @@
#
import sys
-from VirtLib import utils
+from VirtLib import utils, live
from XenKvmLib import assoc
from XenKvmLib.test_doms import destroy_and_undefine_all
from XenKvmLib.vxml import get_class
@@ -43,7 +43,7 @@
test_mem = 128
test_mac = "00:11:22:33:44:aa"
-def setup_env(server, virt):
+def setup_env(server, virt, nettype='network'):
destroy_and_undefine_all(server)
vsxml = None
if virt == "Xen":
@@ -57,6 +57,20 @@
else:
vsxml = virtxml(test_dom, mem=test_mem, vcpus = test_vcpus,
mac = test_mac, disk = test_disk)
+ if nettype == 'bridge':
+ int_name = vsxml.xml_get_net_bridge()
+ else:
+ int_name = vsxml.xml_get_net_network()
+
+ if int_name == None:
+ devices = vsxml.get_node('/domain/devices')
+ vsxml.set_interface_details(devices, test_mac, nettype, virt)
+
+ if nettype == 'bridge':
+ vsxml.set_bridge_name(int_name)
+ else:
+ vsxml.set_net_name(int_name)
+
try:
ret = vsxml.define(server)
if not ret:
@@ -67,7 +81,7 @@
logger.error("Exception : %s", details)
return FAIL, vsxml, test_disk
- return PASS, vsxml, test_disk
+ return PASS, vsxml, test_disk, int_name
def init_list(test_disk, diskid, test_network, virt='Xen'):
@@ -163,16 +177,13 @@
server = options.ip
virt = options.virt
- status, vsxml, test_disk = setup_env(server, virt)
+ status, vsxml, test_disk, test_network = setup_env(server, virt)
if status != PASS:
return status
status, diskid = create_diskpool_conf(server, virt)
if status != PASS:
- return status
-
- status, test_network = create_netpool_conf(server, virt)
- if status != PASS:
+ vsxml.undefine(server)
return status
cn_id_list = init_list(test_disk, diskid, test_network, options.virt)
@@ -181,10 +192,11 @@
status = get_rasdinst_verify_pool_from_RAFP(server, virt, vsxml,
rasd_cn, id_info)
if status != PASS:
+ cleanup_restore(server, virt)
+ vsxml.undefine(server)
return status
cleanup_restore(server, virt)
- destroy_netpool(server, virt, test_network)
vsxml.undefine(server)
return status
16 years, 4 months
[PATCH] (#4) For pause, reboot, and enable add support for guests in the NOSTATE state
by Kaitlin Rupert
# HG changeset patch
# User Kaitlin Rupert <karupert(a)us.ibm.com>
# Date 1218134457 25200
# Node ID 98bc9888014993a2b9642ad91202161f07941e94
# Parent 9f2f9b117797907bfa2b89a499b4eb5bb62cd458
(#4) For pause, reboot, and enable add support for guests in the NOSTATE state.
It's possible that a XenFV guest might return no state instead of blocked or running. This can occur when the guest is active, but isn't running of the CPU or blocked waiting for it.
This should be a safe approach - we return an error if the guest is in some other state or if libvirt is unable to successfully change the state of the guest.
Updates from 3 to 4:
-Use single function to convert Xen NOSTATE to RUNNING.
Updates from 2 to 3:
-Add logic to check connection type so NOSTATE only applied to Xen guests.
Updates from 1 to 2:
-For the reboot and reset operations, add support for paused guests (per the VSP).
-If the guest returns VIR_DOMAIN_NOSTATE, the provider should return the value CIM_STATE_ENABLED, not CIM_STATE_UNKNOWN.
Signed-off-by: Kaitlin Rupert <karupert(a)us.ibm.com>
diff -r 9f2f9b117797 -r 98bc98880149 src/Virt_ComputerSystem.c
--- a/src/Virt_ComputerSystem.c Mon Aug 04 11:57:27 2008 -0700
+++ b/src/Virt_ComputerSystem.c Thu Aug 07 11:40:57 2008 -0700
@@ -230,6 +230,22 @@
}
}
+static unsigned char adjust_state_xen(virDomainPtr dom,
+ unsigned char state)
+{
+ virConnectPtr conn;
+
+ if (state != VIR_DOMAIN_NOSTATE)
+ return state;
+
+ conn = virDomainGetConnect(dom);
+
+ if (STREQC(virConnectGetType(conn), "Xen"))
+ return VIR_DOMAIN_RUNNING;
+
+ return state;
+}
+
static uint16_t adjust_state_if_saved(const char *name,
uint16_t state)
{
@@ -259,6 +275,8 @@
ret = virDomainGetInfo(dom, &info);
if (ret != 0)
return 0;
+
+ info.state = adjust_state_xen(dom, info.state);
cim_state = state_lv_to_cim((const int)info.state);
cim_state = adjust_state_if_saved(virDomainGetName(dom), cim_state);
@@ -812,6 +830,8 @@
CMPIStatus s = {CMPI_RC_OK, NULL};
int ret = 0;
+ info->state = adjust_state_xen(dom, info->state);
+
switch (info->state) {
case VIR_DOMAIN_RUNNING:
case VIR_DOMAIN_BLOCKED:
@@ -837,9 +857,12 @@
CMPIStatus s = {CMPI_RC_OK, NULL};
int ret = 0;
+ info->state = adjust_state_xen(dom, info->state);
+
switch (info->state) {
case VIR_DOMAIN_RUNNING:
case VIR_DOMAIN_BLOCKED:
+ case VIR_DOMAIN_PAUSED:
CU_DEBUG("Reboot domain");
ret = virDomainReboot(dom, 0);
break;
@@ -862,9 +885,12 @@
CMPIStatus s = {CMPI_RC_OK, NULL};
int ret = 0;
+ info->state = adjust_state_xen(dom, info->state);
+
switch (info->state) {
case VIR_DOMAIN_RUNNING:
case VIR_DOMAIN_BLOCKED:
+ case VIR_DOMAIN_PAUSED:
CU_DEBUG("Reset domain");
ret = domain_reset(dom);
break;
16 years, 4 months
[RFC] override CreateSnapshot extrinsic
by Jim Fehlig
Since the CreateSnapshot() extrinsic has 2 vendor defined values added
for SnapshotType parameter, I think the method should be overridden to
define these new values. The attached patch does so by creating a new
class Virt_VirtualSystemSnapshotService where CreateSnapshot is
overridden. The various virtualizer flavors then inherit from
Virt_VirtualSystemSnapshotService instead of
CIM_VirtualSystemSnapshotService directly.
Some tools will parse the class info and format gui based on qualifiers
it finds. In the case of CreateSnapshot, such tools will not display
the vendor additions unless we override the method and describe the
additions.
While on the subject, I would like to understand the usefulness of
SnapshotType 32768. This type will save the vm's memory state and
subsequently restore the vm. IMO applying this memory snapshot later
would be quite dangerous. The vm has since been running and the disk
state will be quite different from when the memory snapshot was taken.
Does this make sense or am I not thinking clearly :-)?
Finally, invoking CreateSnapshot with SnapshotType 32769 will save the
vm and leave it powered off. Querying EnabledState shows the vm
'Enabled but Offline' (suspended). According to System Virtualization
Profile, one should be able to move a vm in this state to Enabled by
invoking RSC(Enabled) but doing so results in "snapshot exists, apply
snapshot" error. So the behavior diverges from the spec IMO. It seems
the current behavior of SnapshotService should just be implemented via
RSC. CreateSnapshot -> RSC(Enabled but Offline), ApplySnapshot ->
RSC(Enabled)
Regards,
Jim
16 years, 4 months
[PATCH] (#3) For pause, reboot, and enable add support for guests in the NOSTATE state
by Kaitlin Rupert
# HG changeset patch
# User Kaitlin Rupert <karupert(a)us.ibm.com>
# Date 1218134457 25200
# Node ID 1c6d0148299eef6b19c9eecad01063ca53fe0175
# Parent 9f2f9b117797907bfa2b89a499b4eb5bb62cd458
(#3) For pause, reboot, and enable add support for guests in the NOSTATE state.
It's possible that a XenFV guest might return no state instead of blocked or running. This can occur when the guest is active, but isn't running of the CPU or blocked waiting for it.
This should be a safe approach - we return an error if the guest is in some other state or if libvirt is unable to successfully change the state of the guest.
Updates from 2 to 3:
-Add logic to check connection type so NOSTATE only applied to Xen guests.
Updates from 1 to 2:
-For the reboot and reset operations, add support for paused guests (per the VSP).
-If the guest returns VIR_DOMAIN_NOSTATE, the provider should return the value CIM_STATE_ENABLED, not CIM_STATE_UNKNOWN.
Signed-off-by: Kaitlin Rupert <karupert(a)us.ibm.com>
diff -r 9f2f9b117797 -r 1c6d0148299e src/Virt_ComputerSystem.c
--- a/src/Virt_ComputerSystem.c Mon Aug 04 11:57:27 2008 -0700
+++ b/src/Virt_ComputerSystem.c Thu Aug 07 11:40:57 2008 -0700
@@ -242,6 +242,22 @@
return state;
}
+static uint16_t adjust_state_if_nostate_xen(virDomainPtr dom,
+ uint16_t state)
+{
+ virConnectPtr conn;
+
+ if (state != CIM_STATE_UNKNOWN)
+ return state;
+
+ conn = virDomainGetConnect(dom);
+
+ if (STREQC(virConnectGetType(conn), "Xen"))
+ return CIM_STATE_ENABLED;
+
+ return state;
+}
+
static int set_state_from_dom(const CMPIBroker *broker,
virDomainPtr dom,
CMPIInstance *instance)
@@ -262,6 +278,7 @@
cim_state = state_lv_to_cim((const int)info.state);
cim_state = adjust_state_if_saved(virDomainGetName(dom), cim_state);
+ cim_state = adjust_state_if_nostate_xen(dom, cim_state);
CMSetProperty(instance, "EnabledState",
(CMPIValue *)&cim_state, CMPI_uint16);
@@ -810,9 +827,19 @@
static CMPIStatus state_change_pause(virDomainPtr dom, virDomainInfoPtr info)
{
CMPIStatus s = {CMPI_RC_OK, NULL};
+ virConnectPtr conn;
+ unsigned char state;
int ret = 0;
- switch (info->state) {
+ state = info->state;
+ conn = virDomainGetConnect(dom);
+
+ if ((STREQC(virConnectGetType(conn), "Xen")) &&
+ (state == VIR_DOMAIN_NOSTATE)) {
+ state = VIR_DOMAIN_RUNNING;
+ }
+
+ switch (state) {
case VIR_DOMAIN_RUNNING:
case VIR_DOMAIN_BLOCKED:
CU_DEBUG("Pause domain");
@@ -835,11 +862,22 @@
static CMPIStatus state_change_reboot(virDomainPtr dom, virDomainInfoPtr info)
{
CMPIStatus s = {CMPI_RC_OK, NULL};
+ virConnectPtr conn;
+ unsigned char state;
int ret = 0;
- switch (info->state) {
+ state = info->state;
+ conn = virDomainGetConnect(dom);
+
+ if ((STREQC(virConnectGetType(conn), "Xen")) &&
+ (state == VIR_DOMAIN_NOSTATE)) {
+ state = VIR_DOMAIN_RUNNING;
+ }
+
+ switch (state) {
case VIR_DOMAIN_RUNNING:
case VIR_DOMAIN_BLOCKED:
+ case VIR_DOMAIN_PAUSED:
CU_DEBUG("Reboot domain");
ret = virDomainReboot(dom, 0);
break;
@@ -860,11 +898,22 @@
static CMPIStatus state_change_reset(virDomainPtr dom, virDomainInfoPtr info)
{
CMPIStatus s = {CMPI_RC_OK, NULL};
+ virConnectPtr conn;
+ unsigned char state;
int ret = 0;
- switch (info->state) {
+ state = info->state;
+ conn = virDomainGetConnect(dom);
+
+ if ((STREQC(virConnectGetType(conn), "Xen")) &&
+ (state == VIR_DOMAIN_NOSTATE)) {
+ state = VIR_DOMAIN_RUNNING;
+ }
+
+ switch (state) {
case VIR_DOMAIN_RUNNING:
case VIR_DOMAIN_BLOCKED:
+ case VIR_DOMAIN_PAUSED:
CU_DEBUG("Reset domain");
ret = domain_reset(dom);
break;
16 years, 4 months
CimTest Report on XenFV 07-08-2008
by Deepti B Kalakeri
======================================
CIM Test Report for XenFV
======================================
Distro : RHEL 5.2 Beta
Kernel : 2.6.18-88.el5xen
Xen version : 3.1.2-88.el5
Libvirt : libvirt-0.3.3-7.el5
CIMOM : pegasus
PyWBEM : pywbem-3.14
CIM Schema : cimv216Experimental
LibCMPIutil : 83
LibVirtCIM : 660
CIMTEST : 287
======================================
PASS : 114
TOTAL FAILED : 9 [5 test cases passed when ran manually]
ACTUAL FAILED : 4
XFAIL : 3
SKIP : 7 [1 tc passed when run manually]
ACTUAL SKIPPED: 6
-------------------
Total : 133
======================================
List of tc that are failing:
ComputerSystem - 06_paused_active_suspend.py: FAIL
ComputerSystem - 35_start_reset.py: FAIL
ResourceAllocationFromPool - 01_forward.py: FAIL
ResourceAllocationFromPool - 02_reverse.py: FAIL
The following tc passed when run manually:
LogicalDisk - 03_ld_gi_errs.py: FAIL
Memory - 01_memory.py: FAIL
NetworkPort - 01_netport.py: FAIL
VSSD - 04_vssd_to_rasd.py: FAIL
VirtualSystemManagementService - 09_procrasd_persist.py: FAIL
The following SKIPPED tc passed when run manually:
LogicalDisk - 02_nodevs.py
Please find the complete report attached with the mail.
Thanks and Regards,
Deepti.
Starting test suite: libvirt-cim
Cleaned log files.
Testing XenFV hypervisor
AllocationCapabilities - 01_enum.py: PASS
AllocationCapabilities - 02_alloccap_gi_errs.py: PASS
ComputerSystem - 01_enum.py: PASS
ComputerSystem - 02_nosystems.py: SKIP
ComputerSystem - 03_defineVS.py: PASS
ComputerSystem - 04_defineStartVS.py: PASS
libvir: Xen error : invalid argument in xenHypervisorSetSchedulerParameters: Credit scheduler weight parameter (0) is out of range (1-65535)
ComputerSystem - 05_activate_defined_start.py: XFAIL Bug: 00002
ERROR - ERROR: VS DomST1 transition from Defined State to Activate state was not Successful
Bug:<00002>
ComputerSystem - 06_paused_active_suspend.py: FAIL
ERROR - Exception: (1, u'CIM_ERR_FAILED: Domain not running')
ERROR - Unable to suspend dom 'DomST1' using RequestedStateChange()
InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Domain not running
ComputerSystem - 22_define_suspend.py: PASS
ComputerSystem - 23_suspend_suspend.py: PASS
ComputerSystem - 27_define_suspend_errs.py: PASS
ComputerSystem - 32_start_reboot.py: XFAIL Bug: 00002
ERROR - Exception: (1, u'CIM_ERR_FAILED: Domain not running')
ERROR - Unable to 'Reboot' dom 'cs_test_domain' using RequestedStateChange()
InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Domain not running
Bug:<00002>
ComputerSystem - 33_suspend_reboot.py: XFAIL Bug: 00002
ERROR - Exception: (1, u'CIM_ERR_FAILED: Domain not running')
ERROR - Unable to 'Suspend' dom 'test_domain' using RequestedStateChange()
InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Domain not running
Bug:<00002>
ComputerSystem - 35_start_reset.py: FAIL
ERROR - Exception: (1, u'CIM_ERR_FAILED: Domain not running')
ERROR - Unable to 'Reset' dom 'cs_test_domain' using RequestedStateChange()
InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Domain not running
ComputerSystem - 40_RSC_start.py: PASS
ComputerSystem - 41_cs_to_settingdefinestate.py: SKIP
libvir: Xen error : Domain not found: xenUnifiedDomainLookupByName
libvir: Domain error : invalid domain pointer in virDomainFree
ComputerSystem - 42_cs_gi_errs.py: PASS
ComputerSystemIndication - 01_created_indication.py: PASS
ElementAllocatedFromPool - 01_forward.py: PASS
libvir: Network error : invalid network pointer in virNetworkFree
ElementAllocatedFromPool - 02_reverse.py: PASS
ElementAllocatedFromPool - 03_reverse_errs.py: PASS
ElementAllocatedFromPool - 04_forward_errs.py: PASS
ElementCapabilities - 01_forward.py: PASS
ElementCapabilities - 02_reverse.py: PASS
libvir: Xen error : Domain not found: xenUnifiedDomainLookupByName
libvir: Domain error : invalid domain pointer in virDomainFree
ElementCapabilities - 03_forward_errs.py: PASS
libvir: Xen error : Domain not found: xenUnifiedDomainLookupByName
ElementCapabilities - 04_reverse_errs.py: PASS
ElementCapabilities - 05_hostsystem_cap.py: PASS
ElementConforms - 01_forward.py: PASS
ElementConforms - 02_reverse.py: PASS
ElementConforms - 03_ectp_fwd_errs.py: PASS
libvir: Xen error : Domain not found: xenUnifiedDomainLookupByName
libvir: Domain error : invalid domain pointer in virDomainFree
ElementConforms - 04_ectp_rev_errs.py: PASS
ElementSettingData - 01_forward.py: PASS
ElementSettingData - 03_esd_assoc_with_rasd_errs.py: PASS
EnabledLogicalElementCapabilities - 01_enum.py: PASS
libvir: Xen error : Domain not found: xenUnifiedDomainLookupByName
EnabledLogicalElementCapabilities - 02_elecap_gi_errs.py: PASS
HostSystem - 01_enum.py: PASS
HostSystem - 02_hostsystem_to_rasd.py: PASS
HostSystem - 03_hs_to_settdefcap.py: PASS
libvir: Network error : invalid network pointer in virNetworkFree
HostSystem - 04_hs_to_EAPF.py: PASS
HostSystem - 05_hs_gi_errs.py: PASS
HostSystem - 06_hs_to_vsms.py: PASS
HostedDependency - 01_forward.py: PASS
HostedDependency - 02_reverse.py: PASS
HostedDependency - 03_enabledstate.py: PASS
HostedDependency - 04_reverse_errs.py: PASS
HostedResourcePool - 01_forward.py: PASS
HostedResourcePool - 02_reverse.py: PASS
HostedResourcePool - 03_forward_errs.py: PASS
HostedResourcePool - 04_reverse_errs.py: PASS
HostedService - 01_forward.py: PASS
HostedService - 02_reverse.py: PASS
HostedService - 03_forward_errs.py: PASS
HostedService - 04_reverse_errs.py: PASS
LogicalDisk - 01_disk.py: PASS
LogicalDisk - 02_nodevs.py: SKIP
ERROR - System has defined domains; unable to run
libvir: Xen error : Domain not found: xenUnifiedDomainLookupByName
libvir: Domain error : invalid domain pointer in virDomainFree
LogicalDisk - 03_ld_gi_errs.py: FAIL
ERROR - Failed to get instance by the class of Xen_LogicalDisk
ERROR - Exception: (6, u'CIM_ERR_NOT_FOUND: No such instance (hd_domain/hda)')
Memory - 01_memory.py: FAIL
ERROR - Capacity should be 262144 MB instead of 131072 MB
Memory - 02_defgetmem.py: PASS
Memory - 03_mem_gi_errs.py: PASS
libvir: Xen error : Domain not found: xenUnifiedDomainLookupByName
libvir: Domain error : invalid domain pointer in virDomainFree
NetworkPort - 01_netport.py: FAIL
ERROR - Exception: (6, u'CIM_ERR_NOT_FOUND: No such instance (test_domain/00:11:22:33:44:55)')
NetworkPort - 02_np_gi_errors.py: PASS
NetworkPort - 03_user_netport.py: SKIP
Processor - 01_processor.py: PASS
Processor - 02_definesys_get_procs.py: PASS
Processor - 03_proc_gi_errs.py: PASS
Profile - 01_enum.py: PASS
Profile - 02_profile_to_elec.py: SKIP
Profile - 03_rprofile_gi_errs.py: PASS
RASD - 01_verify_rasd_fields.py: PASS
RASD - 02_enum.py: PASS
RASD - 03_rasd_errs.py: PASS
RASD - 04_disk_rasd_size.py: PASS
ReferencedProfile - 01_verify_refprof.py: PASS
ReferencedProfile - 02_refprofile_errs.py: PASS
libvir: Network error : invalid network pointer in virNetworkFree
ResourceAllocationFromPool - 01_forward.py: FAIL
ERROR - Return NULL, expect at least one instance
ResourceAllocationFromPool - 02_reverse.py: FAIL
ERROR - InstanceID Mismatch
ERROR - Returned NetworkPool/default-net instead of NetworkPool/default-net81
ResourceAllocationFromPool - 03_forward_errs.py: PASS
ResourceAllocationFromPool - 04_reverse_errs.py: PASS
libvir: Network error : invalid network pointer in virNetworkFree
ResourceAllocationFromPool - 05_RAPF_err.py: PASS
ResourcePool - 01_enum.py: PASS
ResourcePool - 02_rp_gi_errors.py: PASS
ResourcePoolConfigurationCapabilities - 01_enum.py: PASS
ResourcePoolConfigurationCapabilities - 02_rpcc_gi_errs.py: PASS
ResourcePoolConfigurationService - 01_enum.py: PASS
ResourcePoolConfigurationService - 02_rcps_gi_errors.py: PASS
ResourcePoolConfigurationService - 03_CreateResourcePool.py: PASS
ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: PASS
ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: PASS
ResourcePoolConfigurationService - 06_RemoveResourcesFromResourcePool.py: PASS
ResourcePoolConfigurationService - 07_DeleteResourcePool.py: PASS
SettingsDefine - 01_forward.py: PASS
SettingsDefine - 02_reverse.py: PASS
SettingsDefine - 03_sds_fwd_errs.py: PASS
SettingsDefine - 04_sds_rev_errs.py: PASS
SettingsDefineCapabilities - 01_forward.py: PASS
SettingsDefineCapabilities - 03_forward_errs.py: PASS
SettingsDefineCapabilities - 04_forward_vsmsdata.py: PASS
SettingsDefineCapabilities - 05_reverse_vsmcap.py: PASS
SystemDevice - 01_forward.py: PASS
SystemDevice - 02_reverse.py: PASS
SystemDevice - 03_fwderrs.py: PASS
VSSD - 01_enum.py: PASS
VSSD - 02_bootldr.py: SKIP
VSSD - 03_vssd_gi_errs.py: PASS
VSSD - 04_vssd_to_rasd.py: FAIL
ERROR - Xen_VirtualSystemSettingData with VSSDC_dom was not returned
ERROR - Xen_VirtualSystemSettingData returned 0 VSSD objects, expected only 1
VirtualSystemManagementCapabilities - 01_enum.py: PASS
VirtualSystemManagementCapabilities - 02_vsmcap_gi_errs.py: PASS
VirtualSystemManagementService - 01_definesystem_name.py: PASS
VirtualSystemManagementService - 02_destroysystem.py: PASS
error line 1: syntax error in 'wrong'
VirtualSystemManagementService - 03_definesystem_ess.py: PASS
error line 1: syntax error in 'wrong'
VirtualSystemManagementService - 04_definesystem_ers.py: PASS
libvir: Domain error : invalid domain pointer in virDomainFree
libvir: Xen error : Domain not found: xenUnifiedDomainLookupByName
libvir: Domain error : invalid domain pointer in virDomainFree
VirtualSystemManagementService - 05_destroysystem_neg.py: PASS
VirtualSystemManagementService - 06_addresource.py: SKIP
error line 1: syntax error in 'ever'
VirtualSystemManagementService - 07_addresource_neg.py: PASS
VirtualSystemManagementService - 08_modifyresource.py: PASS
VirtualSystemManagementService - 09_procrasd_persist.py: FAIL
ERROR - limit is 0, expected 256
ERROR - rstest_domain CPU scheduling not set properly
VirtualSystemManagementService - 10_hv_version.py: PASS
VirtualSystemManagementService - 11_define_memrasdunits.py: PASS
VirtualSystemMigrationCapabilities - 01_enum.py: PASS
VirtualSystemMigrationCapabilities - 02_vsmc_gi_errs.py: PASS
VirtualSystemMigrationService - 01_migratable_host.py: PASS
VirtualSystemMigrationService - 02_host_migrate_type.py: PASS
libvir: Domain error : invalid domain pointer in virDomainFree
VirtualSystemMigrationService - 05_migratable_host_errs.py: PASS
VirtualSystemMigrationSettingData - 01_enum.py: PASS
VirtualSystemMigrationSettingData - 02_vsmsd_gi_errs.py: PASS
VirtualSystemSettingDataComponent - 01_forward.py: PASS
VirtualSystemSettingDataComponent - 02_reverse.py: PASS
VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: PASS
VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: PASS
VirtualSystemSnapshotService - 01_enum.py: PASS
VirtualSystemSnapshotService - 02_vs_sservice_gi_errs.py: PASS
VirtualSystemSnapshotServiceCapabilities - 01_enum.py: PASS
VirtualSystemSnapshotServiceCapabilities - 02_vs_sservicecap_gi_errs.py: PASS
16 years, 4 months