Skip to content

CLOUDSTACK-9710: Switch to JRE1.8 - #1888

Merged
asfgit merged 1 commit into
apache:masterfrom
shapeblue:jre8-only
Jan 12, 2017
Merged

asfgit merged 1 commit into
apache:masterfrom
shapeblue:jre8-only

Conversation

@yadvr

@yadvr yadvr commented Jan 4, 2017 •

Copy link
Copy Markdown
Member
  • Switches Travis to use jdk1.8
  • Changes java-version to 1.8
  • Change jdk/maven version to 1.8
  • Switch to F5/java8 compatible library release
  • Switch packaging to use jdk 1.8, and jre 1.8 in init/systemd scripts
  • Switch systemvm to openjdk-8-jre

By default, openjdk-8 packages are not available on Debian 7 (wheezy); installing the pkg from jessie/testing causes several package regressions so I've used an openjdk free/opensource repository maintained by Azul, please review their terms of use: http://www.azul.com/products/zulu/zulu-terms-of-use
They are similar to what openjdk, or any other package on Debian would provide.

@yadvr

yadvr commented Jan 4, 2017

Copy link
Copy Markdown
Member Author

@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-448

@yadvr
yadvr force-pushed the jre8-only branch 2 times, most recently from a36e5ce to 95016c6 Compare January 4, 2017 18:42
@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-769)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 36934 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1888-t769-kvm-centos7.zip
Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermitten failure detected: /marvin/tests/smoke/test_routers_network_ops.py
Intermitten failure detected: /marvin/tests/smoke/test_volumes.py
Test completed. 47 look ok, 2 have error(s)

Test Result Time (s) Test File
test_04_rvpc_privategw_static_routes Failure 386.09 test_privategw_acl.py
test_01_create_volume Error 280.13 test_volumes.py
test_01_vpc_site2site_vpn Success 155.66 test_vpc_vpn.py
test_01_vpc_remote_access_vpn Success 56.12 test_vpc_vpn.py
test_01_redundant_vpc_site2site_vpn Success 235.50 test_vpc_vpn.py
test_02_VPC_default_routes Success 473.30 test_vpc_router_nics.py
test_01_VPC_nics_after_destroy Success 801.66 test_vpc_router_nics.py
test_05_rvpc_multi_tiers Success 517.02 test_vpc_redundant.py
test_04_rvpc_network_garbage_collector_nics Success 1405.62 test_vpc_redundant.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers Success 548.75 test_vpc_redundant.py
test_02_redundant_VPC_default_routes Success 764.47 test_vpc_redundant.py
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL Success 1284.16 test_vpc_redundant.py
test_09_delete_detached_volume Success 156.59 test_volumes.py
test_08_resize_volume Success 151.43 test_volumes.py
test_07_resize_fail Success 161.64 test_volumes.py
test_06_download_detached_volume Success 156.29 test_volumes.py
test_05_detach_volume Success 236.20 test_volumes.py
test_04_delete_attached_volume Success 151.57 test_volumes.py
test_03_download_attached_volume Success 156.35 test_volumes.py
test_02_attach_volume Success 184.64 test_volumes.py
test_deploy_vm_multiple Success 363.94 test_vm_life_cycle.py
test_deploy_vm Success 0.03 test_vm_life_cycle.py
test_advZoneVirtualRouter Success 0.02 test_vm_life_cycle.py
test_10_attachAndDetach_iso Success 26.80 test_vm_life_cycle.py
test_09_expunge_vm Success 125.21 test_vm_life_cycle.py
test_08_migrate_vm Success 41.00 test_vm_life_cycle.py
test_07_restore_vm Success 0.17 test_vm_life_cycle.py
test_06_destroy_vm Success 125.84 test_vm_life_cycle.py
test_03_reboot_vm Success 125.86 test_vm_life_cycle.py
test_02_start_vm Success 10.18 test_vm_life_cycle.py
test_01_stop_vm Success 125.82 test_vm_life_cycle.py
test_CreateTemplateWithDuplicateName Success 70.69 test_templates.py
test_08_list_system_templates Success 0.03 test_templates.py
test_07_list_public_templates Success 0.04 test_templates.py
test_05_template_permissions Success 0.06 test_templates.py
test_04_extract_template Success 5.23 test_templates.py
test_03_delete_template Success 5.11 test_templates.py
test_02_edit_template Success 90.14 test_templates.py
test_01_create_template Success 40.55 test_templates.py
test_10_destroy_cpvm Success 161.44 test_ssvm.py
test_09_destroy_ssvm Success 163.76 test_ssvm.py
test_08_reboot_cpvm Success 101.25 test_ssvm.py
test_07_reboot_ssvm Success 103.15 test_ssvm.py
test_06_stop_cpvm Success 131.50 test_ssvm.py
test_05_stop_ssvm Success 133.24 test_ssvm.py
test_04_cpvm_internals Success 1.00 test_ssvm.py
test_03_ssvm_internals Success 3.40 test_ssvm.py
test_02_list_cpvm_vm Success 0.13 test_ssvm.py
test_01_list_sec_storage_vm Success 0.13 test_ssvm.py
test_01_snapshot_root_disk Success 16.25 test_snapshots.py
test_04_change_offering_small Success 210.13 test_service_offerings.py
test_03_delete_service_offering Success 0.04 test_service_offerings.py
test_02_edit_service_offering Success 0.09 test_service_offerings.py
test_01_create_service_offering Success 0.12 test_service_offerings.py
test_02_sys_template_ready Success 0.13 test_secondary_storage.py
test_01_sys_vm_start Success 0.18 test_secondary_storage.py
test_09_reboot_router Success 35.33 test_routers.py
test_08_start_router Success 35.37 test_routers.py
test_07_stop_router Success 10.17 test_routers.py
test_06_router_advanced Success 0.06 test_routers.py
test_05_router_basic Success 0.04 test_routers.py
test_04_restart_network_wo_cleanup Success 5.64 test_routers.py
test_03_restart_network_cleanup Success 55.51 test_routers.py
test_02_router_internal_adv Success 1.11 test_routers.py
test_01_router_internal_basic Success 0.58 test_routers.py
test_router_dns_guestipquery Success 76.76 test_router_dns.py
test_router_dns_externalipquery Success 0.07 test_router_dns.py
test_router_dhcphosts Success 363.81 test_router_dhcphosts.py
test_router_dhcp_opts Success 21.69 test_router_dhcphosts.py
test_01_updatevolumedetail Success 0.08 test_resource_detail.py
test_01_reset_vm_on_reboot Success 130.98 test_reset_vm_on_reboot.py
test_createRegion Success 0.03 test_regions.py
test_create_pvlan_network Success 5.28 test_pvlan.py
test_dedicatePublicIpRange Success 0.43 test_public_ip_range.py
test_03_vpc_privategw_restart_vpc_cleanup Success 716.83 test_privategw_acl.py
test_02_vpc_privategw_static_routes Success 557.15 test_privategw_acl.py
test_01_vpc_privategw_acl Success 87.20 test_privategw_acl.py
test_01_primary_storage_nfs Success 36.02 test_primary_storage.py
test_createPortablePublicIPRange Success 15.19 test_portable_publicip.py
test_createPortablePublicIPAcquire Success 15.48 test_portable_publicip.py
test_isolate_network_password_server Success 89.54 test_password_server.py
test_UpdateStorageOverProvisioningFactor Success 0.13 test_over_provisioning.py
test_oobm_zchange_password Success 30.75 test_outofbandmanagement.py
test_oobm_multiple_mgmt_server_ownership Success 16.36 test_outofbandmanagement.py
test_oobm_issue_power_status Success 10.25 test_outofbandmanagement.py
test_oobm_issue_power_soft Success 15.33 test_outofbandmanagement.py
test_oobm_issue_power_reset Success 15.36 test_outofbandmanagement.py
test_oobm_issue_power_on Success 15.33 test_outofbandmanagement.py
test_oobm_issue_power_off Success 15.35 test_outofbandmanagement.py
test_oobm_issue_power_cycle Success 15.32 test_outofbandmanagement.py
test_oobm_enabledisable_across_clusterzones Success 92.77 test_outofbandmanagement.py
test_oobm_enable_feature_valid Success 5.17 test_outofbandmanagement.py
test_oobm_enable_feature_invalid Success 0.09 test_outofbandmanagement.py
test_oobm_disable_feature_valid Success 5.19 test_outofbandmanagement.py
test_oobm_disable_feature_invalid Success 0.10 test_outofbandmanagement.py
test_oobm_configure_invalid_driver Success 0.16 test_outofbandmanagement.py
test_oobm_configure_default_driver Success 0.08 test_outofbandmanagement.py
test_oobm_background_powerstate_sync Success 23.41 test_outofbandmanagement.py
test_extendPhysicalNetworkVlan Success 15.32 test_non_contigiousvlan.py
test_01_nic Success 540.60 test_nic.py
test_releaseIP Success 268.04 test_network.py
test_reboot_router Success 524.45 test_network.py
test_public_ip_user_account Success 10.49 test_network.py
test_public_ip_admin_account Success 40.35 test_network.py
test_network_rules_acquired_public_ip_3_Load_Balancer_Rule Success 66.94 test_network.py
test_network_rules_acquired_public_ip_2_nat_rule Success 61.62 test_network.py
test_network_rules_acquired_public_ip_1_static_nat_rule Success 122.03 test_network.py
test_delete_account Success 262.80 test_network.py
test_02_port_fwd_on_non_src_nat Success 55.67 test_network.py
test_01_port_fwd_on_src_nat Success 111.84 test_network.py
test_nic_secondaryip_add_remove Success 197.67 test_multipleips_per_nic.py
login_test_saml_user Success 19.27 test_login.py
test_assign_and_removal_lb Success 133.12 test_loadbalance.py
test_02_create_lb_rule_non_nat Success 187.26 test_loadbalance.py
test_01_create_lb_rule_src_nat Success 207.48 test_loadbalance.py
test_03_list_snapshots Success 0.06 test_list_ids_parameter.py
test_02_list_templates Success 0.04 test_list_ids_parameter.py
test_01_list_volumes Success 0.03 test_list_ids_parameter.py
test_07_list_default_iso Success 0.06 test_iso.py
test_05_iso_permissions Success 0.07 test_iso.py
test_04_extract_Iso Success 5.19 test_iso.py
test_03_delete_iso Success 95.24 test_iso.py
test_02_edit_iso Success 0.07 test_iso.py
test_01_create_iso Success 21.16 test_iso.py
test_04_rvpc_internallb_haproxy_stats_on_all_interfaces Success 208.65 test_internal_lb.py
test_03_vpc_internallb_haproxy_stats_on_all_interfaces Success 147.85 test_internal_lb.py
test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80 Success 500.60 test_internal_lb.py
test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80 Success 444.62 test_internal_lb.py
test_dedicateGuestVlanRange Success 10.29 test_guest_vlan_range.py
test_UpdateConfigParamWithScope Success 0.13 test_global_settings.py
test_rolepermission_lifecycle_update Success 6.21 test_dynamicroles.py
test_rolepermission_lifecycle_list Success 6.02 test_dynamicroles.py
test_rolepermission_lifecycle_delete Success 5.89 test_dynamicroles.py
test_rolepermission_lifecycle_create Success 5.95 test_dynamicroles.py
test_rolepermission_lifecycle_concurrent_updates Success 6.05 test_dynamicroles.py
test_role_lifecycle_update_role_inuse Success 5.93 test_dynamicroles.py
test_role_lifecycle_update Success 11.01 test_dynamicroles.py
test_role_lifecycle_list Success 5.93 test_dynamicroles.py
test_role_lifecycle_delete Success 10.98 test_dynamicroles.py
test_role_lifecycle_create Success 5.95 test_dynamicroles.py
test_role_inuse_deletion Success 5.89 test_dynamicroles.py
test_role_account_acls_multiple_mgmt_servers Success 8.29 test_dynamicroles.py
test_role_account_acls Success 8.46 test_dynamicroles.py
test_default_role_deletion Success 6.02 test_dynamicroles.py
test_04_create_fat_type_disk_offering Success 0.09 test_disk_offerings.py
test_03_delete_disk_offering Success 0.04 test_disk_offerings.py
test_02_edit_disk_offering Success 0.05 test_disk_offerings.py
test_02_create_sparse_type_disk_offering Success 0.07 test_disk_offerings.py
test_01_create_disk_offering Success 0.12 test_disk_offerings.py
test_deployvm_userdispersing Success 21.29 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userconcentrated Success 60.90 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_firstfit Success 55.67 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userdata_post Success 10.40 test_deploy_vm_with_userdata.py
test_deployvm_userdata Success 45.68 test_deploy_vm_with_userdata.py
test_02_deploy_vm_root_resize Success 6.05 test_deploy_vm_root_resize.py
test_01_deploy_vm_root_resize Success 6.03 test_deploy_vm_root_resize.py
test_00_deploy_vm_root_resize Success 227.75 test_deploy_vm_root_resize.py
test_deploy_vm_from_iso Success 237.72 test_deploy_vm_iso.py
test_DeployVmAntiAffinityGroup Success 116.31 test_affinity_groups.py
test_03_delete_vm_snapshots Skipped 0.00 test_vm_snapshots.py
test_02_revert_vm_snapshots Skipped 0.00 test_vm_snapshots.py
test_01_test_vm_volume_snapshot Skipped 0.00 test_vm_snapshots.py
test_01_create_vm_snapshots Skipped 0.00 test_vm_snapshots.py
test_06_copy_template Skipped 0.00 test_templates.py
test_static_role_account_acls Skipped 0.02 test_staticroles.py
test_11_ss_nfs_version_on_ssvm Skipped 0.02 test_ssvm.py
test_01_scale_vm Skipped 0.00 test_scale_vm.py
test_01_primary_storage_iscsi Skipped 0.04 test_primary_storage.py
test_nested_virtualization_vmware Skipped 0.00 test_nested_virtualization.py
test_06_copy_iso Skipped 0.00 test_iso.py
test_deploy_vgpu_enabled_vm Skipped 0.03 test_deploy_vgpu_enabled_vm.py
test_3d_gpu_support Skipped 0.04 test_deploy_vgpu_enabled_vm.py

