Skip to content

XenServer 7 Support - #1711

Merged
asfgit merged 1 commit into
apache:4.9from
syed:xenserver7
Dec 22, 2016
Merged

XenServer 7 Support#1711
asfgit merged 1 commit into
apache:4.9from
syed:xenserver7

Conversation

@syed

@syedsyed commented Oct 17, 2016

Copy link
Copy Markdown
Contributor

This PR adds support for XenServer 7. I have manually done the following tests

  • Create a new cluster with XenServer7
  • Add Primary storage: Should create an SR on XS7
  • Add another XS7 host to the Pool
  • Add host2 to Cloudstack
  • Create VM1 from template
  • Create VM2 from template
  • Ping/SSH VM1 to VM2 and vice-versa
  • Stop/Delete/Expunge VM2
  • Create Data disk
  • Attach it to VM1
  • Create VM snaphsot of VM1
  • Restore VM snapshot of VM1
  • Delete VM snapshot of VM1
  • Create Volume snapshot of Datadisk
  • Create volume snapshot of Root disk
  • Create new template from snapshot of root disk
  • Create volume from snapshot of datadisk
  • Detach datadisk volume
  • Delete datadisk volume
  • Aquire a public IP
  • Create a static nat to VM1
  • Live migrate VM1 while traffic on VM
  • Delete VM1

@syedsyed changed the title Xenserver7Xenserver7 SupportOct 17, 2016
@yadvr

yadvr commented Oct 18, 2016

Copy link
Copy Markdown
Member

Thanks @syed for your PR. I'll kick some tests following merge of PR #1708.
@PaulAngus can you help add support for XenServer 7 in Trillian, thanks.

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan

Copy link
Copy Markdown

Packaging result: ✔centos6 ✔centos7 ✖debian. JID-62

@yadvr

Copy link
Copy Markdown
Member

There was an env issue with the debian package job, it has been re-fired.

@blueorangutan

Copy link
Copy Markdown

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-63

@@ -0,0 +1,67 @@
# Licensed to the Apache Software Foundation (ASF) under one

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the content of this same as that of XS6.5? If so then this is not needed, the 6.5 one can be reused.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Koushik for the review. I have removed this file and am using the 6.5 one.


@Override
protected String getPatchFilePath() {
return "scripts/vm/hypervisor/xenserver/xenserver70/patch";

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Refer to the comment on patch file, if same as XS 6.5 then XenServer650Resource can be reused

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Additional DB changes are also needed for guest OS mapping and HV capabilities table.

@syed

syed commented Oct 18, 2016

Copy link
Copy Markdown
ContributorAuthor

@koushik-das Thank you for the review! I've added the guest OS mappings and hypervisor capabilities.

@PaulAngus

PaulAngus commented Oct 19, 2016

Copy link
Copy Markdown
Member

test_primary_storage.py fails iSCSI test.
Marvin resports:

createstoragepool failed, due to: errorCode: 530, errorText:Failed to add data store: Failed to access storage pool

cloudstack-management log reports:

Unable to setup heartbeat sr on SR 10e0c167-06fa-f654-4b3e-ecd7c5800447 due to #7# volume hb-0988b965-ce0e-4dd2-af70-318ea063a008 is not created

Running setup_heartbeat_sr.sh manually returns:

Command not permitted while global/metadata_read_only is set

from http://discussions.citrix.com/topic/378957-command-not-permitted-while-globalmetadata-read-only-is-set/

adding --config global{metadata_read_only=0} to line 75 (lvcreate VG_XenStorage-$2 -n hb-$1 --size 4M) resolves the issue.

I don't know if adding that global config switch is persisted or if it has other side effects.

But it allows iSCSI to attach and hb volume to be created...

@PaulAngus

Copy link
Copy Markdown
Member

Results from smoke tests (with above iscsi fix in)

Test completed. 41 look ok, 7 have error(s)

in addition to the the known VPC issues there are:

test_07_resize_fail | Failure | 45.55 | test_volumes.py
test_04_extract_template | Failure | 5.24 | test_templates.py
test_01_create_template | Error | 70.56 | test_templates.py
test_04_extract_Iso | Error | 5.09 | test_iso.py

I'll look at these (tomorrow as i'm with customer all day today)...

