[PATCH] This patch adds support for IPv6 in KVMRedirectionSAP provider
by Sharad Mishra
# HG changeset patch
# User Sharad Mishra <snmishra(a)us.ibm.com>
# Date 1256685120 25200
# Node ID 34fd1a216b41db1e32ca508cc73c70d45faed33d
# Parent 906a78ecf9f3e4972133c6792c1ff543cc57b493
This patch adds support for IPv6 in KVMRedirectionSAP provider.
The code now loops through currently active IPv4 and IPv6 connections.
It tries to read both /proc/net/tcp and /proc/net/tcp6 files. If one
of the two files is successfully read, it does not return an error. For
the function to return an error, both IPv4 and IPv6 file reads should fail.
diff -r 906a78ecf9f3 -r 34fd1a216b41 src/Virt_KVMRedirectionSAP.c
--- a/src/Virt_KVMRedirectionSAP.c Mon Oct 05 06:02:39 2009 -0700
+++ b/src/Virt_KVMRedirectionSAP.c Tue Oct 27 16:12:00 2009 -0700
@@ -39,7 +39,8 @@
#include "Virt_KVMRedirectionSAP.h"
-#define PROC_TCP "/proc/net/tcp"
+#define PROC_TCP4 "/proc/net/tcp"
+#define PROC_TCP6 "/proc/net/tcp6"
const static CMPIBroker *_BROKER;
@@ -139,50 +140,47 @@
return inst;
}
-static CMPIStatus get_vnc_sessions(const CMPIBroker *broker,
- const CMPIObjectPath *ref,
- virConnectPtr conn,
- struct vnc_ports ports,
- struct inst_list *list)
+static CMPIStatus read_tcp_file(const CMPIBroker *broker,
+ const CMPIObjectPath *ref,
+ virConnectPtr conn,
+ struct vnc_ports ports,
+ struct inst_list *list,
+ FILE *fl)
{
CMPIStatus s = {CMPI_RC_OK, NULL};
CMPIInstance *inst;
- const char *path = PROC_TCP;
unsigned int lport = 0;
unsigned int rport = 0;
- FILE *tcp_info;
char *line = NULL;
size_t len = 0;
int val;
int ret;
int i;
- tcp_info = fopen(path, "r");
- if (tcp_info == NULL) {
- cu_statusf(broker, &s,
+ if (getline(&line, &len, fl) == -1) {
+ cu_statusf(broker,
+ &s,
CMPI_RC_ERR_FAILED,
- "Failed to open %s: %m", tcp_info);
+ "Failed to read from %s",
+ fl);
goto out;
}
- if (getline(&line, &len, tcp_info) == -1) {
- cu_statusf(broker, &s,
- CMPI_RC_ERR_FAILED,
- "Failed to read from %s", tcp_info);
- goto out;
- }
-
- while (getline(&line, &len, tcp_info) > 0) {
- ret = sscanf(line, "%d: %*[^:]:%X %*[^:]:%X", &val, &lport,
+ while (getline(&line, &len, fl) > 0) {
+ ret = sscanf(line,
+ "%d: %*[^:]:%X %*[^:]:%X",
+ &val,
+ &lport,
&rport);
if (ret != 3) {
- cu_statusf(broker, &s,
+ cu_statusf(broker,
+ &s,
CMPI_RC_ERR_FAILED,
"Unable to determine active sessions");
goto out;
}
- for (i = 0; i < ports.max; i++) {
+ for (i = 0; i < ports.max; i++) {
if (lport != ports.list[i]->port)
continue;
@@ -198,22 +196,69 @@
inst_list_add(list, inst);
}
}
+
+ out:
+ return s;
+}
- /* Handle any guests that were missed. These guest don't have active
- or enabled sessions. */
- for (i = 0; i < ports.max; i++) {
- if (ports.list[i]->remote_port != -1)
- continue;
+static CMPIStatus get_vnc_sessions(const CMPIBroker *broker,
+ const CMPIObjectPath *ref,
+ virConnectPtr conn,
+ struct vnc_ports ports,
+ struct inst_list *list)
+{
+ CMPIStatus s = {CMPI_RC_OK, NULL};
+ CMPIInstance *inst;
+ const char *path[2] = {PROC_TCP4, PROC_TCP6};
+ FILE *tcp_info;
+ int i, j;
+ int error = 0;
- inst = get_console_sap(broker, ref, conn, ports.list[i], &s);
- if ((s.rc != CMPI_RC_OK) || (inst == NULL))
- goto out;
+ for (j = 0; j < 2; j++) {
+ tcp_info = fopen(path[j], "r");
+ if (tcp_info == NULL) {
+ cu_statusf(broker, &s,
+ CMPI_RC_ERR_FAILED,
+ "Failed to open %s: %m", tcp_info);
+ goto error;
+ }
- inst_list_add(list, inst);
+ s = read_tcp_file(broker,
+ ref,
+ conn,
+ ports,
+ list,
+ tcp_info);
+
+ if (s.rc != CMPI_RC_OK)
+ goto error;
+
+ /* Handle any guests that were missed. These guest don't have active
+ or enabled sessions. */
+ for (i = 0; i < ports.max; i++) {
+ if (ports.list[i]->remote_port != -1)
+ continue;
+
+ inst = get_console_sap(broker, ref, conn, ports.list[i], &s);
+ if ((s.rc != CMPI_RC_OK) || (inst == NULL))
+ goto error;
+
+ inst_list_add(list, inst);
+ }
+
+ error:
+ if (tcp_info != NULL)
+ fclose(tcp_info);
+
+ if ((j == 0) && (s.rc != CMPI_RC_OK)) {
+ error = 1;
+ s.rc = CMPI_RC_OK;
+ }
}
- out:
- fclose(tcp_info);
+ if ((s.rc != CMPI_RC_OK) && (error == 0))
+ s.rc = CMPI_RC_OK;
+
return s;
}
14 years, 10 months
[PATCH] This patch changes the way libcmpiutil retrieves the association handler to fix the problem with SLP advertisement
by Richard Maciel
# HG changeset patch
# User Richard Maciel <rmaciel(a)linux.vnet.ibm.com>
# Date 1256326357 7200
# Node ID 3c2c62c3630fc96b313ddb14ff44e9124a8fa8cc
# Parent 0cbdf0dcd41651b7a4e6f1844bf567ced1106225
This patch changes the way libcmpiutil retrieves the association handler to fix the problem with SLP advertisement
Signed-off-by: Richard Maciel <rmaciel(a)linux.vnet.ibm.com>
diff -r 0cbdf0dcd416 -r 3c2c62c3630f std_association.c
--- a/std_association.c Tue Jun 02 10:55:14 2009 -0300
+++ b/std_association.c Fri Oct 23 17:32:37 2009 -0200
@@ -153,73 +153,78 @@
for (i = 0; ctx->handlers[i]; i++) {
ptr = ctx->handlers[i];
- if (match_source_class(ctx->brkr, ref, ptr))
- break;
+ if (!match_source_class(ctx->brkr, ref, ptr)) {
+ CU_DEBUG("Source class doesn't match");
+ continue;
+ }
+
+ if (!ptr) {
+ CU_DEBUG("Invalid pointer");
+ continue;
+ }
- ptr = NULL;
+ if (info->assoc_class) {
+ CU_DEBUG("Check client's assocClass: '%s'",
+ info->assoc_class);
+
+ rc = match_class(ctx->brkr,
+ NAMESPACE(ref),
+ info->assoc_class,
+ ptr->assoc_class);
+
+ if (!rc) {
+ CU_DEBUG("AssocClass not valid.");
+ continue;
+ }
+ CU_DEBUG("AssocClass valid.");
+ }
+
+ if (info->result_class) {
+ CU_DEBUG("Check client's resultClass: '%s'",
+ info->result_class);
+
+ rc = match_class(ctx->brkr,
+ NAMESPACE(ref),
+ info->result_class,
+ ptr->target_class);
+
+ if (!rc) {
+ CU_DEBUG("ResultClass not valid.");
+ continue;
+ }
+ CU_DEBUG("ResultClass valid.");
+ }
+
+ if (info->role) {
+ CU_DEBUG("Check client's role: '%s'",
+ info->role);
+
+ if (!STREQC(info->role, ptr->source_prop)) {
+ CU_DEBUG("Invalid role");
+ continue;
+ }
+ CU_DEBUG("Role valid.");
+ }
+
+ if (info->result_role) {
+ CU_DEBUG("Check client's resultRole: '%s'",
+ info->result_role);
+
+ if (!STREQC(info->result_role, ptr->target_prop)) {
+ CU_DEBUG("ResultRole not valid.");
+ continue;
+ }
+ CU_DEBUG("ResultRole valid.");
+ }
+
+ goto out;
}
- if (!ptr)
- goto out;
-
- if (info->assoc_class) {
- CU_DEBUG("Check client's assocClass: '%s'",
- info->assoc_class);
-
- rc = match_class(ctx->brkr,
- NAMESPACE(ref),
- info->assoc_class,
- ptr->assoc_class);
-
- if (!rc) {
- CU_DEBUG("AssocClass not valid.");
- goto out;
- }
- CU_DEBUG("AssocClass valid.");
- }
-
- if (info->result_class) {
- CU_DEBUG("Check client's resultClass: '%s'",
- info->result_class);
-
- rc = match_class(ctx->brkr,
- NAMESPACE(ref),
- info->result_class,
- ptr->target_class);
-
- if (!rc) {
- CU_DEBUG("ResultClass not valid.");
- goto out;
- }
- CU_DEBUG("ResultClass valid.");
- }
-
- if (info->role) {
- CU_DEBUG("Check client's role: '%s'",
- info->role);
-
- if (!STREQC(info->role, ptr->source_prop)) {
- CU_DEBUG("Role not valid.");
- goto out;
- }
- CU_DEBUG("Role valid.");
- }
-
- if (info->result_role) {
- CU_DEBUG("Check client's resultRole: '%s'",
- info->result_role);
-
- if (!STREQC(info->result_role, ptr->target_prop)) {
- CU_DEBUG("ResultRole not valid.");
- goto out;
- }
- CU_DEBUG("ResultRole valid.");
- }
-
- return ptr;
+ CU_DEBUG("No valid handler found");
+ ptr = NULL;
out:
- return NULL;
+ return ptr;
}
static CMPIStatus prepare_ref_return_list(struct std_assoc *handler,
14 years, 10 months
Release of libvirt-cim 0.5.7
by Kaitlin Rupert
A new release of libvirt-cim is now available at:
ftp://libvirt.org/libvirt-cim/
* Features:
- Support defining file backed storage volumes in dir type pools
* StorageVolumeRASD templates for defining new storage volumes
* Added method CreateResourceInPool() for creating storage volumes
* Added internal functions for generating a storage volume XML
* Added DeleteResourceInPool() to delete storage volumes
- Add LibvirtVersion to VSMS
- Expose OperatingStatus attribute in Virt_ComputerSystem
- Expose HealthState attribute of LogicalDisk
- Generate ResourceAllocationSettingData indications when a guest's
resources are added / removed / modified.
* Bug fixes:
- Ensure guests are defined with a unique MAC address
- Fix seg fault caused when invalid namespace is specified
- Add check to catch duplicated VirtualDevice parameter in DiskRASDs
- Calling RequestStateChange() with DISABLED state immediately
destroys a guest (instead of shutting it down gracefully)
- Ensure hostname always returns a value instead of an empty string
- Fix LXC connection uri to use proper uri
- Remove default graphics device from LXC guests
- Ensure ComputerSystemDeletedIndication is generated when a guest is
deleted
- Updates to makefile to work with install tool 7.2
- Use Qumranet's OUI for KVM guests instead of using Xensource's
--
Kaitlin Rupert
IBM Linux Technology Center
kaitlin(a)linux.vnet.ibm.com
14 years, 10 months
Test Run Summary (Oct 19 2009): Xen on Red Hat Enterprise Linux Server release 5.4 (Tikanga) with Pegasus
by Kaitlin Rupert
=================================================
Test Run Summary (Oct 19 2009): Xen on Red Hat Enterprise Linux Server release 5.4 (Tikanga) with Pegasus
=================================================
Distro: Red Hat Enterprise Linux Server release 5.4 (Tikanga)
Kernel: 2.6.18-164.el5xen
libvirt: 0.6.3
Hypervisor: Xen 3.1.0
CIMOM: Pegasus 2.7.2
Libvirt-cim revision: 853
Libvirt-cim changeset: 8bb1100e5bd2
Cimtest revision: 791
Cimtest changeset: a159cb05bdc7
Total test execution: Unknown
=================================================
FAIL : 5
XFAIL : 3
SKIP : 19
PASS : 148
-----------------
Total : 175
=================================================
FAIL Test Summary:
ComputerSystem - 34_start_disable.py: FAIL
HostSystem - 03_hs_to_settdefcap.py: FAIL
VirtualSystemManagementService - 15_mod_system_settings.py: FAIL
VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: FAIL
VirtualSystemMigrationService - 02_host_migrate_type.py: FAIL
=================================================
XFAIL Test Summary:
ComputerSystem - 33_suspend_reboot.py: XFAIL
VirtualSystemManagementService - 16_removeresource.py: XFAIL
VirtualSystemManagementService - 22_addmulti_brg_interface.py: XFAIL
=================================================
SKIP Test Summary:
ComputerSystem - 02_nosystems.py: SKIP
LogicalDisk - 02_nodevs.py: SKIP
NetworkPort - 03_user_netport.py: SKIP
RASD - 06_parent_net_pool.py: SKIP
RASD - 07_parent_disk_pool.py: SKIP
RASDIndications - 01_guest_states_rasd_ind.py: SKIP
RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: SKIP
ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: SKIP
ResourcePoolConfigurationService - 07_DeleteResourcePool.py: SKIP
ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: SKIP
ResourcePoolConfigurationService - 09_DeleteDiskPool.py: SKIP
ResourcePoolConfigurationService - 10_create_storagevolume.py: SKIP
ResourcePoolConfigurationService - 11_create_dir_storagevolume_errs.py: SKIP
ResourcePoolConfigurationService - 12_create_netfs_storagevolume_errs.py: SKIP
ResourcePoolConfigurationService - 13_delete_storagevolume.py: SKIP
ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: SKIP
VSSD - 05_set_uuid.py: SKIP
VSSD - 06_duplicate_uuid.py: SKIP
VirtualSystemManagementService - 20_verify_vnc_password.py: SKIP
=================================================
Full 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_pause_pause.py: PASS
--------------------------------------------------------------------
ComputerSystem - 27_define_pause_errs.py: PASS
--------------------------------------------------------------------
ComputerSystem - 32_start_reboot.py: PASS
--------------------------------------------------------------------
ComputerSystem - 33_suspend_reboot.py: XFAIL
ERROR - Got CIM error CIM_ERR_NOT_SUPPORTED: State not supported with return code 7
ERROR - Exception: Unable Suspend dom 'test_domain'
InvokeMethod(RequestStateChange): CIM_ERR_NOT_SUPPORTED: State not supported
Bug:<00012>
--------------------------------------------------------------------
ComputerSystem - 34_start_disable.py: FAIL
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Exception: Unable disable dom 'cs_test_domain'
--------------------------------------------------------------------
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
--------------------------------------------------------------------
ComputerSystemMigrationJobIndication - 01_csmig_ind_for_offline_mig.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: FAIL
ERROR - Xen_SettingsDefineCapabilities returned 72 RASD objects instead of 96 for DiskPool/default
CIM_ERR_INVALID_CLASS: Linux_ComputerSystem
--------------------------------------------------------------------
HostSystem - 04_hs_to_EAPF.py: PASS
--------------------------------------------------------------------
HostSystem - 05_hs_gi_errs.py: PASS
--------------------------------------------------------------------
HostSystem - 06_hs_to_vsms.py: PASS
--------------------------------------------------------------------
HostedAccessPoint - 01_forward.py: PASS
--------------------------------------------------------------------
HostedAccessPoint - 02_reverse.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
--------------------------------------------------------------------
KVMRedirectionSAP - 01_enum_KVMredSAP.py: PASS
--------------------------------------------------------------------
LogicalDisk - 01_disk.py: PASS
--------------------------------------------------------------------
LogicalDisk - 02_nodevs.py: SKIP
ERROR - System has defined domains; unable to run
--------------------------------------------------------------------
LogicalDisk - 03_ld_gi_errs.py: PASS
--------------------------------------------------------------------
Memory - 01_memory.py: PASS
--------------------------------------------------------------------
Memory - 02_defgetmem.py: PASS
--------------------------------------------------------------------
Memory - 03_mem_gi_errs.py: PASS
--------------------------------------------------------------------
NetworkPort - 01_netport.py: PASS
--------------------------------------------------------------------
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
--------------------------------------------------------------------
RASD - 05_disk_rasd_emu_type.py: PASS
--------------------------------------------------------------------
RASD - 06_parent_net_pool.py: SKIP
ERROR - NetworkPool template RASDs not supported. Supported in version 867.
--------------------------------------------------------------------
RASD - 07_parent_disk_pool.py: SKIP
ERROR - DiskPool template RASDs not supported. Supported in version 863.
--------------------------------------------------------------------
RASDIndications - 01_guest_states_rasd_ind.py: SKIP
--------------------------------------------------------------------
RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: SKIP
--------------------------------------------------------------------
RedirectionService - 01_enum_crs.py: PASS
--------------------------------------------------------------------
RedirectionService - 02_enum_crscap.py: PASS
--------------------------------------------------------------------
RedirectionService - 03_RedirectionSAP_errs.py: PASS
--------------------------------------------------------------------
ReferencedProfile - 01_verify_refprof.py: PASS
--------------------------------------------------------------------
ReferencedProfile - 02_refprofile_errs.py: PASS
--------------------------------------------------------------------
ResourceAllocationFromPool - 01_forward.py: PASS
--------------------------------------------------------------------
ResourceAllocationFromPool - 02_reverse.py: PASS
--------------------------------------------------------------------
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: SKIP
ERROR - NetworkPool template RASDs not supported. Supported in version 867.
ERROR - Error in networkpool creation
--------------------------------------------------------------------
ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationService - 06_RemoveResourcesFromResourcePool.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationService - 07_DeleteResourcePool.py: SKIP
ERROR - NetworkPool template RASDs not supported. Supported in version 867.
ERROR - Error in networkpool creation
--------------------------------------------------------------------
ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: SKIP
ERROR - DiskPool template RASDs not supported. Supported in version 863.
ERROR - Exception details: Failed to create 'DISK_POOL_DIR' type diskpool 'DISK_POOL_DIR'
--------------------------------------------------------------------
ResourcePoolConfigurationService - 09_DeleteDiskPool.py: SKIP
ERROR - DiskPool template RASDs not supported. Supported in version 863.
ERROR - Failed to create diskpool 'dp_pool'
--------------------------------------------------------------------
ResourcePoolConfigurationService - 10_create_storagevolume.py: SKIP
--------------------------------------------------------------------
ResourcePoolConfigurationService - 11_create_dir_storagevolume_errs.py: SKIP
--------------------------------------------------------------------
ResourcePoolConfigurationService - 12_create_netfs_storagevolume_errs.py: SKIP
ERROR - DiskPool template RASDs not supported. Supported in version 863.
ERROR - Failed to create pool 'NETFS_POOL'
--------------------------------------------------------------------
ResourcePoolConfigurationService - 13_delete_storagevolume.py: SKIP
--------------------------------------------------------------------
ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: SKIP
--------------------------------------------------------------------
ServiceAccessBySAP - 01_forward.py: PASS
--------------------------------------------------------------------
ServiceAccessBySAP - 02_reverse.py: PASS
--------------------------------------------------------------------
ServiceAffectsElement - 01_forward.py: PASS
--------------------------------------------------------------------
ServiceAffectsElement - 02_reverse.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: PASS
--------------------------------------------------------------------
VSSD - 03_vssd_gi_errs.py: PASS
--------------------------------------------------------------------
VSSD - 04_vssd_to_rasd.py: PASS
--------------------------------------------------------------------
VSSD - 05_set_uuid.py: SKIP
--------------------------------------------------------------------
VSSD - 06_duplicate_uuid.py: SKIP
--------------------------------------------------------------------
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
--------------------------------------------------------------------
VirtualSystemManagementService - 12_referenced_config.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 13_refconfig_additional_devs.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 14_define_sys_disk.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 15_mod_system_settings.py: FAIL
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Failed to disable rstest_domain
--------------------------------------------------------------------
VirtualSystemManagementService - 16_removeresource.py: XFAIL
ERROR - 0 RASD insts for domain/mouse:xen
CIM_ERR_NOT_FOUND: No such instance (no device domain/mouse:xen)
Bug:<00014>
--------------------------------------------------------------------
VirtualSystemManagementService - 17_removeresource_neg.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 18_define_sys_bridge.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 19_definenetwork_ers.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 20_verify_vnc_password.py: SKIP
--------------------------------------------------------------------
VirtualSystemManagementService - 21_createVS_verifyMAC.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 22_addmulti_brg_interface.py: XFAIL
ERROR - Got 99:aa:bb:cc:ee:ff, exp 99:aa:bb:cc:ee:ff. Got None, exp my_network1.
ERROR - Error invoking AddRS: add_net_res
ERROR - Error adding rs for net mac
ERROR - Failed to destroy Virtual Network 'my_network1'
Bug:<00015>
--------------------------------------------------------------------
VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: FAIL
ERROR - Got CIM error CIM_ERR_FAILED: Unable to start domain: POST operation failed: xend_post: error from xen daemon: (xend.err 'Error creating domain: The uname "/tmp/default-xen-dimage" is already used by another domain') with return code 1
ERROR - Desc Mismatch, Got desc: 'CIM_ERR_FAILED: Unable to start domain: POST operation failed: xend_post: error from xen daemon: (xend.err 'Error creating domain: The uname "/tmp/default-xen-dimage" is already used by another domain')', exp 'Conflicting MAC Addresses'
ERROR - Got unexpected rc code 1 and description CIM_ERR_FAILED: Unable to start domain: POST operation failed: xend_post: error from xen daemon: (xend.err 'Error creating domain: The uname "/tmp/default-xen-dimage" is already used by another domain')
InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Unable to start domain: POST operation failed: xend_post: error from xen daemon: (xend.err 'Error creating domain: The uname "/tmp/default-xen-dimage" is already used by another domain')
--------------------------------------------------------------------
VirtualSystemMigrationCapabilities - 01_enum.py: PASS
--------------------------------------------------------------------
VirtualSystemMigrationCapabilities - 02_vsmc_gi_errs.py: PASS
--------------------------------------------------------------------
VirtualSystemMigrationService - 01_migratable_host.py: PASS
--------------------------------------------------------------------
VirtualSystemMigrationService - 02_host_migrate_type.py: FAIL
ERROR - EnabledState is 9 instead of 2.
ERROR - Try to increase the timeout and run the test again
ERROR - Error start domain dom_migrate
--------------------------------------------------------------------
VirtualSystemMigrationService - 05_migratable_host_errs.py: PASS
--------------------------------------------------------------------
VirtualSystemMigrationService - 06_remote_live_migration.py: PASS
--------------------------------------------------------------------
VirtualSystemMigrationService - 07_remote_offline_migration.py: PASS
--------------------------------------------------------------------
VirtualSystemMigrationService - 08_remote_restart_resume_migration.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
--------------------------------------------------------------------
VirtualSystemSnapshotService - 03_create_snapshot.py: PASS
--------------------------------------------------------------------
VirtualSystemSnapshotServiceCapabilities - 01_enum.py: PASS
--------------------------------------------------------------------
VirtualSystemSnapshotServiceCapabilities - 02_vs_sservicecap_gi_errs.py: PASS
--------------------------------------------------------------------
14 years, 10 months
Test Run Summary (Oct 17 2009): KVM on SUSE Linux Enterprise Server 11 (x86_64) with sfcb
by Sharad Mishra
=================================================
Test Run Summary (Oct 17 2009): KVM on SUSE Linux Enterprise Server 11 (x86_64) with sfcb
=================================================
Distro: SUSE Linux Enterprise Server 11 (x86_64)
Kernel: 2.6.27.19-5-default
libvirt: 0.4.6
Hypervisor: QEMU 0.9.1
CIMOM: sfcb sfcbd 1.3.2
Libvirt-cim revision: 988
Libvirt-cim changeset: ee56d7a0df74
Cimtest revision: 791
Cimtest changeset: a159cb05bdc7
Total test execution: Unknown
=================================================
FAIL : 3
XFAIL : 4
SKIP : 10
PASS : 158
-----------------
Total : 175
=================================================
FAIL Test Summary:
RASDIndications - 01_guest_states_rasd_ind.py: FAIL
RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: FAIL
VirtualSystemManagementService - 22_addmulti_brg_interface.py: FAIL
=================================================
XFAIL Test Summary:
ComputerSystem - 32_start_reboot.py: XFAIL
ComputerSystem - 33_suspend_reboot.py: XFAIL
VirtualSystemManagementService - 09_procrasd_persist.py: XFAIL
VirtualSystemManagementService - 16_removeresource.py: XFAIL
=================================================
SKIP Test Summary:
ComputerSystem - 02_nosystems.py: SKIP
ComputerSystemMigrationJobIndication - 01_csmig_ind_for_offline_mig.py: SKIP
LogicalDisk - 02_nodevs.py: SKIP
VSSD - 02_bootldr.py: SKIP
VirtualSystemMigrationService - 01_migratable_host.py: SKIP
VirtualSystemMigrationService - 02_host_migrate_type.py: SKIP
VirtualSystemMigrationService - 05_migratable_host_errs.py: SKIP
VirtualSystemMigrationService - 06_remote_live_migration.py: SKIP
VirtualSystemMigrationService - 07_remote_offline_migration.py: SKIP
VirtualSystemMigrationService - 08_remote_restart_resume_migration.py: SKIP
=================================================
Full report:
--------------------------------------------------------------------
AllocationCapabilities - 01_enum.py: PASS
--------------------------------------------------------------------
AllocationCapabilities - 02_alloccap_gi_errs.py: PASS
--------------------------------------------------------------------
ComputerSystem - 01_enum.py: PASS
--------------------------------------------------------------------
ComputerSystem - 02_nosystems.py: SKIP
ERROR - System has defined domains; unable to run
--------------------------------------------------------------------
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_pause_pause.py: PASS
--------------------------------------------------------------------
ComputerSystem - 27_define_pause_errs.py: PASS
--------------------------------------------------------------------
ComputerSystem - 32_start_reboot.py: XFAIL
ERROR - Got CIM error Unable to reboot domain: this function is not supported by the hypervisor: virDomainReboot with return code 1
ERROR - Exception: Unable reboot dom 'cs_test_domain'
InvokeMethod(RequestStateChange): Unable to reboot domain: this function is not supported by the hypervisor: virDomainReboot
Bug:<00005>
--------------------------------------------------------------------
ComputerSystem - 33_suspend_reboot.py: XFAIL
ERROR - Got CIM error State not supported with return code 7
ERROR - Exception: Unable Suspend dom 'test_domain'
InvokeMethod(RequestStateChange): State not supported
Bug:<00012>
--------------------------------------------------------------------
ComputerSystem - 34_start_disable.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
--------------------------------------------------------------------
ComputerSystemMigrationJobIndication - 01_csmig_ind_for_offline_mig.py: SKIP
--------------------------------------------------------------------
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
--------------------------------------------------------------------
HostedAccessPoint - 01_forward.py: PASS
--------------------------------------------------------------------
HostedAccessPoint - 02_reverse.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
--------------------------------------------------------------------
KVMRedirectionSAP - 01_enum_KVMredSAP.py: PASS
--------------------------------------------------------------------
LogicalDisk - 01_disk.py: PASS
--------------------------------------------------------------------
LogicalDisk - 02_nodevs.py: SKIP
ERROR - System has defined domains; unable to run
--------------------------------------------------------------------
LogicalDisk - 03_ld_gi_errs.py: PASS
--------------------------------------------------------------------
Memory - 01_memory.py: PASS
--------------------------------------------------------------------
Memory - 02_defgetmem.py: PASS
--------------------------------------------------------------------
Memory - 03_mem_gi_errs.py: PASS
--------------------------------------------------------------------
NetworkPort - 01_netport.py: PASS
--------------------------------------------------------------------
NetworkPort - 02_np_gi_errors.py: PASS
--------------------------------------------------------------------
NetworkPort - 03_user_netport.py: PASS
--------------------------------------------------------------------
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
--------------------------------------------------------------------
RASD - 05_disk_rasd_emu_type.py: PASS
--------------------------------------------------------------------
RASD - 06_parent_net_pool.py: PASS
--------------------------------------------------------------------
RASD - 07_parent_disk_pool.py: PASS
--------------------------------------------------------------------
RASDIndications - 01_guest_states_rasd_ind.py: FAIL
ERROR - Did not recieve indication KVM_ResourceAllocationSettingDataDeletedIndication
ERROR - Received Indication error: '256'
--------------------------------------------------------------------
RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: FAIL
ERROR - Did not recieve indication KVM_ResourceAllocationSettingDataModifiedIndication
ERROR - Received Indication error: '256'
ERROR - Exception: [Errno 3] No such process
--------------------------------------------------------------------
RedirectionService - 01_enum_crs.py: PASS
--------------------------------------------------------------------
RedirectionService - 02_enum_crscap.py: PASS
--------------------------------------------------------------------
RedirectionService - 03_RedirectionSAP_errs.py: PASS
--------------------------------------------------------------------
ReferencedProfile - 01_verify_refprof.py: PASS
--------------------------------------------------------------------
ReferencedProfile - 02_refprofile_errs.py: PASS
--------------------------------------------------------------------
ResourceAllocationFromPool - 01_forward.py: PASS
--------------------------------------------------------------------
ResourceAllocationFromPool - 02_reverse.py: PASS
--------------------------------------------------------------------
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
--------------------------------------------------------------------
ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationService - 09_DeleteDiskPool.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationService - 10_create_storagevolume.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationService - 11_create_dir_storagevolume_errs.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationService - 12_create_netfs_storagevolume_errs.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationService - 13_delete_storagevolume.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: PASS
--------------------------------------------------------------------
ServiceAccessBySAP - 01_forward.py: PASS
--------------------------------------------------------------------
ServiceAccessBySAP - 02_reverse.py: PASS
--------------------------------------------------------------------
ServiceAffectsElement - 01_forward.py: PASS
--------------------------------------------------------------------
ServiceAffectsElement - 02_reverse.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: PASS
--------------------------------------------------------------------
VSSD - 05_set_uuid.py: PASS
--------------------------------------------------------------------
VSSD - 06_duplicate_uuid.py: PASS
--------------------------------------------------------------------
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: XFAIL
--------------------------------------------------------------------
VirtualSystemManagementService - 10_hv_version.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 11_define_memrasdunits.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 12_referenced_config.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 13_refconfig_additional_devs.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 14_define_sys_disk.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 15_mod_system_settings.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 16_removeresource.py: XFAIL
ERROR - 0 RASD insts for domain/mouse:ps2
No such instance (no device domain/mouse:ps2)
Bug:<00014>
--------------------------------------------------------------------
VirtualSystemManagementService - 17_removeresource_neg.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 18_define_sys_bridge.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 19_definenetwork_ers.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 20_verify_vnc_password.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 21_createVS_verifyMAC.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 22_addmulti_brg_interface.py: FAIL
ERROR - IP address is in use by a different network
ERROR - Failed to create Virtual Network 'my_network0'
ERROR - Unable to create network pool my_network0
--------------------------------------------------------------------
VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: PASS
--------------------------------------------------------------------
VirtualSystemMigrationCapabilities - 01_enum.py: PASS
--------------------------------------------------------------------
VirtualSystemMigrationCapabilities - 02_vsmc_gi_errs.py: PASS
--------------------------------------------------------------------
VirtualSystemMigrationService - 01_migratable_host.py: SKIP
--------------------------------------------------------------------
VirtualSystemMigrationService - 02_host_migrate_type.py: SKIP
--------------------------------------------------------------------
VirtualSystemMigrationService - 05_migratable_host_errs.py: SKIP
--------------------------------------------------------------------
VirtualSystemMigrationService - 06_remote_live_migration.py: SKIP
--------------------------------------------------------------------
VirtualSystemMigrationService - 07_remote_offline_migration.py: SKIP
--------------------------------------------------------------------
VirtualSystemMigrationService - 08_remote_restart_resume_migration.py: SKIP
--------------------------------------------------------------------
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
--------------------------------------------------------------------
VirtualSystemSnapshotService - 03_create_snapshot.py: PASS
--------------------------------------------------------------------
VirtualSystemSnapshotServiceCapabilities - 01_enum.py: PASS
--------------------------------------------------------------------
VirtualSystemSnapshotServiceCapabilities - 02_vs_sservicecap_gi_errs.py: PASS
--------------------------------------------------------------------
14 years, 11 months
[PATCH] This fixes the seg fault seen with older version of sfcb
by Kaitlin Rupert
# HG changeset patch
# User Kaitlin Rupert <karupert(a)us.ibm.com>
# Date 1255558169 25200
# Node ID 1dbcf6c22d5edf8864176e15edd8a4a91e33e726
# Parent 906a78ecf9f3e4972133c6792c1ff543cc57b493
This fixes the seg fault seen with older version of sfcb.
This has been tested with sfcb 1.3.2
Signed-off-by: Kaitlin Rupert <karupert(a)us.ibm.com>
diff -r 906a78ecf9f3 -r 1dbcf6c22d5e src/Virt_VirtualSystemManagementService.c
--- a/src/Virt_VirtualSystemManagementService.c Mon Oct 05 06:02:39 2009 -0700
+++ b/src/Virt_VirtualSystemManagementService.c Wed Oct 14 15:09:29 2009 -0700
@@ -1435,24 +1435,25 @@
CU_DEBUG("raise_rasd_indication");
type = get_typed_class(CLASSNAME(ref), base_type);
- ind = get_typed_instance(_BROKER,
- CLASSNAME(ref),
- base_type,
- NAMESPACE(ref));
- if (ind == NULL) {
- CU_DEBUG("Failed to get indication instance");
- s.rc = CMPI_RC_ERR_FAILED;
- goto out;
- }
-
- /* PreviousInstance is set only for modify case. */
- if (prev_inst != NULL)
- CMSetProperty(ind,
- "PreviousInstance",
- (CMPIValue *)&prev_inst,
- CMPI_instance);
for (i = 0; i < list->cur; i++) {
+ ind = get_typed_instance(_BROKER,
+ CLASSNAME(ref),
+ base_type,
+ NAMESPACE(ref));
+ if (ind == NULL) {
+ CU_DEBUG("Failed to get indication instance");
+ s.rc = CMPI_RC_ERR_FAILED;
+ goto out;
+ }
+
+ /* PreviousInstance is set only for modify case. */
+ if (prev_inst != NULL)
+ CMSetProperty(ind,
+ "PreviousInstance",
+ (CMPIValue *)&prev_inst,
+ CMPI_instance);
+
instc = list->list[i];
op = CMGetObjectPath(instc, NULL);
CMPIString *str = CMGetClassName(op, NULL);
14 years, 11 months
Tyrel Datwyler is out of the office.
by Tyrel Datwyler
I will be out of the office starting 10/14/2009 and will not return until
10/19/2009.
I will respond to your message when I return.
14 years, 11 months
[PATCH] Restructure infostore to facilitate code reuse of some functions
by Kaitlin Rupert
# HG changeset patch
# User Kaitlin Rupert <karupert(a)us.ibm.com>
# Date 1255007573 25200
# Node ID 65f03165609a2291ff6ab4dcb774087055b6d568
# Parent 10f3bc589ff7754578b96b77a735526425d1e212
Restructure infostore to facilitate code reuse of some functions
These changes are to prepare for some upcoming patches. Those patches will
create a job store, which will be used to persist job instances.
Signed-off-by: Kaitlin Rupert <karupert(a)us.ibm.com>
diff -r 10f3bc589ff7 -r 65f03165609a libxkutil/infostore.c
--- a/libxkutil/infostore.c Wed Oct 07 11:50:59 2009 -0700
+++ b/libxkutil/infostore.c Thu Oct 08 06:12:53 2009 -0700
@@ -168,11 +168,10 @@
return size >= 0;
}
-static struct infostore_ctx *_infostore_open(virDomainPtr dom)
+static struct infostore_ctx *_generic_infostore_open(char *filename)
{
struct infostore_ctx *isc;
struct stat s;
- char *filename = NULL;
isc = calloc(1, sizeof(*isc));
if (isc == NULL) {
@@ -180,10 +179,6 @@
return NULL;
}
- filename = make_filename(dom);
- if (filename == NULL)
- goto err;
-
isc->fd = open(filename, O_RDWR|O_CREAT, 0600);
if (isc->fd < 0) {
CU_DEBUG("Unable to open `%s': %m", filename);
@@ -212,6 +207,27 @@
goto err;
}
+ return isc;
+
+ err:
+ infostore_cleanup_ctx(isc);
+
+ return NULL;
+}
+
+static struct infostore_ctx *_infostore_open(virDomainPtr dom)
+{
+ struct infostore_ctx *isc = NULL;
+ char *filename = NULL;
+
+ filename = make_filename(dom);
+ if (filename == NULL)
+ return NULL;
+
+ isc = _generic_infostore_open(filename);
+ if (isc == NULL)
+ return NULL;
+
if (!xmlStrEqual(isc->root->name, BAD_CAST "dominfo")) {
CU_DEBUG("XML does not start with <dominfo>");
goto err;
@@ -286,7 +302,7 @@
return isc;
}
-void infostore_close(struct infostore_ctx *ctx)
+static void _infostore_close(struct infostore_ctx *ctx)
{
if (ctx == NULL)
return;
@@ -295,6 +311,11 @@
infostore_cleanup_ctx(ctx);
}
+void infostore_close(struct infostore_ctx *ctx)
+{
+ _infostore_close(ctx);
+}
+
void infostore_delete(const char *type, const char *name)
{
char *path = NULL;
14 years, 11 months