@yadvr yadvr closed this Jan 5, 2017
@yadvr yadvr reopened this Jan 5, 2017
@yadvr

yadvr commented Jan 5, 2017

Copy link
Copy Markdown
Member Author

This one is open for review, pinging for review -- @swill @karuturi @abhinandanprateek @murali-reddy @PaulAngus @nvazquez @serg38 @milamberspace @wido @syed @mike-tutkowski and others

High level major changes:

  • Switches to openjdk 8 for building CloudStack.
  • Switches to openjdk-8-jre for running mgmt server, usage server, agents. Test results are based on CentOS6, CentOS7 against Xen, VMware and KVM.
  • A new systemvmtemplate with openjdk-8 (zulu-8 distribution of openjdk from Azul as Debian7 repos don't have openjdk-8-jre) needs to be used. A compatible 4.6.0 systemvmtemplate was built and tested, that only replaces openjdk-7 JRE with openjdk-8 JRE and was found to be compatible with ACS 4.6.0+. If StrongSwan PR is merged, we'll need to create and use a new systemvmtemplate with 4.10+.

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-771)
Environment: vmware-55u3 (x2), Advanced Networking with Mgmt server 7
Total time taken: 42458 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1888-t771-vmware-55u3.zip
Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermitten failure detected: /marvin/tests/smoke/test_routers_network_ops.py
Test completed. 48 look ok, 1 have error(s)