TestResultTime (s)Test File
test_05_rvpc_multi_tiersFailure514.00test_vpc_redundant.py
test_04_rvpc_network_garbage_collector_nicsFailure1356.43test_vpc_redundant.py
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACLFailure547.92test_vpc_redundant.py
test_07_resize_failFailure45.55test_volumes.py
test_04_extract_templateFailure5.24test_templates.py
test_03_vpc_privategw_restart_vpc_cleanupFailure441.18test_privategw_acl.py
test_02_vpc_privategw_static_routesFailure441.04test_privategw_acl.py
test_01_create_templateError70.56test_templates.py
test_network_rules_acquired_public_ip_3_Load_Balancer_RuleError765.83test_network.py
test_network_rules_acquired_public_ip_2_nat_ruleError743.10test_network.py
test_network_rules_acquired_public_ip_1_static_nat_ruleError739.12test_network.py
test_04_extract_IsoError5.09test_iso.py
runTestError0.00test_dynamicroles.py
test_01_vpc_site2site_vpnSuccess295.18test_vpc_vpn.py
test_01_vpc_remote_access_vpnSuccess136.28test_vpc_vpn.py
test_01_redundant_vpc_site2site_vpnSuccess511.64test_vpc_vpn.py
test_02_VPC_default_routesSuccess304.54test_vpc_router_nics.py
test_01_VPC_nics_after_destroySuccess597.62test_vpc_router_nics.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routersSuccess779.36test_vpc_redundant.py
test_02_redundant_VPC_default_routesSuccess1046.48test_vpc_redundant.py
test_09_delete_detached_volumeSuccess15.67test_volumes.py
test_08_resize_volumeSuccess70.67test_volumes.py
test_06_download_detached_volumeSuccess20.33test_volumes.py
test_05_detach_volumeSuccess100.26test_volumes.py
test_04_delete_attached_volumeSuccess10.19test_volumes.py
test_03_download_attached_volumeSuccess15.24test_volumes.py
test_02_attach_volumeSuccess10.66test_volumes.py
test_01_create_volumeSuccess392.32test_volumes.py
test_03_delete_vm_snapshotsSuccess280.22test_vm_snapshots.py
test_02_revert_vm_snapshotsSuccess186.25test_vm_snapshots.py
test_01_create_vm_snapshotsSuccess100.73test_vm_snapshots.py
test_deploy_vm_multipleSuccess277.93test_vm_life_cycle.py
test_deploy_vmSuccess0.02test_vm_life_cycle.py
test_advZoneVirtualRouterSuccess0.02test_vm_life_cycle.py
test_10_attachAndDetach_isoSuccess26.65test_vm_life_cycle.py
test_09_expunge_vmSuccess125.14test_vm_life_cycle.py
test_08_migrate_vmSuccess70.92test_vm_life_cycle.py
test_07_restore_vmSuccess0.06test_vm_life_cycle.py
test_06_destroy_vmSuccess10.13test_vm_life_cycle.py
test_03_reboot_vmSuccess10.14test_vm_life_cycle.py
test_02_start_vmSuccess20.21test_vm_life_cycle.py
test_01_stop_vmSuccess30.24test_vm_life_cycle.py
test_CreateTemplateWithDuplicateNameSuccess141.00test_templates.py
test_08_list_system_templatesSuccess0.02test_templates.py
test_07_list_public_templatesSuccess0.03test_templates.py
test_05_template_permissionsSuccess0.04test_templates.py
test_03_delete_templateSuccess5.10test_templates.py
test_02_edit_templateSuccess90.06test_templates.py
test_10_destroy_cpvmSuccess226.72test_ssvm.py
test_09_destroy_ssvmSuccess199.07test_ssvm.py
test_08_reboot_cpvmSuccess146.70test_ssvm.py
test_07_reboot_ssvmSuccess144.08test_ssvm.py
test_06_stop_cpvmSuccess136.68test_ssvm.py
test_05_stop_ssvmSuccess169.02test_ssvm.py
test_04_cpvm_internalsSuccess1.32test_ssvm.py
test_03_ssvm_internalsSuccess3.63test_ssvm.py
test_02_list_cpvm_vmSuccess0.08test_ssvm.py
test_01_list_sec_storage_vmSuccess0.11test_ssvm.py
test_01_snapshot_root_diskSuccess21.17test_snapshots.py
test_04_change_offering_smallSuccess120.96test_service_offerings.py
test_03_delete_service_offeringSuccess0.03test_service_offerings.py
test_02_edit_service_offeringSuccess0.04test_service_offerings.py
test_01_create_service_offeringSuccess0.07test_service_offerings.py
test_02_sys_template_readySuccess0.08test_secondary_storage.py
test_01_sys_vm_startSuccess0.12test_secondary_storage.py
test_01_scale_vmSuccess5.13test_scale_vm.py
test_09_reboot_routerSuccess60.40test_routers.py
test_08_start_routerSuccess45.33test_routers.py
test_07_stop_routerSuccess15.18test_routers.py
test_06_router_advancedSuccess0.04test_routers.py
test_05_router_basicSuccess0.03test_routers.py
test_04_restart_network_wo_cleanupSuccess5.81test_routers.py
test_03_restart_network_cleanupSuccess110.69test_routers.py
test_02_router_internal_advSuccess0.86test_routers.py
test_01_router_internal_basicSuccess0.47test_routers.py
test_router_dns_guestipquerySuccess48.71test_router_dns.py
test_router_dns_externalipquerySuccess0.04test_router_dns.py
test_router_dhcphostsSuccess107.73test_router_dhcphosts.py
test_01_updatevolumedetailSuccess0.06test_resource_detail.py
test_01_reset_vm_on_rebootSuccess45.56test_reset_vm_on_reboot.py
test_createRegionSuccess0.03test_regions.py
test_create_pvlan_networkSuccess5.19test_pvlan.py
test_dedicatePublicIpRangeSuccess0.36test_public_ip_range.py
test_04_rvpc_privategw_static_routesSuccess1008.78test_privategw_acl.py
test_01_vpc_privategw_aclSuccess148.12test_privategw_acl.py
test_01_primary_storage_nfsSuccess40.14test_primary_storage.py
test_01_primary_storage_iscsiSuccess64.53test_primary_storage.py
test_createPortablePublicIPRangeSuccess15.16test_portable_publicip.py
test_createPortablePublicIPAcquireSuccess45.42test_portable_publicip.py
test_isolate_network_password_serverSuccess36.37test_password_server.py
test_UpdateStorageOverProvisioningFactorSuccess0.09test_over_provisioning.py
test_oobm_zchange_passwordSuccess20.52test_outofbandmanagement.py
test_oobm_multiple_mgmt_server_ownershipSuccess22.51test_outofbandmanagement.py
test_oobm_issue_power_statusSuccess10.50test_outofbandmanagement.py
test_oobm_issue_power_softSuccess15.74test_outofbandmanagement.py
test_oobm_issue_power_resetSuccess10.80test_outofbandmanagement.py
test_oobm_issue_power_onSuccess15.51test_outofbandmanagement.py
test_oobm_issue_power_offSuccess15.52test_outofbandmanagement.py
test_oobm_issue_power_cycleSuccess15.81test_outofbandmanagement.py
test_oobm_enabledisable_across_clusterzonesSuccess62.56test_outofbandmanagement.py
test_oobm_enable_feature_validSuccess5.16test_outofbandmanagement.py
test_oobm_enable_feature_invalidSuccess0.10test_outofbandmanagement.py
test_oobm_disable_feature_validSuccess0.15test_outofbandmanagement.py
test_oobm_disable_feature_invalidSuccess0.09test_outofbandmanagement.py
test_oobm_configure_invalid_driverSuccess0.07test_outofbandmanagement.py
test_oobm_configure_default_driverSuccess0.08test_outofbandmanagement.py
test_oobm_background_powerstate_syncSuccess35.77test_outofbandmanagement.py
test_extendPhysicalNetworkVlanSuccess15.31test_non_contigiousvlan.py
test_01_nicSuccess695.69test_nic.py
test_releaseIPSuccess278.16test_network.py
test_reboot_routerSuccess504.23test_network.py
test_public_ip_user_accountSuccess10.25test_network.py
test_public_ip_admin_accountSuccess40.27test_network.py
test_delete_accountSuccess257.71test_network.py
test_02_port_fwd_on_non_src_natSuccess70.68test_network.py
test_01_port_fwd_on_src_natSuccess83.67test_network.py
test_nic_secondaryip_add_removeSuccess207.71test_multipleips_per_nic.py
login_test_saml_userSuccess21.36test_login.py
test_assign_and_removal_lbSuccess148.78test_loadbalance.py
test_02_create_lb_rule_non_natSuccess207.53test_loadbalance.py
test_01_create_lb_rule_src_natSuccess207.80test_loadbalance.py
test_03_list_snapshotsSuccess0.03test_list_ids_parameter.py
test_02_list_templatesSuccess0.03test_list_ids_parameter.py
test_01_list_volumesSuccess0.02test_list_ids_parameter.py
test_07_list_default_isoSuccess0.04test_iso.py
test_05_iso_permissionsSuccess0.04test_iso.py
test_03_delete_isoSuccess95.16test_iso.py
test_02_edit_isoSuccess0.03test_iso.py
test_01_create_isoSuccess131.80test_iso.py
test_04_rvpc_internallb_haproxy_stats_on_all_interfacesSuccess474.24test_internal_lb.py
test_03_vpc_internallb_haproxy_stats_on_all_interfacesSuccess298.54test_internal_lb.py
test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80Success947.64test_internal_lb.py
test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80Success657.72test_internal_lb.py
test_dedicateGuestVlanRangeSuccess10.24test_guest_vlan_range.py
test_UpdateConfigParamWithScopeSuccess0.10test_global_settings.py
test_04_create_fat_type_disk_offeringSuccess0.06test_disk_offerings.py
test_03_delete_disk_offeringSuccess0.03test_disk_offerings.py
test_02_edit_disk_offeringSuccess0.03test_disk_offerings.py
test_02_create_sparse_type_disk_offeringSuccess0.06test_disk_offerings.py
test_01_create_disk_offeringSuccess0.07test_disk_offerings.py
test_deployvm_userdispersingSuccess45.60test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userconcentratedSuccess105.97test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_firstfitSuccess191.23test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userdata_postSuccess25.38test_deploy_vm_with_userdata.py
test_deployvm_userdataSuccess115.95test_deploy_vm_with_userdata.py
test_02_deploy_vm_root_resizeSuccess6.21test_deploy_vm_root_resize.py
test_01_deploy_vm_root_resizeSuccess6.24test_deploy_vm_root_resize.py
test_00_deploy_vm_root_resizeSuccess6.29test_deploy_vm_root_resize.py
test_deploy_vm_from_isoSuccess177.47test_deploy_vm_iso.py
test_DeployVmAntiAffinityGroupSuccess136.11test_affinity_groups.py
test_01_test_vm_volume_snapshotSkipped0.00test_vm_snapshots.py
test_06_copy_templateSkipped0.00test_templates.py
test_static_role_account_aclsSkipped0.01test_staticroles.py
test_06_copy_isoSkipped0.00test_iso.py
test_deploy_vgpu_enabled_vmSkipped0.01test_deploy_vgpu_enabled_vm.py

@syed

syed commented Oct 20, 2016

Copy link
Copy Markdown
ContributorAuthor

@PaulAngus I'm running the tests that failed for you on my setup. I will update with what I find.

@syed

syed commented Oct 20, 2016

Copy link
Copy Markdown
ContributorAuthor

@PaulAngus

test_volumes:TestCreateVolume.test_01_create_volume

I've tested the failed checks. I found a problem with the marvin check that was doing size check. I've modified it so now it works correctly.

test_iso.TestIso.test_04_extract_Iso and test_04_extract_template fail for me

This seems to be the issue with the SSVM apache server. It gives a forbidden error