Test Result Time (s) Test File
test_04_rvpc_privategw_static_routes Failure 1096.51 test_privategw_acl.py
test_01_vpc_site2site_vpn Success 386.62 test_vpc_vpn.py
test_01_vpc_remote_access_vpn Success 197.13 test_vpc_vpn.py
test_01_redundant_vpc_site2site_vpn Success 608.46 test_vpc_vpn.py
test_02_VPC_default_routes Success 334.86 test_vpc_router_nics.py
test_01_VPC_nics_after_destroy Success 697.62 test_vpc_router_nics.py
test_05_rvpc_multi_tiers Success 647.43 test_vpc_redundant.py
test_04_rvpc_network_garbage_collector_nics Success 1519.85 test_vpc_redundant.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers Success 721.76 test_vpc_redundant.py
test_02_redundant_VPC_default_routes Success 700.38 test_vpc_redundant.py
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL Success 1444.23 test_vpc_redundant.py
test_09_delete_detached_volume Success 30.89 test_volumes.py
test_06_download_detached_volume Success 75.82 test_volumes.py
test_05_detach_volume Success 110.40 test_volumes.py
test_04_delete_attached_volume Success 10.23 test_volumes.py
test_03_download_attached_volume Success 20.38 test_volumes.py
test_02_attach_volume Success 59.27 test_volumes.py
test_01_create_volume Success 519.97 test_volumes.py
test_03_delete_vm_snapshots Success 280.31 test_vm_snapshots.py
test_02_revert_vm_snapshots Success 232.49 test_vm_snapshots.py
test_01_test_vm_volume_snapshot Success 237.22 test_vm_snapshots.py
test_01_create_vm_snapshots Success 161.95 test_vm_snapshots.py
test_deploy_vm_multiple Success 197.54 test_vm_life_cycle.py
test_deploy_vm Success 0.04 test_vm_life_cycle.py
test_advZoneVirtualRouter Success 0.03 test_vm_life_cycle.py
test_10_attachAndDetach_iso Success 26.90 test_vm_life_cycle.py
test_09_expunge_vm Success 125.48 test_vm_life_cycle.py
test_08_migrate_vm Success 106.64 test_vm_life_cycle.py
test_07_restore_vm Success 0.13 test_vm_life_cycle.py
test_06_destroy_vm Success 10.19 test_vm_life_cycle.py
test_03_reboot_vm Success 5.18 test_vm_life_cycle.py
test_02_start_vm Success 20.37 test_vm_life_cycle.py
test_01_stop_vm Success 10.19 test_vm_life_cycle.py
test_CreateTemplateWithDuplicateName Success 262.15 test_templates.py
test_08_list_system_templates Success 0.04 test_templates.py
test_07_list_public_templates Success 0.04 test_templates.py
test_05_template_permissions Success 0.07 test_templates.py
test_04_extract_template Success 15.26 test_templates.py
test_03_delete_template Success 5.12 test_templates.py
test_02_edit_template Success 90.11 test_templates.py
test_01_create_template Success 156.68 test_templates.py
test_10_destroy_cpvm Success 201.89 test_ssvm.py
test_09_destroy_ssvm Success 273.97 test_ssvm.py
test_08_reboot_cpvm Success 156.81 test_ssvm.py
test_07_reboot_ssvm Success 158.72 test_ssvm.py
test_06_stop_cpvm Success 172.17 test_ssvm.py
test_05_stop_ssvm Success 204.23 test_ssvm.py
test_04_cpvm_internals Success 1.23 test_ssvm.py
test_03_ssvm_internals Success 3.58 test_ssvm.py
test_02_list_cpvm_vm Success 0.16 test_ssvm.py
test_01_list_sec_storage_vm Success 0.17 test_ssvm.py
test_01_snapshot_root_disk Success 26.40 test_snapshots.py
test_04_change_offering_small Success 127.27 test_service_offerings.py
test_03_delete_service_offering Success 0.06 test_service_offerings.py
test_02_edit_service_offering Success 0.11 test_service_offerings.py
test_01_create_service_offering Success 0.13 test_service_offerings.py
test_02_sys_template_ready Success 0.16 test_secondary_storage.py
test_01_sys_vm_start Success 0.22 test_secondary_storage.py
test_09_reboot_router Success 130.99 test_routers.py
test_08_start_router Success 156.19 test_routers.py
test_07_stop_router Success 25.29 test_routers.py
test_06_router_advanced Success 0.07 test_routers.py
test_05_router_basic Success 0.05 test_routers.py
test_04_restart_network_wo_cleanup Success 5.77 test_routers.py
test_03_restart_network_cleanup Success 141.18 test_routers.py
test_02_router_internal_adv Success 1.14 test_routers.py
test_01_router_internal_basic Success 0.59 test_routers.py
test_router_dns_guestipquery Success 76.78 test_router_dns.py
test_router_dns_externalipquery Success 0.10 test_router_dns.py
test_router_dhcphosts Success 126.02 test_router_dhcphosts.py
test_router_dhcp_opts Success 21.92 test_router_dhcphosts.py
test_01_updatevolumedetail Success 0.09 test_resource_detail.py
test_01_reset_vm_on_reboot Success 80.78 test_reset_vm_on_reboot.py
test_createRegion Success 0.05 test_regions.py
test_create_pvlan_network Success 5.23 test_pvlan.py
test_dedicatePublicIpRange Success 0.46 test_public_ip_range.py
test_03_vpc_privategw_restart_vpc_cleanup Success 1185.11 test_privategw_acl.py
test_02_vpc_privategw_static_routes Success 738.27 test_privategw_acl.py
test_01_vpc_privategw_acl Success 253.79 test_privategw_acl.py
test_01_primary_storage_nfs Success 38.25 test_primary_storage.py
test_createPortablePublicIPRange Success 15.21 test_portable_publicip.py
test_createPortablePublicIPAcquire Success 15.47 test_portable_publicip.py
test_isolate_network_password_server Success 60.19 test_password_server.py
test_UpdateStorageOverProvisioningFactor Success 0.16 test_over_provisioning.py
test_oobm_zchange_password Success 30.84 test_outofbandmanagement.py
test_oobm_multiple_mgmt_server_ownership Success 16.41 test_outofbandmanagement.py
test_oobm_issue_power_status Success 10.28 test_outofbandmanagement.py
test_oobm_issue_power_soft Success 15.42 test_outofbandmanagement.py
test_oobm_issue_power_reset Success 15.47 test_outofbandmanagement.py
test_oobm_issue_power_on Success 10.39 test_outofbandmanagement.py
test_oobm_issue_power_off Success 15.37 test_outofbandmanagement.py
test_oobm_issue_power_cycle Success 15.40 test_outofbandmanagement.py
test_oobm_enabledisable_across_clusterzones Success 92.89 test_outofbandmanagement.py
test_oobm_enable_feature_valid Success 5.17 test_outofbandmanagement.py
test_oobm_enable_feature_invalid Success 0.10 test_outofbandmanagement.py
test_oobm_disable_feature_valid Success 5.20 test_outofbandmanagement.py
test_oobm_disable_feature_invalid Success 0.12 test_outofbandmanagement.py
test_oobm_configure_invalid_driver Success 0.09 test_outofbandmanagement.py
test_oobm_configure_default_driver Success 0.19 test_outofbandmanagement.py
test_oobm_background_powerstate_sync Success 29.50 test_outofbandmanagement.py
test_extendPhysicalNetworkVlan Success 15.59 test_non_contigiousvlan.py
test_01_nic Success 505.70 test_nic.py
test_releaseIP Success 268.60 test_network.py
test_reboot_router Success 676.32 test_network.py
test_public_ip_user_account Success 10.33 test_network.py
test_public_ip_admin_account Success 40.31 test_network.py
test_network_rules_acquired_public_ip_3_Load_Balancer_Rule Success 77.04 test_network.py
test_network_rules_acquired_public_ip_2_nat_rule Success 61.88 test_network.py
test_network_rules_acquired_public_ip_1_static_nat_rule Success 125.04 test_network.py
test_delete_account Success 318.44 test_network.py
test_02_port_fwd_on_non_src_nat Success 55.70 test_network.py
test_01_port_fwd_on_src_nat Success 111.88 test_network.py
test_nested_virtualization_vmware Success 384.41 test_nested_virtualization.py
test_nic_secondaryip_add_remove Success 207.89 test_multipleips_per_nic.py
login_test_saml_user Success 19.34 test_login.py
test_assign_and_removal_lb Success 149.11 test_loadbalance.py
test_02_create_lb_rule_non_nat Success 207.47 test_loadbalance.py
test_01_create_lb_rule_src_nat Success 208.09 test_loadbalance.py
test_03_list_snapshots Success 0.10 test_list_ids_parameter.py
test_02_list_templates Success 0.05 test_list_ids_parameter.py
test_01_list_volumes Success 0.04 test_list_ids_parameter.py
test_07_list_default_iso Success 0.08 test_iso.py
test_05_iso_permissions Success 0.07 test_iso.py
test_04_extract_Iso Success 5.26 test_iso.py
test_03_delete_iso Success 95.22 test_iso.py
test_02_edit_iso Success 0.09 test_iso.py
test_01_create_iso Success 21.10 test_iso.py
test_04_rvpc_internallb_haproxy_stats_on_all_interfaces Success 601.96 test_internal_lb.py
test_03_vpc_internallb_haproxy_stats_on_all_interfaces Success 470.61 test_internal_lb.py
test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80 Success 1059.93 test_internal_lb.py
test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80 Success 890.11 test_internal_lb.py
test_dedicateGuestVlanRange Success 10.34 test_guest_vlan_range.py
test_UpdateConfigParamWithScope Success 0.16 test_global_settings.py
test_rolepermission_lifecycle_update Success 6.27 test_dynamicroles.py
test_rolepermission_lifecycle_list Success 6.03 test_dynamicroles.py
test_rolepermission_lifecycle_delete Success 5.91 test_dynamicroles.py
test_rolepermission_lifecycle_create Success 5.93 test_dynamicroles.py
test_rolepermission_lifecycle_concurrent_updates Success 6.10 test_dynamicroles.py
test_role_lifecycle_update_role_inuse Success 5.96 test_dynamicroles.py
test_role_lifecycle_update Success 6.01 test_dynamicroles.py
test_role_lifecycle_list Success 5.99 test_dynamicroles.py
test_role_lifecycle_delete Success 10.99 test_dynamicroles.py
test_role_lifecycle_create Success 5.99 test_dynamicroles.py
test_role_inuse_deletion Success 5.92 test_dynamicroles.py
test_role_account_acls_multiple_mgmt_servers Success 8.49 test_dynamicroles.py
test_role_account_acls Success 9.04 test_dynamicroles.py
test_default_role_deletion Success 6.05 test_dynamicroles.py
test_04_create_fat_type_disk_offering Success 0.09 test_disk_offerings.py
test_03_delete_disk_offering Success 0.06 test_disk_offerings.py
test_02_edit_disk_offering Success 0.06 test_disk_offerings.py
test_02_create_sparse_type_disk_offering Success 0.09 test_disk_offerings.py
test_01_create_disk_offering Success 0.12 test_disk_offerings.py
test_deployvm_userdispersing Success 55.91 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userconcentrated Success 96.25 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_firstfit Success 171.52 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userdata_post Success 25.58 test_deploy_vm_with_userdata.py
test_deployvm_userdata Success 307.55 test_deploy_vm_with_userdata.py
test_02_deploy_vm_root_resize Success 5.88 test_deploy_vm_root_resize.py
test_01_deploy_vm_root_resize Success 5.91 test_deploy_vm_root_resize.py
test_00_deploy_vm_root_resize Success 6.07 test_deploy_vm_root_resize.py
test_deploy_vm_from_iso Success 232.90 test_deploy_vm_iso.py
test_3d_gpu_support Success 446.28 test_deploy_vgpu_enabled_vm.py
test_DeployVmAntiAffinityGroup Success 212.13 test_affinity_groups.py
test_08_resize_volume Skipped 10.16 test_volumes.py
test_07_resize_fail Skipped 15.37 test_volumes.py
test_06_copy_template Skipped 0.00 test_templates.py
test_static_role_account_acls Skipped 0.03 test_staticroles.py
test_11_ss_nfs_version_on_ssvm Skipped 0.03 test_ssvm.py
test_01_scale_vm Skipped 63.34 test_scale_vm.py
test_01_primary_storage_iscsi Skipped 0.04 test_primary_storage.py
test_06_copy_iso Skipped 0.00 test_iso.py
test_deploy_vgpu_enabled_vm Skipped 1.20 test_deploy_vgpu_enabled_vm.py

@abhinandanprateek

Copy link
Copy Markdown
Contributor

lgtm on code review @rhtyd

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-770)
Environment: xenserver-65sp1 (x2), Advanced Networking with Mgmt server 6
Total time taken: 45108 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1888-t770-xenserver-65sp1.zip
Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermitten failure detected: /marvin/tests/smoke/test_routers_network_ops.py
Intermitten failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Intermitten failure detected: /marvin/tests/smoke/test_vpc_vpn.py
Test completed. 47 look ok, 2 have error(s)

Test Result Time (s) Test File
test_05_rvpc_multi_tiers Failure 524.67 test_vpc_redundant.py
test_04_rvpc_network_garbage_collector_nics Failure 1346.28 test_vpc_redundant.py
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL Failure 580.45 test_vpc_redundant.py
test_04_rvpc_privategw_static_routes Failure 739.70 test_privategw_acl.py
test_01_vpc_site2site_vpn Success 301.98 test_vpc_vpn.py
test_01_vpc_remote_access_vpn Success 166.76 test_vpc_vpn.py
test_01_redundant_vpc_site2site_vpn Success 549.39 test_vpc_vpn.py
test_02_VPC_default_routes Success 400.91 test_vpc_router_nics.py
test_01_VPC_nics_after_destroy Success 689.38 test_vpc_router_nics.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers Success 870.51 test_vpc_redundant.py
test_02_redundant_VPC_default_routes Success 1093.42 test_vpc_redundant.py
test_09_delete_detached_volume Success 15.72 test_volumes.py
test_08_resize_volume Success 96.00 test_volumes.py
test_07_resize_fail Success 101.19 test_volumes.py
test_06_download_detached_volume Success 30.43 test_volumes.py
test_05_detach_volume Success 100.32 test_volumes.py
test_04_delete_attached_volume Success 10.23 test_volumes.py
test_03_download_attached_volume Success 15.33 test_volumes.py
test_02_attach_volume Success 10.75 test_volumes.py
test_01_create_volume Success 392.41 test_volumes.py
test_03_delete_vm_snapshots Success 280.27 test_vm_snapshots.py
test_02_revert_vm_snapshots Success 224.50 test_vm_snapshots.py
test_01_create_vm_snapshots Success 100.85 test_vm_snapshots.py
test_deploy_vm_multiple Success 313.33 test_vm_life_cycle.py
test_deploy_vm Success 0.03 test_vm_life_cycle.py
test_advZoneVirtualRouter Success 0.02 test_vm_life_cycle.py
test_10_attachAndDetach_iso Success 26.85 test_vm_life_cycle.py
test_09_expunge_vm Success 125.16 test_vm_life_cycle.py
test_08_migrate_vm Success 136.59 test_vm_life_cycle.py
test_07_restore_vm Success 0.09 test_vm_life_cycle.py
test_06_destroy_vm Success 5.12 test_vm_life_cycle.py
test_03_reboot_vm Success 10.18 test_vm_life_cycle.py
test_02_start_vm Success 20.25 test_vm_life_cycle.py
test_01_stop_vm Success 30.35 test_vm_life_cycle.py
test_CreateTemplateWithDuplicateName Success 131.12 test_templates.py
test_08_list_system_templates Success 0.03 test_templates.py
test_07_list_public_templates Success 0.04 test_templates.py
test_05_template_permissions Success 0.06 test_templates.py
test_04_extract_template Success 5.21 test_templates.py
test_03_delete_template Success 5.13 test_templates.py
test_02_edit_template Success 90.11 test_templates.py
test_01_create_template Success 80.73 test_templates.py
test_10_destroy_cpvm Success 226.98 test_ssvm.py
test_09_destroy_ssvm Success 203.97 test_ssvm.py
test_08_reboot_cpvm Success 141.54 test_ssvm.py
test_07_reboot_ssvm Success 154.11 test_ssvm.py
test_06_stop_cpvm Success 166.74 test_ssvm.py
test_05_stop_ssvm Success 174.41 test_ssvm.py
test_04_cpvm_internals Success 1.14 test_ssvm.py
test_03_ssvm_internals Success 3.55 test_ssvm.py
test_02_list_cpvm_vm Success 0.12 test_ssvm.py
test_01_list_sec_storage_vm Success 0.13 test_ssvm.py
test_01_snapshot_root_disk Success 21.67 test_snapshots.py
test_04_change_offering_small Success 129.16 test_service_offerings.py
test_03_delete_service_offering Success 0.04 test_service_offerings.py
test_02_edit_service_offering Success 0.18 test_service_offerings.py
test_01_create_service_offering Success 0.12 test_service_offerings.py
test_02_sys_template_ready Success 0.12 test_secondary_storage.py
test_01_sys_vm_start Success 0.18 test_secondary_storage.py
test_01_scale_vm Success 5.19 test_scale_vm.py
test_09_reboot_router Success 65.51 test_routers.py
test_08_start_router Success 55.63 test_routers.py
test_07_stop_router Success 15.22 test_routers.py
test_06_router_advanced Success 0.06 test_routers.py
test_05_router_basic Success 0.04 test_routers.py
test_04_restart_network_wo_cleanup Success 5.53 test_routers.py
test_03_restart_network_cleanup Success 116.29 test_routers.py
test_02_router_internal_adv Success 0.79 test_routers.py
test_01_router_internal_basic Success 0.47 test_routers.py
test_router_dns_guestipquery Success 49.11 test_router_dns.py
test_router_dns_externalipquery Success 0.08 test_router_dns.py
test_router_dhcphosts Success 102.87 test_router_dhcphosts.py
test_router_dhcp_opts Success 31.65 test_router_dhcphosts.py
test_01_updatevolumedetail Success 0.18 test_resource_detail.py
test_01_reset_vm_on_reboot Success 50.45 test_reset_vm_on_reboot.py
test_createRegion Success 0.04 test_regions.py
test_create_pvlan_network Success 5.24 test_pvlan.py
test_dedicatePublicIpRange Success 0.58 test_public_ip_range.py
test_03_vpc_privategw_restart_vpc_cleanup Success 1024.77 test_privategw_acl.py
test_02_vpc_privategw_static_routes Success 582.35 test_privategw_acl.py
test_01_vpc_privategw_acl Success 142.87 test_privategw_acl.py
test_01_primary_storage_nfs Success 39.34 test_primary_storage.py
test_01_primary_storage_iscsi Success 78.73 test_primary_storage.py
test_createPortablePublicIPRange Success 15.22 test_portable_publicip.py
test_createPortablePublicIPAcquire Success 15.45 test_portable_publicip.py
test_isolate_network_password_server Success 36.18 test_password_server.py
test_UpdateStorageOverProvisioningFactor Success 0.15 test_over_provisioning.py
test_oobm_zchange_password Success 31.32 test_outofbandmanagement.py
test_oobm_multiple_mgmt_server_ownership Success 16.36 test_outofbandmanagement.py
test_oobm_issue_power_status Success 10.33 test_outofbandmanagement.py
test_oobm_issue_power_soft Success 15.53 test_outofbandmanagement.py
test_oobm_issue_power_reset Success 15.60 test_outofbandmanagement.py
test_oobm_issue_power_on Success 15.45 test_outofbandmanagement.py
test_oobm_issue_power_off Success 15.51 test_outofbandmanagement.py
test_oobm_issue_power_cycle Success 15.42 test_outofbandmanagement.py
test_oobm_enabledisable_across_clusterzones Success 92.97 test_outofbandmanagement.py
test_oobm_enable_feature_valid Success 5.18 test_outofbandmanagement.py
test_oobm_enable_feature_invalid Success 0.11 test_outofbandmanagement.py
test_oobm_disable_feature_valid Success 5.22 test_outofbandmanagement.py
test_oobm_disable_feature_invalid Success 0.18 test_outofbandmanagement.py
test_oobm_configure_invalid_driver Success 0.07 test_outofbandmanagement.py
test_oobm_configure_default_driver Success 0.08 test_outofbandmanagement.py
test_oobm_background_powerstate_sync Success 23.41 test_outofbandmanagement.py
test_extendPhysicalNetworkVlan Success 15.33 test_non_contigiousvlan.py
test_01_nic Success 510.08 test_nic.py
test_releaseIP Success 298.54 test_network.py
test_reboot_router Success 645.54 test_network.py
test_public_ip_user_account Success 10.29 test_network.py
test_public_ip_admin_account Success 40.35 test_network.py
test_network_rules_acquired_public_ip_3_Load_Balancer_Rule Success 86.92 test_network.py
test_network_rules_acquired_public_ip_2_nat_rule Success 76.64 test_network.py
test_network_rules_acquired_public_ip_1_static_nat_rule Success 103.27 test_network.py
test_delete_account Success 364.23 test_network.py
test_02_port_fwd_on_non_src_nat Success 70.86 test_network.py
test_01_port_fwd_on_src_nat Success 83.87 test_network.py
test_nic_secondaryip_add_remove Success 192.73 test_multipleips_per_nic.py
login_test_saml_user Success 19.47 test_login.py
test_assign_and_removal_lb Success 149.32 test_loadbalance.py
test_02_create_lb_rule_non_nat Success 207.53 test_loadbalance.py
test_01_create_lb_rule_src_nat Success 208.14 test_loadbalance.py
test_03_list_snapshots Success 0.06 test_list_ids_parameter.py
test_02_list_templates Success 0.04 test_list_ids_parameter.py
test_01_list_volumes Success 0.03 test_list_ids_parameter.py
test_07_list_default_iso Success 0.07 test_iso.py
test_05_iso_permissions Success 0.07 test_iso.py
test_04_extract_Iso Success 5.13 test_iso.py
test_03_delete_iso Success 95.32 test_iso.py
test_02_edit_iso Success 0.06 test_iso.py
test_01_create_iso Success 21.02 test_iso.py
test_04_rvpc_internallb_haproxy_stats_on_all_interfaces Success 510.49 test_internal_lb.py
test_03_vpc_internallb_haproxy_stats_on_all_interfaces Success 330.10 test_internal_lb.py
test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80 Success 1122.10 test_internal_lb.py
test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80 Success 668.23 test_internal_lb.py
test_dedicateGuestVlanRange Success 10.32 test_guest_vlan_range.py
test_UpdateConfigParamWithScope Success 0.16 test_global_settings.py
test_rolepermission_lifecycle_update Success 6.45 test_dynamicroles.py
test_rolepermission_lifecycle_list Success 6.07 test_dynamicroles.py
test_rolepermission_lifecycle_delete Success 5.93 test_dynamicroles.py
test_rolepermission_lifecycle_create Success 6.18 test_dynamicroles.py
test_rolepermission_lifecycle_concurrent_updates Success 6.10 test_dynamicroles.py
test_role_lifecycle_update_role_inuse Success 5.96 test_dynamicroles.py
test_role_lifecycle_update Success 11.09 test_dynamicroles.py
test_role_lifecycle_list Success 5.95 test_dynamicroles.py
test_role_lifecycle_delete Success 11.04 test_dynamicroles.py
test_role_lifecycle_create Success 6.03 test_dynamicroles.py
test_role_inuse_deletion Success 5.93 test_dynamicroles.py
test_role_account_acls_multiple_mgmt_servers Success 8.67 test_dynamicroles.py
test_role_account_acls Success 8.61 test_dynamicroles.py
test_default_role_deletion Success 6.11 test_dynamicroles.py
test_04_create_fat_type_disk_offering Success 0.09 test_disk_offerings.py
test_03_delete_disk_offering Success 0.05 test_disk_offerings.py
test_02_edit_disk_offering Success 0.06 test_disk_offerings.py
test_02_create_sparse_type_disk_offering Success 0.08 test_disk_offerings.py
test_01_create_disk_offering Success 0.10 test_disk_offerings.py
test_deployvm_userdispersing Success 50.85 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userconcentrated Success 111.24 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_firstfit Success 181.60 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userdata_post Success 20.51 test_deploy_vm_with_userdata.py
test_deployvm_userdata Success 121.25 test_deploy_vm_with_userdata.py
test_02_deploy_vm_root_resize Success 5.90 test_deploy_vm_root_resize.py
test_01_deploy_vm_root_resize Success 5.87 test_deploy_vm_root_resize.py
test_00_deploy_vm_root_resize Success 6.11 test_deploy_vm_root_resize.py
test_deploy_vm_from_iso Success 182.51 test_deploy_vm_iso.py
test_DeployVmAntiAffinityGroup Success 161.65 test_affinity_groups.py
test_01_test_vm_volume_snapshot Skipped 0.00 test_vm_snapshots.py
test_06_copy_template Skipped 0.00 test_templates.py
test_static_role_account_acls Skipped 0.02 test_staticroles.py
test_11_ss_nfs_version_on_ssvm Skipped 0.02 test_ssvm.py
test_nested_virtualization_vmware Skipped 0.00 test_nested_virtualization.py
test_06_copy_iso Skipped 0.00 test_iso.py
test_deploy_vgpu_enabled_vm Skipped 0.03 test_deploy_vgpu_enabled_vm.py
test_3d_gpu_support Skipped 0.03 test_deploy_vgpu_enabled_vm.py

@karuturi

karuturi commented Jan 5, 2017

Copy link
Copy Markdown
Member

code LGTM.

@yadvr

yadvr commented Jan 5, 2017

Copy link
Copy Markdown
Member Author

All, for transparency this comment has the build log of the new systemvmtemplate attached:
systemvm-buildlog.txt

The systemvmtemplates for 4.10 (Debian7 based with openjdk-8/zulu-8): http://packages.shapeblue.com/systemvmtemplate/custom/4.10-jre8