# curl -v 'http://192.168.23.2/userdata/43fb5d78-a0e3-494a-940c-b3b8d4e0c25a.iso'
* About to connect() to 192.168.23.2 port 80 (#0)
* Trying 192.168.23.2...
* Connected to 192.168.23.2 (192.168.23.2) port 80 (#0)
> GET /userdata/43fb5d78-a0e3-494a-940c-b3b8d4e0c25a.iso HTTP/1.1
> User-Agent: curl/7.29.0
> Host: 192.168.23.2
> Accept: */*
>
< HTTP/1.1 403 Forbidden
< Date: Thu, 20 Oct 2016 17:45:39 GMT
< Server: Apache
< Vary: Accept-Encoding
< Content-Length: 251
< Content-Type: text/html; charset=iso-8859-1
<
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /userdata/43fb5d78-a0e3-494a-940c-b3b8d4e0c25a.iso
on this server.</p>
</body></html>
* Connection #0 to host 192.168.23.2 left intact

test_07_resize_fail and test_01_create_template Succeed for me

@yadvr

Copy link
Copy Markdown
Member

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan

Copy link
Copy Markdown

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-69

@syed

syed commented Oct 25, 2016

Copy link
Copy Markdown
ContributorAuthor

@PaulAngus would it be possible to run another round of tests on this?

@yadvr

Copy link
Copy Markdown
Member

@blueorangutan test matrix

@blueorangutan

Copy link
Copy Markdown

@rhtyd a Trillian-Jenkins matrix job (centos6 mgmt + xs65sp1, centos7 mgmt + vmware55u3, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests

Comment threadsetup/db/db/schema-4910to41000.sql Outdated



INSERT IGNORE INTO `cloud`.`hypervisor_capabilities`(uuid, hypervisor_type, hypervisor_version, max_guests_limit, security_group_enabled, max_data_volumes_limit, storage_motion_supported) VALUES (UUID(), 'XenServer', '7.0.0', 500, 1, 255, 1);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As per XS documentation 255 is max. disks that can be attached to VM and includes root, cd drive and iso (?). If you look at the field name in DB it says data disk so the number should be 255-3=252. Check other XS entries as well.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I'll update it

@koushik-das

Copy link
Copy Markdown
Contributor

One small comment, rest of the code LGTM.

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-183)
Environment: xenserver-65sp1 (x2), Advanced Networking with Mgmt server 6
Total time taken: 32182 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1711-t183-xenserver-65sp1.zip
Test completed. 45 look ok, 3 have error(s)

TestResultTime (s)Test File
test_05_rvpc_multi_tiersFailure551.18test_vpc_redundant.py
test_04_rvpc_network_garbage_collector_nicsFailure1376.94test_vpc_redundant.py
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACLFailure555.07test_vpc_redundant.py
test_04_rvpc_privategw_static_routesFailure826.22test_privategw_acl.py
test_03_vpc_privategw_restart_vpc_cleanupFailure503.72test_privategw_acl.py
test_02_vpc_privategw_static_routesFailure310.37test_privategw_acl.py
ContextSuite context=TestSnapshotRootDisk>:teardownError57.08test_snapshots.py
test_01_vpc_site2site_vpnSuccess311.94test_vpc_vpn.py
test_01_vpc_remote_access_vpnSuccess167.12test_vpc_vpn.py
test_01_redundant_vpc_site2site_vpnSuccess569.05test_vpc_vpn.py
test_02_VPC_default_routesSuccess306.19test_vpc_router_nics.py
test_01_VPC_nics_after_destroySuccess715.51test_vpc_router_nics.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routersSuccess892.10test_vpc_redundant.py
test_02_redundant_VPC_default_routesSuccess1096.37test_vpc_redundant.py
test_09_delete_detached_volumeSuccess15.86test_volumes.py
test_08_resize_volumeSuccess91.27test_volumes.py
test_07_resize_failSuccess101.51test_volumes.py
test_06_download_detached_volumeSuccess25.44test_volumes.py
test_05_detach_volumeSuccess100.34test_volumes.py
test_04_delete_attached_volumeSuccess10.29test_volumes.py
test_03_download_attached_volumeSuccess15.43test_volumes.py
test_02_attach_volumeSuccess10.82test_volumes.py
test_01_create_volumeSuccess393.71test_volumes.py
test_03_delete_vm_snapshotsSuccess280.31test_vm_snapshots.py
test_02_revert_vm_snapshotsSuccess191.42test_vm_snapshots.py
test_01_create_vm_snapshotsSuccess100.79test_vm_snapshots.py
test_deploy_vm_multipleSuccess223.69test_vm_life_cycle.py
test_deploy_vmSuccess0.04test_vm_life_cycle.py
test_advZoneVirtualRouterSuccess0.03test_vm_life_cycle.py
test_10_attachAndDetach_isoSuccess27.11test_vm_life_cycle.py
test_09_expunge_vmSuccess125.21test_vm_life_cycle.py
test_08_migrate_vmSuccess66.32test_vm_life_cycle.py
test_07_restore_vmSuccess0.14test_vm_life_cycle.py
test_06_destroy_vmSuccess10.25test_vm_life_cycle.py
test_03_reboot_vmSuccess10.21test_vm_life_cycle.py
test_02_start_vmSuccess20.30test_vm_life_cycle.py
test_01_stop_vmSuccess35.37test_vm_life_cycle.py
test_CreateTemplateWithDuplicateNameSuccess136.22test_templates.py
test_08_list_system_templatesSuccess0.04test_templates.py
test_07_list_public_templatesSuccess0.04test_templates.py
test_05_template_permissionsSuccess0.07test_templates.py
test_04_extract_templateSuccess5.19test_templates.py
test_03_delete_templateSuccess5.12test_templates.py
test_02_edit_templateSuccess90.22test_templates.py
test_01_create_templateSuccess70.70test_templates.py
test_10_destroy_cpvmSuccess226.76test_ssvm.py
test_09_destroy_ssvmSuccess259.27test_ssvm.py
test_08_reboot_cpvmSuccess151.70test_ssvm.py
test_07_reboot_ssvmSuccess145.24test_ssvm.py
test_06_stop_cpvmSuccess197.08test_ssvm.py
test_05_stop_ssvmSuccess169.60test_ssvm.py
test_04_cpvm_internalsSuccess1.13test_ssvm.py
test_03_ssvm_internalsSuccess3.87test_ssvm.py
test_02_list_cpvm_vmSuccess0.17test_ssvm.py
test_01_list_sec_storage_vmSuccess0.14test_ssvm.py
test_01_snapshot_root_diskSuccess16.54test_snapshots.py
test_04_change_offering_smallSuccess126.49test_service_offerings.py
test_03_delete_service_offeringSuccess0.10test_service_offerings.py
test_02_edit_service_offeringSuccess0.11test_service_offerings.py
test_01_create_service_offeringSuccess0.09test_service_offerings.py
test_02_sys_template_readySuccess0.14test_secondary_storage.py
test_01_sys_vm_startSuccess0.19test_secondary_storage.py
test_01_scale_vmSuccess5.26test_scale_vm.py
test_09_reboot_routerSuccess80.78test_routers.py
test_08_start_routerSuccess50.49test_routers.py
test_07_stop_routerSuccess15.24test_routers.py
test_06_router_advancedSuccess0.06test_routers.py
test_05_router_basicSuccess0.04test_routers.py
test_04_restart_network_wo_cleanupSuccess5.54test_routers.py
test_03_restart_network_cleanupSuccess131.38test_routers.py
test_02_router_internal_advSuccess0.78test_routers.py
test_01_router_internal_basicSuccess0.42test_routers.py
test_router_dns_guestipquerySuccess48.85test_router_dns.py
test_router_dns_externalipquerySuccess0.07test_router_dns.py
test_router_dhcphostsSuccess108.69test_router_dhcphosts.py
test_01_updatevolumedetailSuccess0.11test_resource_detail.py
test_01_reset_vm_on_rebootSuccess45.52test_reset_vm_on_reboot.py
test_createRegionSuccess0.05test_regions.py
test_create_pvlan_networkSuccess5.25test_pvlan.py
test_dedicatePublicIpRangeSuccess0.55test_public_ip_range.py
test_01_vpc_privategw_aclSuccess149.01test_privategw_acl.py
test_01_primary_storage_nfsSuccess38.83test_primary_storage.py
test_01_primary_storage_iscsiSuccess77.86test_primary_storage.py
test_createPortablePublicIPRangeSuccess15.23test_portable_publicip.py
test_createPortablePublicIPAcquireSuccess15.56test_portable_publicip.py
test_isolate_network_password_serverSuccess36.46test_password_server.py
test_UpdateStorageOverProvisioningFactorSuccess0.16test_over_provisioning.py
test_oobm_zchange_passwordSuccess21.02test_outofbandmanagement.py
test_oobm_multiple_mgmt_server_ownershipSuccess11.51test_outofbandmanagement.py
test_oobm_issue_power_statusSuccess5.50test_outofbandmanagement.py
test_oobm_issue_power_softSuccess15.52test_outofbandmanagement.py
test_oobm_issue_power_resetSuccess15.52test_outofbandmanagement.py
test_oobm_issue_power_onSuccess15.52test_outofbandmanagement.py
test_oobm_issue_power_offSuccess15.52test_outofbandmanagement.py
test_oobm_issue_power_cycleSuccess15.52test_outofbandmanagement.py
test_oobm_enabledisable_across_clusterzonesSuccess57.60test_outofbandmanagement.py
test_oobm_enable_feature_validSuccess5.25test_outofbandmanagement.py
test_oobm_enable_feature_invalidSuccess0.12test_outofbandmanagement.py
test_oobm_disable_feature_validSuccess5.22test_outofbandmanagement.py
test_oobm_disable_feature_invalidSuccess0.14test_outofbandmanagement.py
test_oobm_configure_invalid_driverSuccess0.10test_outofbandmanagement.py
test_oobm_configure_default_driverSuccess0.12test_outofbandmanagement.py
test_oobm_background_powerstate_syncSuccess23.90test_outofbandmanagement.py
test_extendPhysicalNetworkVlanSuccess15.41test_non_contigiousvlan.py
test_01_nicSuccess774.13test_nic.py
test_releaseIPSuccess325.25test_network.py
test_reboot_routerSuccess596.41test_network.py
test_public_ip_user_accountSuccess10.31test_network.py
test_public_ip_admin_accountSuccess40.35test_network.py
test_network_rules_acquired_public_ip_3_Load_Balancer_RuleSuccess86.98test_network.py
test_network_rules_acquired_public_ip_2_nat_ruleSuccess76.65test_network.py
test_network_rules_acquired_public_ip_1_static_nat_ruleSuccess100.29test_network.py
test_delete_accountSuccess314.58test_network.py
test_02_port_fwd_on_non_src_natSuccess70.92test_network.py
test_01_port_fwd_on_src_natSuccess83.92test_network.py
test_nic_secondaryip_add_removeSuccess213.97test_multipleips_per_nic.py
login_test_saml_userSuccess24.81test_login.py
test_assign_and_removal_lbSuccess148.80test_loadbalance.py
test_02_create_lb_rule_non_natSuccess207.65test_loadbalance.py
test_01_create_lb_rule_src_natSuccess208.33test_loadbalance.py
test_03_list_snapshotsSuccess0.09test_list_ids_parameter.py
test_02_list_templatesSuccess0.04test_list_ids_parameter.py
test_01_list_volumesSuccess0.03test_list_ids_parameter.py
test_07_list_default_isoSuccess0.06test_iso.py
test_05_iso_permissionsSuccess0.07test_iso.py
test_04_extract_IsoSuccess5.16test_iso.py
test_03_delete_isoSuccess95.26test_iso.py
test_02_edit_isoSuccess0.07test_iso.py
test_01_create_isoSuccess21.96test_iso.py
test_04_rvpc_internallb_haproxy_stats_on_all_interfacesSuccess511.21test_internal_lb.py
test_03_vpc_internallb_haproxy_stats_on_all_interfacesSuccess304.38test_internal_lb.py
test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80Success980.37test_internal_lb.py
test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80Success673.57test_internal_lb.py
test_dedicateGuestVlanRangeSuccess10.29test_guest_vlan_range.py
test_UpdateConfigParamWithScopeSuccess0.16test_global_settings.py
test_rolepermission_lifecycle_updateSuccess7.20test_dynamicroles.py
test_rolepermission_lifecycle_listSuccess6.98test_dynamicroles.py
test_rolepermission_lifecycle_deleteSuccess6.80test_dynamicroles.py
test_rolepermission_lifecycle_createSuccess6.83test_dynamicroles.py
test_rolepermission_lifecycle_concurrent_updatesSuccess7.05test_dynamicroles.py
test_role_lifecycle_update_role_inuseSuccess6.87test_dynamicroles.py
test_role_lifecycle_updateSuccess12.09test_dynamicroles.py
test_role_lifecycle_listSuccess6.85test_dynamicroles.py
test_role_lifecycle_deleteSuccess11.93test_dynamicroles.py
test_role_lifecycle_createSuccess6.84test_dynamicroles.py
test_role_inuse_deletionSuccess6.80test_dynamicroles.py
test_role_account_acls_multiple_mgmt_serversSuccess9.39test_dynamicroles.py
test_role_account_aclsSuccess9.85test_dynamicroles.py
test_default_role_deletionSuccess6.96test_dynamicroles.py
test_04_create_fat_type_disk_offeringSuccess0.09test_disk_offerings.py
test_03_delete_disk_offeringSuccess0.05test_disk_offerings.py
test_02_edit_disk_offeringSuccess0.07test_disk_offerings.py
test_02_create_sparse_type_disk_offeringSuccess0.09test_disk_offerings.py
test_01_create_disk_offeringSuccess0.13test_disk_offerings.py
test_deployvm_userdispersingSuccess45.94test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userconcentratedSuccess96.34test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_firstfitSuccess171.79test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userdata_postSuccess20.69test_deploy_vm_with_userdata.py
test_deployvm_userdataSuccess106.21test_deploy_vm_with_userdata.py
test_02_deploy_vm_root_resizeSuccess6.89test_deploy_vm_root_resize.py
test_01_deploy_vm_root_resizeSuccess6.79test_deploy_vm_root_resize.py
test_00_deploy_vm_root_resizeSuccess6.97test_deploy_vm_root_resize.py
test_deploy_vm_from_isoSuccess264.12test_deploy_vm_iso.py
test_DeployVmAntiAffinityGroupSuccess136.70test_affinity_groups.py
test_01_test_vm_volume_snapshotSkipped0.00test_vm_snapshots.py
test_06_copy_templateSkipped0.00test_templates.py
test_static_role_account_aclsSkipped0.03test_staticroles.py
test_06_copy_isoSkipped0.00test_iso.py
test_deploy_vgpu_enabled_vmSkipped0.04test_deploy_vgpu_enabled_vm.py
test_3d_gpu_supportSkipped0.04test_deploy_vgpu_enabled_vm.py

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-192)
Environment: CUSTOM-XenServer (x2), Advanced Networking with Mgmt server 6
Total time taken: 35929 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1711-t192-CUSTOM-XenServer.zip
Test completed. 41 look ok, 7 have error(s)

TestResultTime (s)Test File
test_05_rvpc_multi_tiersFailure573.60test_vpc_redundant.py
test_04_rvpc_network_garbage_collector_nicsFailure1362.50test_vpc_redundant.py
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACLFailure570.01test_vpc_redundant.py
test_04_extract_templateFailure5.19test_templates.py
test_09_destroy_ssvmFailure0.04test_ssvm.py
test_08_reboot_cpvmFailure0.04test_ssvm.py
test_07_reboot_ssvmFailure0.04test_ssvm.py
test_03_vpc_privategw_restart_vpc_cleanupFailure525.63test_privategw_acl.py
test_02_vpc_privategw_static_routesFailure454.31test_privategw_acl.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routersError193.73test_vpc_redundant.py
test_06_stop_cpvmError316.04test_ssvm.py
test_05_stop_ssvmError316.09test_ssvm.py
ContextSuite context=TestSnapshotRootDisk>:teardownError57.12test_snapshots.py
test_01_primary_storage_iscsiError35.60test_primary_storage.py
test_reboot_routerError1663.91test_network.py
test_01_vpc_site2site_vpnSuccess306.61test_vpc_vpn.py
test_01_vpc_remote_access_vpnSuccess146.95test_vpc_vpn.py
test_01_redundant_vpc_site2site_vpnSuccess538.63test_vpc_vpn.py
test_02_VPC_default_routesSuccess327.16test_vpc_router_nics.py
test_01_VPC_nics_after_destroySuccess641.62test_vpc_router_nics.py
test_02_redundant_VPC_default_routesSuccess1053.97test_vpc_redundant.py
test_09_delete_detached_volumeSuccess15.82test_volumes.py
test_08_resize_volumeSuccess101.28test_volumes.py
test_07_resize_failSuccess101.22test_volumes.py
test_06_download_detached_volumeSuccess25.45test_volumes.py
test_05_detach_volumeSuccess105.32test_volumes.py
test_04_delete_attached_volumeSuccess10.32test_volumes.py
test_03_download_attached_volumeSuccess15.57test_volumes.py
test_02_attach_volumeSuccess15.84test_volumes.py
test_01_create_volumeSuccess392.78test_volumes.py
test_03_delete_vm_snapshotsSuccess280.29test_vm_snapshots.py
test_02_revert_vm_snapshotsSuccess181.47test_vm_snapshots.py
test_01_create_vm_snapshotsSuccess101.21test_vm_snapshots.py
test_deploy_vm_multipleSuccess304.45test_vm_life_cycle.py
test_deploy_vmSuccess0.03test_vm_life_cycle.py
test_advZoneVirtualRouterSuccess0.03test_vm_life_cycle.py
test_10_attachAndDetach_isoSuccess26.92test_vm_life_cycle.py
test_09_expunge_vmSuccess185.27test_vm_life_cycle.py
test_08_migrate_vmSuccess71.38test_vm_life_cycle.py
test_07_restore_vmSuccess0.19test_vm_life_cycle.py
test_06_destroy_vmSuccess10.20test_vm_life_cycle.py
test_03_reboot_vmSuccess10.20test_vm_life_cycle.py
test_02_start_vmSuccess20.28test_vm_life_cycle.py
test_01_stop_vmSuccess30.33test_vm_life_cycle.py
test_CreateTemplateWithDuplicateNameSuccess141.27test_templates.py
test_08_list_system_templatesSuccess0.04test_templates.py
test_07_list_public_templatesSuccess0.04test_templates.py
test_05_template_permissionsSuccess0.07test_templates.py
test_03_delete_templateSuccess5.14test_templates.py
test_02_edit_templateSuccess90.19test_templates.py
test_01_create_templateSuccess85.83test_templates.py
test_10_destroy_cpvmSuccess1261.34test_ssvm.py
test_04_cpvm_internalsSuccess1.30test_ssvm.py
test_03_ssvm_internalsSuccess5.46test_ssvm.py
test_02_list_cpvm_vmSuccess0.18test_ssvm.py
test_01_list_sec_storage_vmSuccess0.16test_ssvm.py
test_01_snapshot_root_diskSuccess21.59test_snapshots.py
test_04_change_offering_smallSuccess126.49test_service_offerings.py
test_03_delete_service_offeringSuccess0.05test_service_offerings.py
test_02_edit_service_offeringSuccess0.10test_service_offerings.py
test_01_create_service_offeringSuccess0.11test_service_offerings.py
test_02_sys_template_readySuccess0.13test_secondary_storage.py
test_01_sys_vm_startSuccess0.20test_secondary_storage.py
test_01_scale_vmSuccess5.24test_scale_vm.py
test_09_reboot_routerSuccess70.66test_routers.py
test_08_start_routerSuccess55.53test_routers.py
test_07_stop_routerSuccess20.27test_routers.py
test_06_router_advancedSuccess0.06test_routers.py
test_05_router_basicSuccess0.04test_routers.py
test_04_restart_network_wo_cleanupSuccess5.67test_routers.py
test_03_restart_network_cleanupSuccess136.31test_routers.py
test_02_router_internal_advSuccess0.92test_routers.py
test_01_router_internal_basicSuccess0.54test_routers.py
test_router_dns_guestipquerySuccess48.90test_router_dns.py
test_router_dns_externalipquerySuccess0.06test_router_dns.py
test_router_dhcphostsSuccess119.30test_router_dhcphosts.py
test_01_updatevolumedetailSuccess0.11test_resource_detail.py
test_01_reset_vm_on_rebootSuccess45.55test_reset_vm_on_reboot.py
test_createRegionSuccess0.04test_regions.py
test_create_pvlan_networkSuccess5.27test_pvlan.py
test_dedicatePublicIpRangeSuccess0.76test_public_ip_range.py
test_04_rvpc_privategw_static_routesSuccess1018.02test_privategw_acl.py
test_01_vpc_privategw_aclSuccess159.10test_privategw_acl.py
test_01_primary_storage_nfsSuccess39.88test_primary_storage.py
test_createPortablePublicIPRangeSuccess15.25test_portable_publicip.py
test_createPortablePublicIPAcquireSuccess15.57test_portable_publicip.py
test_isolate_network_password_serverSuccess36.34test_password_server.py
test_UpdateStorageOverProvisioningFactorSuccess0.16test_over_provisioning.py
test_oobm_zchange_passwordSuccess21.04test_outofbandmanagement.py
test_oobm_multiple_mgmt_server_ownershipSuccess16.52test_outofbandmanagement.py
test_oobm_issue_power_statusSuccess10.51test_outofbandmanagement.py
test_oobm_issue_power_softSuccess15.52test_outofbandmanagement.py
test_oobm_issue_power_resetSuccess15.52test_outofbandmanagement.py
test_oobm_issue_power_onSuccess15.53test_outofbandmanagement.py
test_oobm_issue_power_offSuccess15.52test_outofbandmanagement.py
test_oobm_issue_power_cycleSuccess15.53test_outofbandmanagement.py
test_oobm_enabledisable_across_clusterzonesSuccess47.58test_outofbandmanagement.py
test_oobm_enable_feature_validSuccess5.21test_outofbandmanagement.py
test_oobm_enable_feature_invalidSuccess0.13test_outofbandmanagement.py
test_oobm_disable_feature_validSuccess5.24test_outofbandmanagement.py
test_oobm_disable_feature_invalidSuccess0.14test_outofbandmanagement.py
test_oobm_configure_invalid_driverSuccess0.10test_outofbandmanagement.py
test_oobm_configure_default_driverSuccess0.11test_outofbandmanagement.py
test_oobm_background_powerstate_syncSuccess23.66test_outofbandmanagement.py
test_extendPhysicalNetworkVlanSuccess15.41test_non_contigiousvlan.py
test_01_nicSuccess778.85test_nic.py
test_releaseIPSuccess314.73test_network.py
test_public_ip_user_accountSuccess10.31test_network.py
test_public_ip_admin_accountSuccess40.36test_network.py
test_network_rules_acquired_public_ip_3_Load_Balancer_RuleSuccess86.99test_network.py
test_network_rules_acquired_public_ip_2_nat_ruleSuccess76.83test_network.py
test_network_rules_acquired_public_ip_1_static_nat_ruleSuccess101.29test_network.py
test_delete_accountSuccess344.52test_network.py
test_02_port_fwd_on_non_src_natSuccess70.96test_network.py
test_01_port_fwd_on_src_natSuccess83.89test_network.py
test_nic_secondaryip_add_removeSuccess239.23test_multipleips_per_nic.py
login_test_saml_userSuccess24.77test_login.py
test_assign_and_removal_lbSuccess149.27test_loadbalance.py
test_02_create_lb_rule_non_natSuccess207.65test_loadbalance.py
test_01_create_lb_rule_src_natSuccess208.22test_loadbalance.py
test_03_list_snapshotsSuccess0.10test_list_ids_parameter.py
test_02_list_templatesSuccess0.05test_list_ids_parameter.py
test_01_list_volumesSuccess0.03test_list_ids_parameter.py
test_07_list_default_isoSuccess0.06test_iso.py
test_05_iso_permissionsSuccess0.07test_iso.py
test_04_extract_IsoSuccess5.22test_iso.py
test_03_delete_isoSuccess95.24test_iso.py
test_02_edit_isoSuccess0.06test_iso.py
test_01_create_isoSuccess22.01test_iso.py
test_04_rvpc_internallb_haproxy_stats_on_all_interfacesSuccess617.08test_internal_lb.py
test_03_vpc_internallb_haproxy_stats_on_all_interfacesSuccess375.18test_internal_lb.py
test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80Success1042.16test_internal_lb.py
test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80Success723.98test_internal_lb.py
test_dedicateGuestVlanRangeSuccess10.50test_guest_vlan_range.py
test_UpdateConfigParamWithScopeSuccess0.20test_global_settings.py
test_rolepermission_lifecycle_updateSuccess7.31test_dynamicroles.py
test_rolepermission_lifecycle_listSuccess7.01test_dynamicroles.py
test_rolepermission_lifecycle_deleteSuccess6.79test_dynamicroles.py
test_rolepermission_lifecycle_createSuccess6.85test_dynamicroles.py
test_rolepermission_lifecycle_concurrent_updatesSuccess7.02test_dynamicroles.py
test_role_lifecycle_update_role_inuseSuccess6.86test_dynamicroles.py
test_role_lifecycle_updateSuccess12.03test_dynamicroles.py
test_role_lifecycle_listSuccess6.86test_dynamicroles.py
test_role_lifecycle_deleteSuccess12.00test_dynamicroles.py
test_role_lifecycle_createSuccess6.89test_dynamicroles.py
test_role_inuse_deletionSuccess6.84test_dynamicroles.py
test_role_account_acls_multiple_mgmt_serversSuccess9.46test_dynamicroles.py
test_role_account_aclsSuccess9.94test_dynamicroles.py
test_default_role_deletionSuccess6.94test_dynamicroles.py
test_04_create_fat_type_disk_offeringSuccess0.08test_disk_offerings.py
test_03_delete_disk_offeringSuccess0.06test_disk_offerings.py
test_02_edit_disk_offeringSuccess0.08test_disk_offerings.py
test_02_create_sparse_type_disk_offeringSuccess0.08test_disk_offerings.py
test_01_create_disk_offeringSuccess0.17test_disk_offerings.py
test_deployvm_userdispersingSuccess41.02test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userconcentratedSuccess146.79test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_firstfitSuccess233.38test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userdata_postSuccess25.58test_deploy_vm_with_userdata.py
test_deployvm_userdataSuccess116.45test_deploy_vm_with_userdata.py
test_02_deploy_vm_root_resizeSuccess6.88test_deploy_vm_root_resize.py
test_01_deploy_vm_root_resizeSuccess6.92test_deploy_vm_root_resize.py
test_00_deploy_vm_root_resizeSuccess6.97test_deploy_vm_root_resize.py
test_deploy_vm_from_isoSuccess173.62test_deploy_vm_iso.py
test_DeployVmAntiAffinityGroupSuccess212.28test_affinity_groups.py
test_01_test_vm_volume_snapshotSkipped0.00test_vm_snapshots.py
test_06_copy_templateSkipped0.00test_templates.py
test_static_role_account_aclsSkipped0.02test_staticroles.py
test_06_copy_isoSkipped0.00test_iso.py
test_deploy_vgpu_enabled_vmSkipped0.04test_deploy_vgpu_enabled_vm.py
test_3d_gpu_supportSkipped0.04test_deploy_vgpu_enabled_vm.py

@syed

syed commented Oct 26, 2016

Copy link
Copy Markdown
ContributorAuthor

@rhtyd @PaulAngus I will verify the failed tests (except VPC and private gateway) and update this. It would be nice if we can get this into 4.10

@jburwell

Copy link
Copy Markdown
Contributor

@syed given that XenServer 6.5 doesn't run on newer hardware, XenServer users don't have a realistic LTS release. Therefore, I propose that this PR be targeted to the 4.9 branch and forward merged to master. Therefore, this feature would released in 4.9.2.0 and 4.11.0.0.

@syed

syed commented Oct 26, 2016

Copy link
Copy Markdown
ContributorAuthor

@jburwell Got it. I want to stabilize the tests and once everything looks green here. I will open a PR against 4.9

@jburwell

Copy link
Copy Markdown
Contributor

@syed +1 -- I would like to see a full component test run for this PR on XS 7 and smoke tests for XS 6.5. Also, we might want to consider a PR for 4.9 and then another PR for master like we did for the smoke test fixes. This approach allows us to re-run all tests on the forward merge.

I will perform a code review tonight or tomorrow. Have you reviewed all the Marvin component tests that check XS versions to ensure we won't incorrectly skip any for XS 7?

@rhtyd @PaulAngus do we have XS 7 support for Blue Orangutan?

@syed

syed commented Oct 27, 2016

Copy link
Copy Markdown
ContributorAuthor

@jburwell I have reviewed all the smoke tests and I have not found at any place we skipping because of a version mismatch so we are good there. I still have to figure out why some of the tests are failing especially the ones related to snapshots

@ArmedGuy

Copy link
Copy Markdown

@PaulAngus --config is not persistent, but helpfully overrides metadata_read_only = 1 which is set in /etc/lvm/lvm.conf on XS7. But I second that --config global{metadata_read_only=0} is needed to create primary storage. (Tested with FC PreSetup type).

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-676)
Environment: xenserver-65sp1 (x2), Advanced Networking with Mgmt server 7
Total time taken: 33149 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1711-t676-xenserver-65sp1.zip
Test completed. 43 look ok, 5 have error(s)

TestResultTime (s)Test File
test_05_rvpc_multi_tiersFailure524.58test_vpc_redundant.py
test_04_rvpc_network_garbage_collector_nicsFailure1340.49test_vpc_redundant.py
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACLFailure562.24test_vpc_redundant.py
test_04_rvpc_privategw_static_routesFailure798.12test_privategw_acl.py
ContextSuite context=TestTemplates>:setupError374.94test_templates.py
test_01_primary_storage_iscsiError38.18test_primary_storage.py
ContextSuite context=TestListIdsParams>:setupError0.00test_list_ids_parameter.py
test_01_vpc_site2site_vpnSuccess295.92test_vpc_vpn.py
test_01_vpc_remote_access_vpnSuccess151.58test_vpc_vpn.py
test_01_redundant_vpc_site2site_vpnSuccess583.33test_vpc_vpn.py
test_02_VPC_default_routesSuccess314.56test_vpc_router_nics.py
test_01_VPC_nics_after_destroySuccess663.03test_vpc_router_nics.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routersSuccess874.69test_vpc_redundant.py
test_02_redundant_VPC_default_routesSuccess1037.07test_vpc_redundant.py
test_09_delete_detached_volumeSuccess20.67test_volumes.py
test_08_resize_volumeSuccess110.97test_volumes.py
test_07_resize_failSuccess111.39test_volumes.py
test_06_download_detached_volumeSuccess25.34test_volumes.py
test_05_detach_volumeSuccess100.26test_volumes.py
test_04_delete_attached_volumeSuccess10.38test_volumes.py
test_03_download_attached_volumeSuccess15.25test_volumes.py
test_02_attach_volumeSuccess15.68test_volumes.py
test_01_create_volumeSuccess392.36test_volumes.py
test_03_delete_vm_snapshotsSuccess280.25test_vm_snapshots.py
test_02_revert_vm_snapshotsSuccess219.35test_vm_snapshots.py
test_01_create_vm_snapshotsSuccess100.73test_vm_snapshots.py
test_deploy_vm_multipleSuccess277.81test_vm_life_cycle.py
test_deploy_vmSuccess0.03test_vm_life_cycle.py
test_advZoneVirtualRouterSuccess0.02test_vm_life_cycle.py
test_10_attachAndDetach_isoSuccess36.72test_vm_life_cycle.py
test_09_expunge_vmSuccess185.26test_vm_life_cycle.py
test_08_migrate_vmSuccess66.06test_vm_life_cycle.py
test_07_restore_vmSuccess0.10test_vm_life_cycle.py
test_06_destroy_vmSuccess10.15test_vm_life_cycle.py
test_03_reboot_vmSuccess20.21test_vm_life_cycle.py
test_02_start_vmSuccess25.25test_vm_life_cycle.py
test_01_stop_vmSuccess30.26test_vm_life_cycle.py
test_CreateTemplateWithDuplicateNameSuccess110.90test_templates.py
test_01_create_templateSuccess65.58test_templates.py
test_10_destroy_cpvmSuccess226.70test_ssvm.py
test_09_destroy_ssvmSuccess259.00test_ssvm.py
test_08_reboot_cpvmSuccess146.62test_ssvm.py
test_07_reboot_ssvmSuccess148.78test_ssvm.py
test_06_stop_cpvmSuccess136.66test_ssvm.py
test_05_stop_ssvmSuccess168.89test_ssvm.py
test_04_cpvm_internalsSuccess1.15test_ssvm.py
test_03_ssvm_internalsSuccess3.42test_ssvm.py
test_02_list_cpvm_vmSuccess0.12test_ssvm.py
test_01_list_sec_storage_vmSuccess0.13test_ssvm.py
test_01_snapshot_root_diskSuccess21.31test_snapshots.py
test_04_change_offering_smallSuccess129.23test_service_offerings.py
test_03_delete_service_offeringSuccess0.04test_service_offerings.py
test_02_edit_service_offeringSuccess0.06test_service_offerings.py
test_01_create_service_offeringSuccess0.14test_service_offerings.py
test_02_sys_template_readySuccess0.12test_secondary_storage.py
test_01_sys_vm_startSuccess0.18test_secondary_storage.py
test_01_scale_vmSuccess5.22test_scale_vm.py
test_09_reboot_routerSuccess65.47test_routers.py
test_08_start_routerSuccess45.36test_routers.py
test_07_stop_routerSuccess15.24test_routers.py
test_06_router_advancedSuccess0.06test_routers.py
test_05_router_basicSuccess0.04test_routers.py
test_04_restart_network_wo_cleanupSuccess5.52test_routers.py
test_03_restart_network_cleanupSuccess115.85test_routers.py
test_02_router_internal_advSuccess0.78test_routers.py
test_01_router_internal_basicSuccess0.42test_routers.py
test_router_dns_guestipquerySuccess48.72test_router_dns.py
test_router_dns_externalipquerySuccess0.06test_router_dns.py
test_router_dhcphostsSuccess102.46test_router_dhcphosts.py
test_router_dhcp_optsSuccess31.39test_router_dhcphosts.py
test_01_updatevolumedetailSuccess0.08test_resource_detail.py
test_01_reset_vm_on_rebootSuccess110.78test_reset_vm_on_reboot.py
test_createRegionSuccess0.04test_regions.py
test_create_pvlan_networkSuccess5.27test_pvlan.py
test_dedicatePublicIpRangeSuccess0.44test_public_ip_range.py
test_03_vpc_privategw_restart_vpc_cleanupSuccess908.27test_privategw_acl.py
test_02_vpc_privategw_static_routesSuccess601.64test_privategw_acl.py
test_01_vpc_privategw_aclSuccess142.67test_privategw_acl.py
test_01_primary_storage_nfsSuccess38.83test_primary_storage.py
test_createPortablePublicIPRangeSuccess15.19test_portable_publicip.py
test_createPortablePublicIPAcquireSuccess15.40test_portable_publicip.py
test_isolate_network_password_serverSuccess36.00test_password_server.py
test_UpdateStorageOverProvisioningFactorSuccess0.12test_over_provisioning.py
test_oobm_zchange_passwordSuccess25.75test_outofbandmanagement.py
test_oobm_multiple_mgmt_server_ownershipSuccess16.33test_outofbandmanagement.py
test_oobm_issue_power_statusSuccess10.35test_outofbandmanagement.py
test_oobm_issue_power_softSuccess15.34test_outofbandmanagement.py
test_oobm_issue_power_resetSuccess15.32test_outofbandmanagement.py
test_oobm_issue_power_onSuccess15.40test_outofbandmanagement.py
test_oobm_issue_power_offSuccess15.37test_outofbandmanagement.py
test_oobm_issue_power_cycleSuccess15.30test_outofbandmanagement.py
test_oobm_enabledisable_across_clusterzonesSuccess87.65test_outofbandmanagement.py
test_oobm_enable_feature_validSuccess5.15test_outofbandmanagement.py
test_oobm_enable_feature_invalidSuccess0.09test_outofbandmanagement.py
test_oobm_disable_feature_validSuccess5.18test_outofbandmanagement.py
test_oobm_disable_feature_invalidSuccess0.10test_outofbandmanagement.py
test_oobm_configure_invalid_driverSuccess0.11test_outofbandmanagement.py
test_oobm_configure_default_driverSuccess0.07test_outofbandmanagement.py
test_oobm_background_powerstate_syncSuccess23.44test_outofbandmanagement.py
test_extendPhysicalNetworkVlanSuccess15.31test_non_contigiousvlan.py
test_01_nicSuccess671.04test_nic.py
test_releaseIPSuccess308.31test_network.py
test_reboot_routerSuccess544.31test_network.py
test_public_ip_user_accountSuccess10.36test_network.py
test_public_ip_admin_accountSuccess40.30test_network.py
test_network_rules_acquired_public_ip_3_Load_Balancer_RuleSuccess86.61test_network.py
test_network_rules_acquired_public_ip_2_nat_ruleSuccess76.52test_network.py
test_network_rules_acquired_public_ip_1_static_nat_ruleSuccess103.05test_network.py
test_delete_accountSuccess343.27test_network.py
test_02_port_fwd_on_non_src_natSuccess70.75test_network.py
test_01_port_fwd_on_src_natSuccess83.77test_network.py
test_nic_secondaryip_add_removeSuccess217.83test_multipleips_per_nic.py
login_test_saml_userSuccess19.21test_login.py
test_assign_and_removal_lbSuccess148.60test_loadbalance.py
test_02_create_lb_rule_non_natSuccess207.41test_loadbalance.py
test_01_create_lb_rule_src_natSuccess207.93test_loadbalance.py
test_07_list_default_isoSuccess0.06test_iso.py
test_05_iso_permissionsSuccess0.07test_iso.py
test_04_extract_IsoSuccess5.11test_iso.py
test_03_delete_isoSuccess95.16test_iso.py
test_02_edit_isoSuccess0.06test_iso.py
test_01_create_isoSuccess21.05test_iso.py
test_04_rvpc_internallb_haproxy_stats_on_all_interfacesSuccess495.15test_internal_lb.py
test_03_vpc_internallb_haproxy_stats_on_all_interfacesSuccess354.76test_internal_lb.py
test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80Success1004.35test_internal_lb.py
test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80Success686.86test_internal_lb.py
test_dedicateGuestVlanRangeSuccess10.31test_guest_vlan_range.py
test_UpdateConfigParamWithScopeSuccess0.14test_global_settings.py
test_rolepermission_lifecycle_updateSuccess6.24test_dynamicroles.py
test_rolepermission_lifecycle_listSuccess5.98test_dynamicroles.py
test_rolepermission_lifecycle_deleteSuccess5.87test_dynamicroles.py
test_rolepermission_lifecycle_createSuccess5.95test_dynamicroles.py
test_rolepermission_lifecycle_concurrent_updatesSuccess6.02test_dynamicroles.py
test_role_lifecycle_update_role_inuseSuccess6.03test_dynamicroles.py
test_role_lifecycle_updateSuccess11.03test_dynamicroles.py
test_role_lifecycle_listSuccess5.92test_dynamicroles.py
test_role_lifecycle_deleteSuccess10.98test_dynamicroles.py
test_role_lifecycle_createSuccess5.90test_dynamicroles.py
test_role_inuse_deletionSuccess5.88test_dynamicroles.py
test_role_account_acls_multiple_mgmt_serversSuccess8.19test_dynamicroles.py
test_role_account_aclsSuccess8.40test_dynamicroles.py
test_default_role_deletionSuccess6.03test_dynamicroles.py
test_04_create_fat_type_disk_offeringSuccess0.07test_disk_offerings.py
test_03_delete_disk_offeringSuccess0.04test_disk_offerings.py
test_02_edit_disk_offeringSuccess0.05test_disk_offerings.py
test_02_create_sparse_type_disk_offeringSuccess0.07test_disk_offerings.py
test_01_create_disk_offeringSuccess0.08test_disk_offerings.py
test_deployvm_userdispersingSuccess45.98test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userconcentratedSuccess96.05test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_firstfitSuccess186.45test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userdata_postSuccess86.03test_deploy_vm_with_userdata.py
test_deployvm_userdataSuccess277.34test_deploy_vm_with_userdata.py
test_02_deploy_vm_root_resizeSuccess5.88test_deploy_vm_root_resize.py
test_01_deploy_vm_root_resizeSuccess5.86test_deploy_vm_root_resize.py
test_00_deploy_vm_root_resizeSuccess6.00test_deploy_vm_root_resize.py
test_deploy_vm_from_isoSuccess167.32test_deploy_vm_iso.py
test_DeployVmAntiAffinityGroupSuccess136.41test_affinity_groups.py
test_01_test_vm_volume_snapshotSkipped0.00test_vm_snapshots.py
test_static_role_account_aclsSkipped0.02test_staticroles.py
test_06_copy_isoSkipped0.00test_iso.py
test_deploy_vgpu_enabled_vmSkipped0.01test_deploy_vgpu_enabled_vm.py

@yadvr

Copy link
Copy Markdown
Member

@PaulAngus@karuturi@koushik-das@syed are we good on this PR, the changes look good to me and should not cause regressions. We can fire one round of testing.

@syed

syed commented Dec 19, 2016

Copy link
Copy Markdown
ContributorAuthor

I think we're good on this. We can run another round of testing.

@koushik-das

Copy link
Copy Markdown
Contributor

Code changes are good. In the last test run I am seeing test_01_primary_storage_iscsi is failing. Do we know the reason for that?

@yadvr

Copy link
Copy Markdown
Member

@koushik-das we can ignore that, Trillian's env does not support iscsi mount point for xenserver (from my last memories).
@syed I looked at the changes and last week's result, they look good to me. Failing tests are already failing on base branches, so this has not introduced new errors. I'll kick one final round now.
@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan

Copy link
Copy Markdown

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-404

@yadvr

Copy link
Copy Markdown
Member

@blueorangutan test centos7 xenserver-65sp1

@blueorangutan

Copy link
Copy Markdown

@rhtyd a Trillian-Jenkins test job (centos7 mgmt + xenserver-65sp1) has been kicked to run smoke tests

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-694)
Environment: xenserver-65sp1 (x2), Advanced Networking with Mgmt server 7
Total time taken: 35068 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1711-t694-xenserver-65sp1.zip
Test completed. 41 look ok, 7 have error(s)

TestResultTime (s)Test File
test_05_rvpc_multi_tiersFailure565.22test_vpc_redundant.py
test_04_rvpc_network_garbage_collector_nicsFailure1372.16test_vpc_redundant.py
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACLFailure572.47test_vpc_redundant.py
test_04_rvpc_privategw_static_routesFailure717.84test_privategw_acl.py
ContextSuite context=TestRVPCSite2SiteVpn>:setupError0.00test_vpc_vpn.py
ContextSuite context=TestVPCRedundancy>:teardownError877.95test_vpc_redundant.py
test_06_download_detached_volumeError20.41test_volumes.py
ContextSuite context=TestTemplates>:setupError364.60test_templates.py
test_01_primary_storage_iscsiError38.48test_primary_storage.py
ContextSuite context=TestListIdsParams>:setupError0.00test_list_ids_parameter.py
test_01_vpc_site2site_vpnSuccess366.86test_vpc_vpn.py
test_01_vpc_remote_access_vpnSuccess156.64test_vpc_vpn.py
test_02_VPC_default_routesSuccess370.50test_vpc_router_nics.py
test_01_VPC_nics_after_destroySuccess686.64test_vpc_router_nics.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routersSuccess924.77test_vpc_redundant.py
test_02_redundant_VPC_default_routesSuccess1072.26test_vpc_redundant.py
test_09_delete_detached_volumeSuccess15.65test_volumes.py
test_08_resize_volumeSuccess116.33test_volumes.py
test_07_resize_failSuccess116.10test_volumes.py
test_05_detach_volumeSuccess100.28test_volumes.py
test_04_delete_attached_volumeSuccess15.23test_volumes.py
test_03_download_attached_volumeSuccess20.31test_volumes.py
test_02_attach_volumeSuccess15.81test_volumes.py
test_01_create_volumeSuccess393.00test_volumes.py
test_03_delete_vm_snapshotsSuccess280.21test_vm_snapshots.py
test_02_revert_vm_snapshotsSuccess216.46test_vm_snapshots.py
test_01_create_vm_snapshotsSuccess130.78test_vm_snapshots.py
test_deploy_vm_multipleSuccess257.75test_vm_life_cycle.py
test_deploy_vmSuccess0.03test_vm_life_cycle.py
test_advZoneVirtualRouterSuccess0.02test_vm_life_cycle.py
test_10_attachAndDetach_isoSuccess26.69test_vm_life_cycle.py
test_09_expunge_vmSuccess125.24test_vm_life_cycle.py
test_08_migrate_vmSuccess66.05test_vm_life_cycle.py
test_07_restore_vmSuccess0.10test_vm_life_cycle.py
test_06_destroy_vmSuccess10.15test_vm_life_cycle.py
test_03_reboot_vmSuccess10.16test_vm_life_cycle.py
test_02_start_vmSuccess20.22test_vm_life_cycle.py
test_01_stop_vmSuccess25.26test_vm_life_cycle.py
test_CreateTemplateWithDuplicateNameSuccess151.05test_templates.py
test_01_create_templateSuccess65.59test_templates.py
test_10_destroy_cpvmSuccess226.70test_ssvm.py
test_09_destroy_ssvmSuccess199.05test_ssvm.py
test_08_reboot_cpvmSuccess151.62test_ssvm.py
test_07_reboot_ssvmSuccess144.01test_ssvm.py
test_06_stop_cpvmSuccess167.09test_ssvm.py
test_05_stop_ssvmSuccess138.92test_ssvm.py
test_04_cpvm_internalsSuccess1.11test_ssvm.py
test_03_ssvm_internalsSuccess3.58test_ssvm.py
test_02_list_cpvm_vmSuccess0.12test_ssvm.py
test_01_list_sec_storage_vmSuccess0.13test_ssvm.py
test_01_snapshot_root_diskSuccess26.53test_snapshots.py
test_04_change_offering_smallSuccess116.02test_service_offerings.py
test_03_delete_service_offeringSuccess0.04test_service_offerings.py
test_02_edit_service_offeringSuccess0.06test_service_offerings.py
test_01_create_service_offeringSuccess0.08test_service_offerings.py
test_02_sys_template_readySuccess0.13test_secondary_storage.py
test_01_sys_vm_startSuccess0.18test_secondary_storage.py
test_01_scale_vmSuccess5.18test_scale_vm.py
test_09_reboot_routerSuccess60.44test_routers.py
test_08_start_routerSuccess55.42test_routers.py
test_07_stop_routerSuccess15.26test_routers.py
test_06_router_advancedSuccess0.06test_routers.py
test_05_router_basicSuccess0.04test_routers.py
test_04_restart_network_wo_cleanupSuccess5.51test_routers.py
test_03_restart_network_cleanupSuccess115.94test_routers.py
test_02_router_internal_advSuccess0.79test_routers.py
test_01_router_internal_basicSuccess0.46test_routers.py
test_router_dns_guestipquerySuccess48.73test_router_dns.py
test_router_dns_externalipquerySuccess0.07test_router_dns.py
test_router_dhcphostsSuccess102.95test_router_dhcphosts.py
test_router_dhcp_optsSuccess31.41test_router_dhcphosts.py
test_01_updatevolumedetailSuccess0.09test_resource_detail.py
test_01_reset_vm_on_rebootSuccess105.79test_reset_vm_on_reboot.py
test_createRegionSuccess0.04test_regions.py
test_create_pvlan_networkSuccess5.20test_pvlan.py
test_dedicatePublicIpRangeSuccess0.43test_public_ip_range.py
test_03_vpc_privategw_restart_vpc_cleanupSuccess821.78test_privategw_acl.py
test_02_vpc_privategw_static_routesSuccess652.36test_privategw_acl.py
test_01_vpc_privategw_aclSuccess157.65test_privategw_acl.py
test_01_primary_storage_nfsSuccess39.00test_primary_storage.py
test_createPortablePublicIPRangeSuccess15.18test_portable_publicip.py
test_createPortablePublicIPAcquireSuccess15.40test_portable_publicip.py
test_isolate_network_password_serverSuccess35.98test_password_server.py
test_UpdateStorageOverProvisioningFactorSuccess0.12test_over_provisioning.py
test_oobm_zchange_passwordSuccess30.88test_outofbandmanagement.py
test_oobm_multiple_mgmt_server_ownershipSuccess16.36test_outofbandmanagement.py
test_oobm_issue_power_statusSuccess10.31test_outofbandmanagement.py
test_oobm_issue_power_softSuccess15.30test_outofbandmanagement.py
test_oobm_issue_power_resetSuccess15.37test_outofbandmanagement.py
test_oobm_issue_power_onSuccess15.33test_outofbandmanagement.py
test_oobm_issue_power_offSuccess15.30test_outofbandmanagement.py
test_oobm_issue_power_cycleSuccess15.30test_outofbandmanagement.py
test_oobm_enabledisable_across_clusterzonesSuccess87.59test_outofbandmanagement.py
test_oobm_enable_feature_validSuccess5.16test_outofbandmanagement.py
test_oobm_enable_feature_invalidSuccess0.12test_outofbandmanagement.py
test_oobm_disable_feature_validSuccess5.17test_outofbandmanagement.py
test_oobm_disable_feature_invalidSuccess0.10test_outofbandmanagement.py
test_oobm_configure_invalid_driverSuccess0.07test_outofbandmanagement.py
test_oobm_configure_default_driverSuccess0.07test_outofbandmanagement.py
test_oobm_background_powerstate_syncSuccess23.42test_outofbandmanagement.py
test_extendPhysicalNetworkVlanSuccess15.31test_non_contigiousvlan.py
test_01_nicSuccess645.58test_nic.py
test_releaseIPSuccess283.21test_network.py
test_reboot_routerSuccess569.48test_network.py
test_public_ip_user_accountSuccess10.37test_network.py
test_public_ip_admin_accountSuccess40.31test_network.py
test_network_rules_acquired_public_ip_3_Load_Balancer_RuleSuccess87.19test_network.py
test_network_rules_acquired_public_ip_2_nat_ruleSuccess76.53test_network.py
test_network_rules_acquired_public_ip_1_static_nat_ruleSuccess102.97test_network.py
test_delete_accountSuccess288.10test_network.py
test_02_port_fwd_on_non_src_natSuccess70.76test_network.py
test_01_port_fwd_on_src_natSuccess81.77test_network.py
test_nic_secondaryip_add_removeSuccess217.62test_multipleips_per_nic.py
login_test_saml_userSuccess19.29test_login.py
test_assign_and_removal_lbSuccess149.04test_loadbalance.py
test_02_create_lb_rule_non_natSuccess207.62test_loadbalance.py
test_01_create_lb_rule_src_natSuccess213.23test_loadbalance.py
test_07_list_default_isoSuccess0.06test_iso.py
test_05_iso_permissionsSuccess0.06test_iso.py
test_04_extract_IsoSuccess5.12test_iso.py
test_03_delete_isoSuccess95.20test_iso.py
test_02_edit_isoSuccess0.06test_iso.py
test_01_create_isoSuccess21.05test_iso.py
test_04_rvpc_internallb_haproxy_stats_on_all_interfacesSuccess505.33test_internal_lb.py
test_03_vpc_internallb_haproxy_stats_on_all_interfacesSuccess360.23test_internal_lb.py
test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80Success979.51test_internal_lb.py
test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80Success641.94test_internal_lb.py
test_dedicateGuestVlanRangeSuccess10.31test_guest_vlan_range.py
test_UpdateConfigParamWithScopeSuccess0.14test_global_settings.py
test_rolepermission_lifecycle_updateSuccess6.17test_dynamicroles.py
test_rolepermission_lifecycle_listSuccess5.97test_dynamicroles.py
test_rolepermission_lifecycle_deleteSuccess5.86test_dynamicroles.py
test_rolepermission_lifecycle_createSuccess5.88test_dynamicroles.py
test_rolepermission_lifecycle_concurrent_updatesSuccess6.09test_dynamicroles.py
test_role_lifecycle_update_role_inuseSuccess5.93test_dynamicroles.py
test_role_lifecycle_updateSuccess11.01test_dynamicroles.py
test_role_lifecycle_listSuccess5.89test_dynamicroles.py
test_role_lifecycle_deleteSuccess10.93test_dynamicroles.py
test_role_lifecycle_createSuccess5.91test_dynamicroles.py
test_role_inuse_deletionSuccess5.87test_dynamicroles.py
test_role_account_acls_multiple_mgmt_serversSuccess8.14test_dynamicroles.py
test_role_account_aclsSuccess8.27test_dynamicroles.py
test_default_role_deletionSuccess5.98test_dynamicroles.py
test_04_create_fat_type_disk_offeringSuccess0.07test_disk_offerings.py
test_03_delete_disk_offeringSuccess0.04test_disk_offerings.py
test_02_edit_disk_offeringSuccess0.05test_disk_offerings.py
test_02_create_sparse_type_disk_offeringSuccess0.06test_disk_offerings.py
test_01_create_disk_offeringSuccess0.08test_disk_offerings.py
test_deployvm_userdispersingSuccess50.89test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userconcentratedSuccess101.07test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_firstfitSuccess181.59test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userdata_postSuccess20.46test_deploy_vm_with_userdata.py
test_deployvm_userdataSuccess176.46test_deploy_vm_with_userdata.py
test_02_deploy_vm_root_resizeSuccess5.84test_deploy_vm_root_resize.py
test_01_deploy_vm_root_resizeSuccess5.86test_deploy_vm_root_resize.py
test_00_deploy_vm_root_resizeSuccess6.11test_deploy_vm_root_resize.py
test_deploy_vm_from_isoSuccess182.30test_deploy_vm_iso.py
test_DeployVmAntiAffinityGroupSuccess201.78test_affinity_groups.py
test_01_test_vm_volume_snapshotSkipped0.00test_vm_snapshots.py
test_static_role_account_aclsSkipped0.03test_staticroles.py
test_06_copy_isoSkipped0.00test_iso.py
test_deploy_vgpu_enabled_vmSkipped0.01test_deploy_vgpu_enabled_vm.py

@yadvr

Copy link
Copy Markdown
Member

LGTM on test. Some of the failing tests are known intermittent issues or fixed in a separate PR. Merging this now.

@yadvr

Copy link
Copy Markdown
Member

@syed can you move the sql changes to a new path, setup/db/db/schema-4910to4920.sql and make appropriate db changes? Thanks. After this I'm willing to merge this PR.

@syed

syed commented Dec 21, 2016

Copy link
Copy Markdown
ContributorAuthor

@rhtyd moved the DB changes to schema-4910to4920.sql and rebased.

@yadvr

Copy link
Copy Markdown
Member

@syed can you commit the file as well, apart from putting the changes in the new DB schema you'll also have to create a DB upgrade path. If you add the file, I can help with rest of the db upgrade path work.

@syed

syed commented Dec 22, 2016

Copy link
Copy Markdown
ContributorAuthor

@rhtyd the file is there ... somehow doesn't show in the diff you have to manually load it

@yadvr

Copy link
Copy Markdown
Member

@syed yes I see them now. I'll first merge #1851 to get the db upgrade paths and then apply your PR and include your sql changes.

@yadvr

Copy link
Copy Markdown
Member

Checked tests, the failure was due to missing licence in sql file. I've fixed that and a conflict as upgrade paths were missing, simply adding a sql file does not add it to the upgrade path. I'll proceed with merging this now based on manual tests and test results from previous runs.

@asfgit
asfgit merged commit eabf862 into apache:4.9Dec 22, 2016
asfgit pushed a commit that referenced this pull request Dec 22, 2016
schema: Upgrade path from 4.9.1.0 to 4.9.2.0Upgrade paths added so PRs such as #1711 can use it.
* pr/1851:
schema: Upgrade path from 4.9.1.0 to 4.9.2.0
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
asfgit pushed a commit that referenced this pull request Dec 22, 2016
XenServer 7 SupportThis PR adds support for XenServer 7. I have manually done the following tests
- Create a new cluster with XenServer7
- Add Primary storage: Should create an SR on XS7
- Add another XS7 host to the Pool
- Add host2 to Cloudstack
- Create VM1 from template
- Create VM2 from template
- Ping/SSH VM1 to VM2 and vice-versa
- Stop/Delete/Expunge VM2
- Create Data disk
- Attach it to VM1
- Create VM snaphsot of VM1
- Restore VM snapshot of VM1
- Delete VM snapshot of VM1
- Create Volume snapshot of Datadisk
- Create volume snapshot of Root disk
- Create new template from snapshot of root disk
- Create volume from snapshot of datadisk
- Detach datadisk volume
- Delete datadisk volume
- Aquire a public IP
- Create a static nat to VM1
- Live migrate VM1 while traffic on VM
- Delete VM1
* pr/1711:
[CLOUDSTACK-9662] Add support for XenServer 7
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
@ciroiriarte

Copy link
Copy Markdown

Hi!, is this already included in 4.9.2.0?, I'm installing a new XS7 lab and would like to integrate it with Cloudstack.

@serg38

Copy link
Copy Markdown

Yes it is in 4.9.2.

@ciroiriarte

Copy link
Copy Markdown

Are these messages expected?

2017-01-29 00:02:24,476 WARN [c.c.a.d.ParamGenericValidationWorker] (catalina-exec-10:ctx-6776e3dd ctx-a85fb6b1) (logid:a578d2b0) Received unknown parameters for command addHost. Unknown parameters : clustertype
2017-01-29 00:02:24,478 INFO [c.c.r.ResourceManagerImpl] (catalina-exec-10:ctx-6776e3dd ctx-a85fb6b1) (logid:a578d2b0) Trying to add a new host at http://brick04 in data center 1
2017-01-29 00:02:24,527 DEBUG [c.c.h.x.d.XcpServerDiscoverer] (catalina-exec-10:ctx-6776e3dd ctx-a85fb6b1) (logid:a578d2b0) host X.X.X.X doesn't have 996dd2e7-ad95-49cc-a0be-2c9adc4dfb0b Hotfix
2017-01-29 00:02:24,533 DEBUG [c.c.h.x.d.XcpServerDiscoverer] (catalina-exec-10:ctx-6776e3dd ctx-a85fb6b1) (logid:a578d2b0) host X.X.X.X doesn't have 0850b186-4d47-11e3-a720-001b2151a503 Hotfix
2017-01-29 00:02:24,540 WARN [c.c.h.x.d.XcpServerDiscoverer] (catalina-exec-10:ctx-6776e3dd ctx-a85fb6b1) (logid:a578d2b0) defaulting to xenserver650 resource for product brand: XenServer with product version: 7.0.0
2017-01-29 00:02:24,540 INFO [c.c.h.x.d.XcpServerDiscoverer] (catalina-exec-10:ctx-6776e3dd ctx-a85fb6b1) (logid:a578d2b0) Found host brick04 ip=X.X.X.X product version=7.0.0

@ciroiriarte

Copy link
Copy Markdown

Also, is there any roadmap to add OVS support?, it's the current standard on XS7 and seems I'll have to go back to Linux bridge if I want to move to Cloudstack.

I'm moving away of a setup where I couldn't send tagged vlan to a guest with regular bridges but OVS did the trick.

@PaulAngus

Copy link
Copy Markdown
Member

@ciroiriarte CloudStack orchestrates XenServers through XAPI - so how VLANs are created is transparent to CloudStack. Are you using Basic or Advanced networks ? Advanced networks are the generally the way to go isolate networks through VLANs.

@ciroiriarte

Copy link
Copy Markdown

Well, I chose Security Groups on the Advanced network configuration options, that makes the bridge firewall configuration fail when you try to add hosts.

Unchecked that while adding the XS7 host, it didn't blow up this time.

@syed

syed commented Jan 29, 2017

Copy link
Copy Markdown
ContributorAuthor

@ciroiriarte As @PaulAngus pointed out, you need to use VLANs as the isolation method if you want to use OVS on XenServer

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

13 participants

@syed@yadvr@blueorangutan@PaulAngus@koushik-das@jburwell@ArmedGuy@karuturi@asfbot@ciroiriarte@serg38@pdion891@asfgit