Notes for above systemvmtemplate:

  • Newer openssl/openssh-server updates, along with other security updates
  • OpenJDK-8 (zulu-8 distribution as wheezy don't have jre-8 packages yet)
  • Bigger /var/log partition
  • No major change wrt any other package such as apache2, openswan etc.

@wido

wido commented Jan 5, 2017 •

Copy link
Copy Markdown
Contributor

Overall the changes look good to me. But can you explain why for example you changed the dhcp package name? It doesn't seem related to Java 8.

All in favor of this switch, just checking why it's in there.

In addition we should probably switch to a new Debian version anyway for the SSVM.

@yadvr

yadvr commented Jan 5, 2017 •

Copy link
Copy Markdown
Member Author

Thanks @wido I'll revert that line, though the dhcp-3 is a virtual package that actually install isc-dhcp-client, see https://packages.debian.org/wheezy/dhcp3-client

@wido

wido commented Jan 5, 2017

Copy link
Copy Markdown
Contributor

@rhtyd Understood, no problem, just trying to keep the changes in this PR clean. All changes should be Java 8 related.

@yadvr

yadvr commented Jan 5, 2017

Copy link
Copy Markdown
Member Author

Thanks @wido I've reverted and updated the PR now, you can refresh to see the updated changes.

@wido

wido commented Jan 5, 2017

Copy link
Copy Markdown
Contributor

Looks good now @rhtyd

LGTM for the code

@mike-tutkowski

Copy link
Copy Markdown
Member

I walked through the diffs and they LGTM. I did not actually run the code, however, because I'm in the middle of another CloudStack project and I don't have the resources available at the time being.

Comment thread packaging/build-deb.sh
#
# Ubuntu 14.04
# docker run -ti -v /tmp:/src ubuntu:14.04 /bin/bash -c "apt-get update && apt-get install -y dpkg-dev python debhelper openjdk-7-jdk genisoimage python-mysql.connector maven lsb-release devscripts dh-systemd python-setuptools && /src/cloudstack/packaging/build-deb.sh"
# docker run -ti -v /tmp:/src ubuntu:14.04 /bin/bash -c "apt-get update && apt-get install -y dpkg-dev python debhelper openjdk-8-jdk genisoimage python-mysql.connector maven lsb-release devscripts dh-systemd python-setuptools && /src/cloudstack/packaging/build-deb.sh"

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.

@rhtyd openjdk-8-jdk doesn't exists on Ubuntu 14.04

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@milamberspace Ubuntu users have options to use the PPA: https://launchpad.net/~openjdk-r/+archive/ubuntu/ppa
Java7 has EOL-ed, Ubuntu users should use JRE8 now?


# The first existing directory is used for JAVA_HOME (if JAVA_HOME is not defined in $DEFAULT)
JDK_DIRS="/usr/lib/jvm/java-7-openjdk-amd64 /usr/lib/jvm/java-7-openjdk-i386 /usr/lib/jvm/java-7-oracle /usr/lib/jvm/java-6-openjdk /usr/lib/jvm/java-6-openjdk-i386 /usr/lib/jvm/java-6-openjdk-amd64 /usr/lib/jvm/java-6-sun"
JDK_DIRS="/usr/lib/jvm/java-8-openjdk-amd64 /usr/lib/jvm/java-8-openjdk-i386 /usr/lib/jvm/java-8-oracle"

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.

@rhtyd So Ubuntu 14.04 doesn't have openjdk-8, the .deb packages for Trusty don't works too with this JDK_DIRS

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Do you think adding the usage of PPA https://launchpad.net/~openjdk-r/+archive/ubuntu/ppa for openjdk-8 should be good enough for Ubuntu users?

@milamberspace

Copy link
Copy Markdown
Contributor

I've try to install this PR on a 2 sample topologies without success:

  • Ubuntu 14.04.5: needs some tweaks to create the .deb packages, and after installing them, the services don't start because openjdk8 don't exists
  • Ubuntu 16.04.1: building the .deb works (and the systemvm template), but cloudstack-management don't start because some symbolic links reference tomcat6 (not exists in 16.04) and the tomcat(cloudstack) config is incorrect (some classpath not found).

This is -1 for this PR with Ubuntu 14.04 and 16.04 (cloudstack debian packages). Trillian don't tests these distribs?

@yadvr

yadvr commented Jan 6, 2017 •

Copy link
Copy Markdown
Member Author

@milamberspace thanks, yes there is some issue with Ubuntu as mgmt server so Trillian tests don't run them (I'll try to get them fixed soon). Mgmt servers is not supported on ubuntu 16.04 yet; only as kvm hosts. Ubuntu users can use this ppa: https://launchpad.net/~openjdk-r/+archive/ubuntu/ppa which is widely used

@milamberspace

Copy link
Copy Markdown
Contributor

@rhtyd the PPA openjdk can be used probably (even if it's an unsupported packages without warranty), but we need to document this on installation manual (as a requirement to installation CS on Ubuntu 14.04...

Other question about Zulu on Debian 7: not supported too?

@yadvr

yadvr commented Jan 6, 2017 •

Copy link
Copy Markdown
Member Author

@milamberspace yes Debian7 official main and backport repos don't have openjdk8 yet, even the jessie main repos don't have openjdk8 pkg yet, only jessie-backports has it. For this reason, I used zulu-8... I think zulu-8 can even be used by Ubuntu users as well, they are certified openjdk8 builds from Azul, see http://www.azul.com/downloads/zulu, http://repos.azulsystems.com. Zulu ToS allows for redistribution and carries terms similar to opensource licenses such as no warranty etc.

The blockers for running mgmt server on Ubuntu16.04 are systemd and tomcat8/9 related support, if we can solve the issue or moving away from Tomcat to embedded-Jetty (like we've in developer mode) -- we can simplify packages for a lot of the distributions.

@milamberspace

Copy link
Copy Markdown
Contributor

Thanks for the docs update.

I've tested the PR with my test topology on Ubuntu 14.04 + Openjdk PPA. With the new systemvm (generated from the PR too)
Installation works, Simple deployment works (ssvm, cpvm, RV)

LGTM.

Note : the docker build command with Ubuntu 14.04 don't works if the Openjdk8/PPA is not installed before.

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-779)
Environment: vmware-55u3 (x2), Advanced Networking with Mgmt server 7
Total time taken: 42810 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1888-t779-vmware-55u3.zip
Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermitten failure detected: /marvin/tests/smoke/test_routers_network_ops.py
Intermitten failure detected: /marvin/tests/smoke/test_routers.py
Intermitten failure detected: /marvin/tests/smoke/test_ssvm.py
Test completed. 48 look ok, 1 have error(s)

Test Result Time (s) Test File
test_04_rvpc_privategw_static_routes Failure 212.50 test_privategw_acl.py
test_03_vpc_privategw_restart_vpc_cleanup Failure 349.56 test_privategw_acl.py
test_02_vpc_privategw_static_routes Failure 207.38 test_privategw_acl.py
test_03_vpc_privategw_restart_vpc_cleanup Error 359.82 test_privategw_acl.py
test_01_vpc_site2site_vpn Success 371.81 test_vpc_vpn.py
test_01_vpc_remote_access_vpn Success 171.87 test_vpc_vpn.py
test_01_redundant_vpc_site2site_vpn Success 588.01 test_vpc_vpn.py
test_02_VPC_default_routes Success 476.92 test_vpc_router_nics.py
test_01_VPC_nics_after_destroy Success 761.82 test_vpc_router_nics.py
test_05_rvpc_multi_tiers Success 673.22 test_vpc_redundant.py
test_04_rvpc_network_garbage_collector_nics Success 1559.94 test_vpc_redundant.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers Success 745.25 test_vpc_redundant.py
test_02_redundant_VPC_default_routes Success 675.58 test_vpc_redundant.py
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL Success 1380.72 test_vpc_redundant.py
test_09_delete_detached_volume Success 36.05 test_volumes.py
test_06_download_detached_volume Success 55.55 test_volumes.py
test_05_detach_volume Success 110.35 test_volumes.py
test_04_delete_attached_volume Success 20.26 test_volumes.py
test_03_download_attached_volume Success 20.70 test_volumes.py
test_02_attach_volume Success 58.75 test_volumes.py
test_01_create_volume Success 513.45 test_volumes.py
test_03_delete_vm_snapshots Success 275.25 test_vm_snapshots.py
test_02_revert_vm_snapshots Success 227.22 test_vm_snapshots.py
test_01_test_vm_volume_snapshot Success 176.48 test_vm_snapshots.py
test_01_create_vm_snapshots Success 161.66 test_vm_snapshots.py
test_deploy_vm_multiple Success 262.79 test_vm_life_cycle.py
test_deploy_vm Success 0.04 test_vm_life_cycle.py
test_advZoneVirtualRouter Success 0.03 test_vm_life_cycle.py
test_10_attachAndDetach_iso Success 26.82 test_vm_life_cycle.py
test_09_expunge_vm Success 185.26 test_vm_life_cycle.py
test_08_migrate_vm Success 81.19 test_vm_life_cycle.py
test_07_restore_vm Success 0.27 test_vm_life_cycle.py
test_06_destroy_vm Success 10.15 test_vm_life_cycle.py
test_03_reboot_vm Success 5.14 test_vm_life_cycle.py
test_02_start_vm Success 20.23 test_vm_life_cycle.py
test_01_stop_vm Success 10.15 test_vm_life_cycle.py
test_CreateTemplateWithDuplicateName Success 272.10 test_templates.py
test_08_list_system_templates Success 0.03 test_templates.py
test_07_list_public_templates Success 0.04 test_templates.py
test_05_template_permissions Success 0.06 test_templates.py
test_04_extract_template Success 15.24 test_templates.py
test_03_delete_template Success 5.13 test_templates.py
test_02_edit_template Success 90.17 test_templates.py
test_01_create_template Success 121.07 test_templates.py
test_10_destroy_cpvm Success 267.03 test_ssvm.py
test_09_destroy_ssvm Success 269.29 test_ssvm.py
test_08_reboot_cpvm Success 156.69 test_ssvm.py
test_07_reboot_ssvm Success 188.55 test_ssvm.py
test_06_stop_cpvm Success 176.85 test_ssvm.py
test_05_stop_ssvm Success 178.85 test_ssvm.py
test_04_cpvm_internals Success 1.13 test_ssvm.py
test_03_ssvm_internals Success 2.92 test_ssvm.py
test_02_list_cpvm_vm Success 0.14 test_ssvm.py
test_01_list_sec_storage_vm Success 0.14 test_ssvm.py
test_01_snapshot_root_disk Success 21.20 test_snapshots.py
test_04_change_offering_small Success 127.00 test_service_offerings.py
test_03_delete_service_offering Success 0.05 test_service_offerings.py
test_02_edit_service_offering Success 0.33 test_service_offerings.py
test_01_create_service_offering Success 0.11 test_service_offerings.py
test_02_sys_template_ready Success 0.15 test_secondary_storage.py
test_01_sys_vm_start Success 0.20 test_secondary_storage.py
test_09_reboot_router Success 176.35 test_routers.py
test_08_start_router Success 156.16 test_routers.py
test_07_stop_router Success 20.21 test_routers.py
test_06_router_advanced Success 0.06 test_routers.py
test_05_router_basic Success 0.04 test_routers.py
test_04_restart_network_wo_cleanup Success 5.67 test_routers.py
test_03_restart_network_cleanup Success 156.37 test_routers.py
test_02_router_internal_adv Success 1.08 test_routers.py
test_01_router_internal_basic Success 0.54 test_routers.py
test_router_dns_guestipquery Success 76.71 test_router_dns.py
test_router_dns_externalipquery Success 0.08 test_router_dns.py
test_router_dhcphosts Success 181.32 test_router_dhcphosts.py
test_router_dhcp_opts Success 21.75 test_router_dhcphosts.py
test_01_updatevolumedetail Success 0.09 test_resource_detail.py
test_01_reset_vm_on_reboot Success 85.95 test_reset_vm_on_reboot.py
test_createRegion Success 0.04 test_regions.py
test_create_pvlan_network Success 5.24 test_pvlan.py
test_dedicatePublicIpRange Success 0.50 test_public_ip_range.py
test_01_vpc_privategw_acl Success 188.58 test_privategw_acl.py
test_01_primary_storage_nfs Success 36.81 test_primary_storage.py
test_createPortablePublicIPRange Success 15.21 test_portable_publicip.py
test_createPortablePublicIPAcquire Success 15.48 test_portable_publicip.py
test_isolate_network_password_server Success 97.61 test_password_server.py
test_UpdateStorageOverProvisioningFactor Success 0.14 test_over_provisioning.py
test_oobm_zchange_password Success 25.72 test_outofbandmanagement.py
test_oobm_multiple_mgmt_server_ownership Success 16.40 test_outofbandmanagement.py
test_oobm_issue_power_status Success 10.31 test_outofbandmanagement.py
test_oobm_issue_power_soft Success 15.59 test_outofbandmanagement.py
test_oobm_issue_power_reset Success 15.82 test_outofbandmanagement.py
test_oobm_issue_power_on Success 15.33 test_outofbandmanagement.py
test_oobm_issue_power_off Success 15.35 test_outofbandmanagement.py
test_oobm_issue_power_cycle Success 15.36 test_outofbandmanagement.py
test_oobm_enabledisable_across_clusterzones Success 92.68 test_outofbandmanagement.py
test_oobm_enable_feature_valid Success 5.16 test_outofbandmanagement.py
test_oobm_enable_feature_invalid Success 0.09 test_outofbandmanagement.py
test_oobm_disable_feature_valid Success 5.21 test_outofbandmanagement.py
test_oobm_disable_feature_invalid Success 0.13 test_outofbandmanagement.py
test_oobm_configure_invalid_driver Success 0.12 test_outofbandmanagement.py
test_oobm_configure_default_driver Success 0.08 test_outofbandmanagement.py
test_oobm_background_powerstate_sync Success 23.43 test_outofbandmanagement.py
test_extendPhysicalNetworkVlan Success 15.32 test_non_contigiousvlan.py
test_01_nic Success 440.09 test_nic.py
test_releaseIP Success 323.73 test_network.py
test_reboot_router Success 665.52 test_network.py
test_public_ip_user_account Success 10.29 test_network.py
test_public_ip_admin_account Success 40.34 test_network.py
test_network_rules_acquired_public_ip_3_Load_Balancer_Rule Success 76.98 test_network.py
test_network_rules_acquired_public_ip_2_nat_rule Success 61.77 test_network.py
test_network_rules_acquired_public_ip_1_static_nat_rule Success 125.34 test_network.py
test_delete_account Success 318.25 test_network.py
test_02_port_fwd_on_non_src_nat Success 56.25 test_network.py
test_01_port_fwd_on_src_nat Success 111.78 test_network.py
test_nested_virtualization_vmware Success 424.32 test_nested_virtualization.py
test_nic_secondaryip_add_remove Success 278.22 test_multipleips_per_nic.py
login_test_saml_user Success 19.24 test_login.py
test_assign_and_removal_lb Success 148.49 test_loadbalance.py
test_02_create_lb_rule_non_nat Success 207.39 test_loadbalance.py
test_01_create_lb_rule_src_nat Success 209.24 test_loadbalance.py
test_03_list_snapshots Success 0.09 test_list_ids_parameter.py
test_02_list_templates Success 0.05 test_list_ids_parameter.py
test_01_list_volumes Success 0.03 test_list_ids_parameter.py
test_07_list_default_iso Success 0.06 test_iso.py
test_05_iso_permissions Success 0.06 test_iso.py
test_04_extract_Iso Success 5.16 test_iso.py
test_03_delete_iso Success 95.21 test_iso.py
test_02_edit_iso Success 0.06 test_iso.py
test_01_create_iso Success 21.07 test_iso.py
test_04_rvpc_internallb_haproxy_stats_on_all_interfaces Success 596.29 test_internal_lb.py
test_03_vpc_internallb_haproxy_stats_on_all_interfaces Success 395.34 test_internal_lb.py
test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80 Success 1065.18 test_internal_lb.py
test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80 Success 832.21 test_internal_lb.py
test_dedicateGuestVlanRange Success 10.29 test_guest_vlan_range.py
test_UpdateConfigParamWithScope Success 0.16 test_global_settings.py
test_rolepermission_lifecycle_update Success 6.20 test_dynamicroles.py
test_rolepermission_lifecycle_list Success 6.01 test_dynamicroles.py
test_rolepermission_lifecycle_delete Success 5.88 test_dynamicroles.py
test_rolepermission_lifecycle_create Success 5.90 test_dynamicroles.py
test_rolepermission_lifecycle_concurrent_updates Success 6.04 test_dynamicroles.py
test_role_lifecycle_update_role_inuse Success 5.90 test_dynamicroles.py
test_role_lifecycle_update Success 11.06 test_dynamicroles.py
test_role_lifecycle_list Success 6.00 test_dynamicroles.py
test_role_lifecycle_delete Success 11.03 test_dynamicroles.py
test_role_lifecycle_create Success 5.93 test_dynamicroles.py
test_role_inuse_deletion Success 5.89 test_dynamicroles.py
test_role_account_acls_multiple_mgmt_servers Success 8.19 test_dynamicroles.py
test_role_account_acls Success 8.44 test_dynamicroles.py
test_default_role_deletion Success 6.04 test_dynamicroles.py
test_04_create_fat_type_disk_offering Success 0.08 test_disk_offerings.py
test_03_delete_disk_offering Success 0.04 test_disk_offerings.py
test_02_edit_disk_offering Success 0.06 test_disk_offerings.py
test_02_create_sparse_type_disk_offering Success 0.09 test_disk_offerings.py
test_01_create_disk_offering Success 0.12 test_disk_offerings.py
test_deployvm_userdispersing Success 60.88 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userconcentrated Success 91.06 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_firstfit Success 237.27 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userdata_post Success 25.49 test_deploy_vm_with_userdata.py
test_deployvm_userdata Success 161.46 test_deploy_vm_with_userdata.py
test_02_deploy_vm_root_resize Success 5.85 test_deploy_vm_root_resize.py
test_01_deploy_vm_root_resize Success 5.87 test_deploy_vm_root_resize.py
test_00_deploy_vm_root_resize Success 6.05 test_deploy_vm_root_resize.py
test_deploy_vm_from_iso Success 233.06 test_deploy_vm_iso.py
test_3d_gpu_support Success 445.36 test_deploy_vgpu_enabled_vm.py
test_DeployVmAntiAffinityGroup Success 212.04 test_affinity_groups.py
test_08_resize_volume Skipped 5.11 test_volumes.py
test_07_resize_fail Skipped 10.29 test_volumes.py
test_06_copy_template Skipped 0.00 test_templates.py
test_static_role_account_acls Skipped 0.02 test_staticroles.py
test_11_ss_nfs_version_on_ssvm Skipped 0.02 test_ssvm.py
test_01_scale_vm Skipped 66.50 test_scale_vm.py
test_01_primary_storage_iscsi Skipped 0.04 test_primary_storage.py
test_06_copy_iso Skipped 0.00 test_iso.py
test_deploy_vgpu_enabled_vm Skipped 1.12 test_deploy_vgpu_enabled_vm.py

@yadvr

yadvr commented Jan 12, 2017

Copy link
Copy Markdown
Member Author

@blueorangutan test

@blueorangutan

Copy link
Copy Markdown

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

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-780)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 36526 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1888-t780-kvm-centos7.zip
Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermitten failure detected: /marvin/tests/smoke/test_routers_network_ops.py
Intermitten failure detected: /marvin/tests/smoke/test_volumes.py
Test completed. 47 look ok, 2 have error(s)

Test Result Time (s) Test File
test_04_rvpc_privategw_static_routes Failure 308.92 test_privategw_acl.py
test_01_create_volume Error 279.75 test_volumes.py
test_01_vpc_site2site_vpn Success 164.76 test_vpc_vpn.py
test_01_vpc_remote_access_vpn Success 80.92 test_vpc_vpn.py
test_01_redundant_vpc_site2site_vpn Success 239.55 test_vpc_vpn.py
test_02_VPC_default_routes Success 436.51 test_vpc_router_nics.py
test_01_VPC_nics_after_destroy Success 862.15 test_vpc_router_nics.py
test_05_rvpc_multi_tiers Success 511.06 test_vpc_redundant.py
test_04_rvpc_network_garbage_collector_nics Success 1406.25 test_vpc_redundant.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers Success 616.92 test_vpc_redundant.py
test_02_redundant_VPC_default_routes Success 737.57 test_vpc_redundant.py
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL Success 1320.38 test_vpc_redundant.py
test_09_delete_detached_volume Success 151.16 test_volumes.py
test_08_resize_volume Success 161.08 test_volumes.py
test_07_resize_fail Success 156.06 test_volumes.py
test_06_download_detached_volume Success 150.99 test_volumes.py
test_05_detach_volume Success 240.99 test_volumes.py
test_04_delete_attached_volume Success 145.85 test_volumes.py
test_03_download_attached_volume Success 155.99 test_volumes.py
test_02_attach_volume Success 179.78 test_volumes.py
test_deploy_vm_multiple Success 337.28 test_vm_life_cycle.py
test_deploy_vm Success 0.02 test_vm_life_cycle.py
test_advZoneVirtualRouter Success 0.02 test_vm_life_cycle.py
test_10_attachAndDetach_iso Success 26.48 test_vm_life_cycle.py
test_09_expunge_vm Success 125.19 test_vm_life_cycle.py
test_08_migrate_vm Success 35.62 test_vm_life_cycle.py
test_07_restore_vm Success 0.09 test_vm_life_cycle.py
test_06_destroy_vm Success 130.64 test_vm_life_cycle.py
test_03_reboot_vm Success 125.66 test_vm_life_cycle.py
test_02_start_vm Success 10.12 test_vm_life_cycle.py
test_01_stop_vm Success 125.65 test_vm_life_cycle.py
test_CreateTemplateWithDuplicateName Success 90.59 test_templates.py
test_08_list_system_templates Success 0.02 test_templates.py
test_07_list_public_templates Success 0.03 test_templates.py
test_05_template_permissions Success 0.04 test_templates.py
test_04_extract_template Success 5.10 test_templates.py
test_03_delete_template Success 5.08 test_templates.py
test_02_edit_template Success 90.10 test_templates.py
test_01_create_template Success 45.34 test_templates.py
test_10_destroy_cpvm Success 131.24 test_ssvm.py
test_09_destroy_ssvm Success 163.33 test_ssvm.py
test_08_reboot_cpvm Success 131.50 test_ssvm.py
test_07_reboot_ssvm Success 133.05 test_ssvm.py
test_06_stop_cpvm Success 131.62 test_ssvm.py
test_05_stop_ssvm Success 133.19 test_ssvm.py
test_04_cpvm_internals Success 1.18 test_ssvm.py
test_03_ssvm_internals Success 2.93 test_ssvm.py
test_02_list_cpvm_vm Success 0.09 test_ssvm.py
test_01_list_sec_storage_vm Success 0.09 test_ssvm.py
test_01_snapshot_root_disk Success 10.91 test_snapshots.py
test_04_change_offering_small Success 209.26 test_service_offerings.py
test_03_delete_service_offering Success 0.03 test_service_offerings.py
test_02_edit_service_offering Success 0.04 test_service_offerings.py
test_01_create_service_offering Success 0.07 test_service_offerings.py
test_02_sys_template_ready Success 0.09 test_secondary_storage.py
test_01_sys_vm_start Success 0.12 test_secondary_storage.py
test_09_reboot_router Success 35.23 test_routers.py
test_08_start_router Success 30.25 test_routers.py
test_07_stop_router Success 10.12 test_routers.py
test_06_router_advanced Success 0.04 test_routers.py
test_05_router_basic Success 0.03 test_routers.py
test_04_restart_network_wo_cleanup Success 5.70 test_routers.py
test_03_restart_network_cleanup Success 60.41 test_routers.py
test_02_router_internal_adv Success 1.04 test_routers.py
test_01_router_internal_basic Success 0.56 test_routers.py
test_router_dns_guestipquery Success 73.68 test_router_dns.py
test_router_dns_externalipquery Success 0.07 test_router_dns.py
test_router_dhcphosts Success 366.75 test_router_dhcphosts.py
test_router_dhcp_opts Success 21.26 test_router_dhcphosts.py
test_01_updatevolumedetail Success 0.07 test_resource_detail.py
test_01_reset_vm_on_reboot Success 131.06 test_reset_vm_on_reboot.py
test_createRegion Success 0.03 test_regions.py
test_create_pvlan_network Success 5.17 test_pvlan.py
test_dedicatePublicIpRange Success 0.29 test_public_ip_range.py
test_03_vpc_privategw_restart_vpc_cleanup Success 658.98 test_privategw_acl.py
test_02_vpc_privategw_static_routes Success 529.19 test_privategw_acl.py
test_01_vpc_privategw_acl Success 91.54 test_privategw_acl.py
test_01_primary_storage_nfs Success 35.80 test_primary_storage.py
test_createPortablePublicIPRange Success 15.14 test_portable_publicip.py
test_createPortablePublicIPAcquire Success 15.32 test_portable_publicip.py
test_isolate_network_password_server Success 59.48 test_password_server.py
test_UpdateStorageOverProvisioningFactor Success 0.09 test_over_provisioning.py
test_oobm_zchange_password Success 30.45 test_outofbandmanagement.py
test_oobm_multiple_mgmt_server_ownership Success 16.25 test_outofbandmanagement.py
test_oobm_issue_power_status Success 10.18 test_outofbandmanagement.py
test_oobm_issue_power_soft Success 15.23 test_outofbandmanagement.py
test_oobm_issue_power_reset Success 10.22 test_outofbandmanagement.py
test_oobm_issue_power_on Success 10.22 test_outofbandmanagement.py
test_oobm_issue_power_off Success 15.24 test_outofbandmanagement.py
test_oobm_issue_power_cycle Success 15.24 test_outofbandmanagement.py
test_oobm_enabledisable_across_clusterzones Success 92.19 test_outofbandmanagement.py
test_oobm_enable_feature_valid Success 5.11 test_outofbandmanagement.py
test_oobm_enable_feature_invalid Success 0.07 test_outofbandmanagement.py
test_oobm_disable_feature_valid Success 0.12 test_outofbandmanagement.py
test_oobm_disable_feature_invalid Success 0.07 test_outofbandmanagement.py
test_oobm_configure_invalid_driver Success 0.06 test_outofbandmanagement.py
test_oobm_configure_default_driver Success 0.06 test_outofbandmanagement.py
test_oobm_background_powerstate_sync Success 18.29 test_outofbandmanagement.py
test_extendPhysicalNetworkVlan Success 15.24 test_non_contigiousvlan.py
test_01_nic Success 573.72 test_nic.py
test_releaseIP Success 236.97 test_network.py
test_reboot_router Success 553.28 test_network.py
test_public_ip_user_account Success 10.18 test_network.py
test_public_ip_admin_account Success 40.21 test_network.py
test_network_rules_acquired_public_ip_3_Load_Balancer_Rule Success 66.70 test_network.py
test_network_rules_acquired_public_ip_2_nat_rule Success 61.58 test_network.py
test_network_rules_acquired_public_ip_1_static_nat_rule Success 120.93 test_network.py
test_delete_account Success 302.16 test_network.py
test_02_port_fwd_on_non_src_nat Success 55.46 test_network.py
test_01_port_fwd_on_src_nat Success 111.59 test_network.py
test_nic_secondaryip_add_remove Success 257.04 test_multipleips_per_nic.py
login_test_saml_user Success 17.79 test_login.py
test_assign_and_removal_lb Success 133.49 test_loadbalance.py
test_02_create_lb_rule_non_nat Success 187.06 test_loadbalance.py
test_01_create_lb_rule_src_nat Success 187.48 test_loadbalance.py
test_03_list_snapshots Success 0.04 test_list_ids_parameter.py
test_02_list_templates Success 0.03 test_list_ids_parameter.py
test_01_list_volumes Success 0.02 test_list_ids_parameter.py
test_07_list_default_iso Success 0.04 test_iso.py
test_05_iso_permissions Success 0.04 test_iso.py
test_04_extract_Iso Success 5.12 test_iso.py
test_03_delete_iso Success 95.17 test_iso.py
test_02_edit_iso Success 0.04 test_iso.py
test_01_create_iso Success 20.66 test_iso.py
test_04_rvpc_internallb_haproxy_stats_on_all_interfaces Success 197.54 test_internal_lb.py
test_03_vpc_internallb_haproxy_stats_on_all_interfaces Success 126.94 test_internal_lb.py
test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80 Success 507.51 test_internal_lb.py
test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80 Success 402.83 test_internal_lb.py
test_dedicateGuestVlanRange Success 10.19 test_guest_vlan_range.py
test_UpdateConfigParamWithScope Success 0.10 test_global_settings.py
test_rolepermission_lifecycle_update Success 5.83 test_dynamicroles.py
test_rolepermission_lifecycle_list Success 5.67 test_dynamicroles.py
test_rolepermission_lifecycle_delete Success 5.60 test_dynamicroles.py
test_rolepermission_lifecycle_create Success 5.60 test_dynamicroles.py
test_rolepermission_lifecycle_concurrent_updates Success 5.68 test_dynamicroles.py
test_role_lifecycle_update_role_inuse Success 5.61 test_dynamicroles.py
test_role_lifecycle_update Success 10.66 test_dynamicroles.py
test_role_lifecycle_list Success 5.60 test_dynamicroles.py
test_role_lifecycle_delete Success 10.63 test_dynamicroles.py
test_role_lifecycle_create Success 5.59 test_dynamicroles.py
test_role_inuse_deletion Success 5.59 test_dynamicroles.py
test_role_account_acls_multiple_mgmt_servers Success 7.27 test_dynamicroles.py
test_role_account_acls Success 7.05 test_dynamicroles.py
test_default_role_deletion Success 5.66 test_dynamicroles.py
test_04_create_fat_type_disk_offering Success 0.05 test_disk_offerings.py
test_03_delete_disk_offering Success 0.03 test_disk_offerings.py
test_02_edit_disk_offering Success 0.04 test_disk_offerings.py
test_02_create_sparse_type_disk_offering Success 0.05 test_disk_offerings.py
test_01_create_disk_offering Success 0.08 test_disk_offerings.py
test_deployvm_userdispersing Success 55.55 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userconcentrated Success 20.39 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_firstfit Success 55.49 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userdata_post Success 10.27 test_deploy_vm_with_userdata.py
test_deployvm_userdata Success 45.48 test_deploy_vm_with_userdata.py
test_02_deploy_vm_root_resize Success 5.65 test_deploy_vm_root_resize.py
test_01_deploy_vm_root_resize Success 5.65 test_deploy_vm_root_resize.py
test_00_deploy_vm_root_resize Success 216.88 test_deploy_vm_root_resize.py
test_deploy_vm_from_iso Success 211.83 test_deploy_vm_iso.py
test_DeployVmAntiAffinityGroup Success 65.75 test_affinity_groups.py
test_03_delete_vm_snapshots Skipped 0.00 test_vm_snapshots.py
test_02_revert_vm_snapshots Skipped 0.00 test_vm_snapshots.py
test_01_test_vm_volume_snapshot Skipped 0.00 test_vm_snapshots.py
test_01_create_vm_snapshots Skipped 0.00 test_vm_snapshots.py
test_06_copy_template Skipped 0.00 test_templates.py
test_static_role_account_acls Skipped 0.01 test_staticroles.py
test_11_ss_nfs_version_on_ssvm Skipped 0.02 test_ssvm.py
test_01_scale_vm Skipped 0.00 test_scale_vm.py
test_01_primary_storage_iscsi Skipped 0.03 test_primary_storage.py
test_nested_virtualization_vmware Skipped 0.00 test_nested_virtualization.py
test_06_copy_iso Skipped 0.00 test_iso.py
test_deploy_vgpu_enabled_vm Skipped 0.02 test_deploy_vgpu_enabled_vm.py
test_3d_gpu_support Skipped 0.03 test_deploy_vgpu_enabled_vm.py

@yadvr

yadvr commented Jan 12, 2017 •

Copy link
Copy Markdown
Member Author

Thanks everyone, since we've no outstanding issues or objections, enough LGTMs and all regression tests across xen/vmware/kvm pass -- I'll proceed with merging this.

@asfgit
asfgit merged commit e6cc78f into apache:master Jan 12, 2017
asfgit pushed a commit that referenced this pull request Jan 12, 2017
CLOUDSTACK-9710: Switch to JRE1.8

- Switches Travis to use jdk1.8
- Changes java-version to 1.8
- Change jdk/maven version to 1.8
- Switch to F5/java8 compatible library release
- Switch packaging to use jdk 1.8, and jre 1.8 in init/systemd scripts
- Switch systemvm to openjdk-8-jre

* pr/1888:
  CLOUDSTACK-9710: Switch to JRE1.8

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
@syed

syed commented Jan 13, 2017

Copy link
Copy Markdown
Contributor

@rhtyd I tried building the latest master I have problems getting the SSVM and the console proxy up. I get the following error

4 localgw=172.31.0.1 private.network.device=eth1 internaldns1=8.8.8.8 dns1=8.8.8.8 nfsVersion=null
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/cloud/agent/AgentShell : Unsupported major.minor version 52.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)

The management server is running Java 8 but it looks like the systemvms are still running java 7. How can I upgrade the java version there?

@milamberspace

Copy link
Copy Markdown
Contributor

Yes you need a new systemvm with Java 8 too.

See: http://markmail.org/thread/lj7simcdfynti2ml

(you can build your own systemvm, see:
https://github.com/apache/cloudstack/blob/master/tools/appliance/README.md )

@swill

swill commented Jan 13, 2017

Copy link
Copy Markdown
Contributor

This is supposed to do it @syed: https://github.com/apache/cloudstack/pull/1888/files#diff-e8e4d31bb5d860c8e7ada3120f758ee9R98

You built a new system VM template or used a new one provided by one of the mirrors? You have to change the global config to make the new template the default and restart ACS in order for it to be used by default.

Here are the global configs for the different hypervisors:
router.template.hyperv
router.template.kvm
router.template.lxc
router.template.ovm3
router.template.vmware
router.template.xenserver

Let us know...

@swill

swill commented Jan 13, 2017

Copy link
Copy Markdown
Contributor

BTW, something that is worth noting is that even if you use a new system vm template, but the box that the vm template was built on is running Java 7, you will get the same error that @syed just reported. I forgot to update my Jenkins slave to use Java 8 and I was able to reproduce the problem that @syed experienced with new builds of the system vm template. Maybe we should try to put a check or something if you try to build the system vm template with the wrong version. I am sure people will run into this because almost everyone will be using Java 7 in their Jenkins for previous ACS builds and I am sure others will forget to make the change to use Java 8 for those builds.

Building the ACS RPMs will fail if you don't have Java 8 installed, but the system VM build will succeed even though the resulting template will not be functional...

@yadvr

yadvr commented Jan 13, 2017

Copy link
Copy Markdown
Member Author

@swill yes, please install both jdk7 and jdk8, and setup jenv http://www.jenv.be

@asfbot

asfbot commented Jan 13, 2017

Copy link
Copy Markdown

Will Stevens on dev@cloudstack.apache.org replies:
I have that on my dev environment, but not on my jenkins slaves... It
works great in dev once you figure out how to get the JAVA_HOME to get set
correctly.

I had to create a file: ~./mavenrc
With the following in it to get everything working.

JAVA_HOME=$(/usr/libexec/java_home -v $(jenv version-name))

Will STEVENS
Lead Developer

https://goo.gl/NYZ8KK

@yadvr

yadvr commented Jan 13, 2017 •

Copy link
Copy Markdown
Member Author

@swill I use these docker images for building packages, they have jenv and everything else setup: https://hub.docker.com/u/bhaisaab

Don't use jenv's initialization in .bashrc or .profile, but do that in your Jenkins script:

export PATH="$HOME/.jenv/bin:$PATH"
eval "$(jenv init -)"
java -version
mvn -version

For using my CentOS6 image, you'll need to export this:

export PATH=/opt/rh/maven30/root/usr/bin:/opt/rh/rh-java-common/root/usr/bin:$PATH

@wido

wido commented Jan 14, 2017

Copy link
Copy Markdown
Contributor

We will have to review building the .DEB packages as well. I made a start by building in Docker and building for 14.04 and 16.04 with the systemd differences between them.

I however really don't have the time right now to dig into this and configure Jenkins to get it working properly.

@serg38

serg38 commented Jan 14, 2017

Copy link
Copy Markdown

We need to change one more setting for noredist build to work with updated iControl version
in install-non-oss.sh
mvn install:install-file -Dfile=cloud-iControl.jar      -DgroupId=com.cloud.com.f5     -DartifactId=icontrol        -Dversion=1.0   -Dpackaging=jar
to
mvn install:install-file -Dfile=cloud-iControl.jar      -DgroupId=com.cloud.com.f5     -DartifactId=icontrol        -Dversion=12.1   -Dpackaging=jar

@yadvr

yadvr commented Jan 14, 2017

Copy link
Copy Markdown
Member Author

@serg38 I've been maintaining the non-oss libs here: https://github.com/rhtyd/cloudstack-nonoss
You can get the latest v12.1 library that is Java8 compatible from above, it also includes the install-non-oss.sh script, you can simply clone the repo and run it before building/packaging (in Jenkins too), in fact Travis jobs actually do that: https://github.com/apache/cloudstack/blob/master/tools/travis/install.sh#L28

@syed

syed commented Jan 18, 2017

Copy link
Copy Markdown
Contributor

I got the master working now with the systemvm template http://packages.shapeblue.com.s3-eu-west-1.amazonaws.com/systemvmtemplate/4.10/systemvm64template-4.10-xen.vhd.bz2

@rhtyd would the systemvm template from http://jenkins.buildacloud.org/ also work? Also, we need to update the wiki https://cwiki.apache.org/confluence/display/CLOUDSTACK/How+to+build+CloudStack with the newer URLs. I would prefer it be jenkins.buildacloud.org.

@yadvr

yadvr commented Jan 18, 2017

Copy link
Copy Markdown
Member Author

@syed yes, if the systemvmtemplates were built from master after this PR was merged. There is no secret sauce in the systemvmtemplate that I've uploaded on packages.shapeblue.com S3 bucket. Checkout the readme file at tools/appliance, that's more updated than any wiki page.

@swill

swill commented Jan 18, 2017 •

Copy link
Copy Markdown
Contributor

Any suggestions to resolve this? I have built from master using JDK8 and have setup my cloudstack.repo to point to my build. I have been doing this successfully for the past month.

My management server is on CentOS6.8.

When I run: sudo yum -y install cloudstack-management cloudstack-usage

It fails with:

Error: Package: cloudstack-management-4.10.0.0-SNAPSHOT.el7.centos.x86_64 (cloudstack)
           Requires: iptables-services
Error: Package: cloudstack-common-4.10.0.0-SNAPSHOT.el7.centos.x86_64 (cloudstack)
           Requires: python(abi) = 2.7
           Installed: python-2.6.6-66.el6_8.x86_64 (@updates)
               python(abi) = 2.6
           Available: python-2.6.6-64.el6.x86_64 (base)
               python(abi) = 2.6
           Available: python34-3.4.5-1.el6.i686 (epel)
               python(abi) = 3.4

iptables-services is not an available package on CentOS, and iptables is already installed.
Package iptables-1.4.7-16.el6.x86_64 already installed and latest version

@yadvr

yadvr commented Jan 18, 2017

Copy link
Copy Markdown
Member Author

@swill build el7 (centos7) packages on centos7, and el6 (centos6) packages on centos6. You may use my docker images, this is what Trillian/blueorangutan uses for building (PR) packages: https://hub.docker.com/u/bhaisaab/

@swill

swill commented Jan 18, 2017

Copy link
Copy Markdown
Contributor

Wow, these builds are getting complicated now. I will see if I can get Java8 installed on my CentOS6 Jenkins slaves so I can get my existing build pipelines working again. Thanks...

asfgit pushed a commit that referenced this pull request Jan 31, 2017
Dockerfile: Upgrade base distro to Ubuntu 16.04, fix support for JDK8Fix current broken build introduce with JDK upgrade from #1888 of docker simulator because of missing dependencies and JDK8. This PR upgrade the distro to Ubuntu 16.04 and use default jdk version 8.

I've quickly test the build locally, no error in the UI and logs.

* pr/1921:
  Upgrade base distro to Ubuntu 16.04, fix support for JDK8, fix dependencies, should fix current broken build of docker simulator

Signed-off-by: Rajani Karuturi <rajani.karuturi@accelerite.com>
@swill

swill commented Feb 3, 2017

Copy link
Copy Markdown
Contributor

@rhtyd I built the Java 8 version on a CentOS6 slave and I am trying to install it on a CentOS 6.8 host and I am getting a similar issue.

The details are here: https://lists.apache.org/thread.html/d771df6a4ff07638362ab1343af69d6ab5d35a6cb4a9925b3077aa55@%3Cdev.cloudstack.apache.org%3E

This seems to be related to this PR. I have not been able to get a Java 8 version of ACS to work yet.

@swill

swill commented Feb 3, 2017

Copy link
Copy Markdown
Contributor

I found the issue. jenv was not setting the JAVA_HOME correctly, so the following logic in /etc/cloudstack/management/classpath.conf was getting hit.

if ([ -z "$JAVA_HOME" ] || [ ! -d "$JAVA_HOME" ]) && [ -d /usr/lib/jvm/jre-1.7.0 ]; then
     export JAVA_HOME=/usr/lib/jvm/jre-1.7.0
fi

I modified this section to be the following and everything is working now.

if ([ -z "$JAVA_HOME" ] || [ ! -d "$JAVA_HOME" ]) && [ -d /usr/lib/jvm/jre-1.8.0 ]; then
     export JAVA_HOME=/usr/lib/jvm/jre-1.8.0
fi

@swill

swill commented Feb 3, 2017

Copy link
Copy Markdown
Contributor

Maybe we should be defaulting this file to Java 8 now???

@wido

wido commented Feb 7, 2017

Copy link
Copy Markdown
Contributor

@swill: Yes we should! I think that was an oversight. Can you send a PR for this against master?

Sign up for free to 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.