cloudstack icon indicating copy to clipboard operation
cloudstack copied to clipboard

cks: Refactor to externalize scripts

Open davidjumani opened this issue 2 years ago • 35 comments

Description

Externalizes most scripts used by CKS into the ISO This way in case there are issues with the scripts, there won't be a need to wait for the next release for a fix. Instead the ISOs can be rebuilt with the patch and re-registered

Types of changes

  • [ ] Breaking change (fix or feature that would cause existing functionality to change)
  • [ ] New feature (non-breaking change which adds functionality)
  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [x] Enhancement (improves an existing feature and functionality)
  • [ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale

  • [x] Major
  • [ ] Minor

How Has This Been Tested?

=== TestName: test_01_invalid_upgrade_kubernetes_cluster | Status : SUCCESS ===

=== TestName: test_02_upgrade_kubernetes_cluster | Status : SUCCESS ===

=== TestName: test_03_deploy_and_scale_kubernetes_cluster | Status : SUCCESS ===

=== TestName: test_04_autoscale_kubernetes_cluster | Status : SUCCESS ===

=== TestName: test_05_basic_lifecycle_kubernetes_cluster | Status : SUCCESS ===

=== TestName: test_06_delete_kubernetes_cluster | Status : SUCCESS ===

=== TestName: test_07_deploy_kubernetes_ha_cluster | Status : SUCCESS ===

=== TestName: test_08_upgrade_kubernetes_ha_cluster | Status : SUCCESS ===

=== TestName: test_09_delete_kubernetes_ha_cluster | Status : SUCCESS ===

davidjumani avatar Jun 14 '22 15:06 davidjumani

@blueorangutan package

davidjumani avatar Jun 15 '22 10:06 davidjumani

@davidjumani a Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

blueorangutan avatar Jun 15 '22 10:06 blueorangutan

Packaging result: :heavy_multiplication_x: el7 :heavy_multiplication_x: el8 :heavy_multiplication_x: debian :heavy_multiplication_x: suse15. SL-JID 3572

blueorangutan avatar Jun 15 '22 10:06 blueorangutan

@blueorangutan package

davidjumani avatar Jun 15 '22 10:06 davidjumani

@davidjumani a Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

blueorangutan avatar Jun 15 '22 10:06 blueorangutan

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 3573

blueorangutan avatar Jun 15 '22 11:06 blueorangutan

@blueorangutan test

davidjumani avatar Jun 15 '22 11:06 davidjumani

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

blueorangutan avatar Jun 15 '22 11:06 blueorangutan

Trillian test result (tid-4323) Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7 Total time taken: 35052 seconds Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6458-t4323-kvm-centos7.zip Smoke tests completed. 94 look OK, 4 have errors Only failed tests results shown below:

Test Result Time (s) Test File
test_DeployVmAntiAffinityGroup Error 34.41 test_affinity_groups.py
test_DeployVmAntiAffinityGroup_in_project Error 76.45 test_affinity_groups_projects.py
test_03_deploy_and_scale_kubernetes_cluster Failure 22.79 test_kubernetes_clusters.py
test_07_deploy_kubernetes_ha_cluster Failure 0.04 test_kubernetes_clusters.py
test_08_upgrade_kubernetes_ha_cluster Failure 0.04 test_kubernetes_clusters.py
test_09_delete_kubernetes_ha_cluster Failure 0.04 test_kubernetes_clusters.py
test_hostha_enable_ha_when_host_in_maintenance Error 303.80 test_hostha_kvm.py

blueorangutan avatar Jun 15 '22 21:06 blueorangutan

@blueorangutan test

davidjumani avatar Jun 16 '22 03:06 davidjumani

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

blueorangutan avatar Jun 16 '22 03:06 blueorangutan

Trillian test result (tid-4326) Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7 Total time taken: 36401 seconds Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6458-t4326-kvm-centos7.zip Smoke tests completed. 98 look OK, 0 have errors Only failed tests results shown below:

Test Result Time (s) Test File

blueorangutan avatar Jun 16 '22 14:06 blueorangutan

This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch.

github-actions[bot] avatar Jul 06 '22 15:07 github-actions[bot]

@blueorangutan package

davidjumani avatar Jul 07 '22 04:07 davidjumani

@davidjumani a Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

blueorangutan avatar Jul 07 '22 04:07 blueorangutan

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 3720

blueorangutan avatar Jul 07 '22 04:07 blueorangutan

@blueorangutan test

davidjumani avatar Jul 07 '22 06:07 davidjumani

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

blueorangutan avatar Jul 07 '22 06:07 blueorangutan

Trillian test result (tid-4439) Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7 Total time taken: 43438 seconds Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6458-t4439-kvm-centos7.zip Smoke tests completed. 97 look OK, 1 have errors Only failed tests results shown below:

Test Result Time (s) Test File
test_02_upgrade_kubernetes_cluster Failure 377.63 test_kubernetes_clusters.py
test_08_upgrade_kubernetes_ha_cluster Failure 449.87 test_kubernetes_clusters.py

blueorangutan avatar Jul 07 '22 19:07 blueorangutan

@blueorangutan test

davidjumani avatar Jul 11 '22 06:07 davidjumani

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

blueorangutan avatar Jul 11 '22 06:07 blueorangutan

Trillian test result (tid-4475) Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7 Total time taken: 38161 seconds Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6458-t4475-kvm-centos7.zip Smoke tests completed. 94 look OK, 4 have errors Only failed tests results shown below:

Test Result Time (s) Test File
test_01_add_primary_storage_disabled_host Error 0.58 test_primary_storage.py
test_01_primary_storage_nfs Error 0.10 test_primary_storage.py
ContextSuite context=TestStorageTags>:setup Error 0.18 test_primary_storage.py
test_02_upgrade_kubernetes_cluster Failure 372.54 test_kubernetes_clusters.py
test_03_deploy_and_scale_kubernetes_cluster Failure 241.64 test_kubernetes_clusters.py
test_07_deploy_kubernetes_ha_cluster Failure 60.59 test_kubernetes_clusters.py
test_08_upgrade_kubernetes_ha_cluster Failure 35.79 test_kubernetes_clusters.py
test_09_delete_kubernetes_ha_cluster Failure 35.90 test_kubernetes_clusters.py
ContextSuite context=TestKubernetesCluster>:teardown Error 119.64 test_kubernetes_clusters.py
test_01_secure_vm_migration Error 158.04 test_vm_life_cycle.py
test_02_unsecure_vm_migration Error 273.07 test_vm_life_cycle.py
test_03_secured_to_nonsecured_vm_migration Error 140.71 test_vm_life_cycle.py
test_08_migrate_vm Error 43.74 test_vm_life_cycle.py
test_hostha_enable_ha_when_host_in_maintenance Error 302.77 test_hostha_kvm.py

blueorangutan avatar Jul 11 '22 17:07 blueorangutan

@blueorangutan package

davidjumani avatar Jul 12 '22 04:07 davidjumani

@davidjumani a Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

blueorangutan avatar Jul 12 '22 04:07 blueorangutan

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 3751

blueorangutan avatar Jul 12 '22 05:07 blueorangutan

@blueorangutan test

rohityadavcloud avatar Jul 12 '22 07:07 rohityadavcloud

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

blueorangutan avatar Jul 12 '22 07:07 blueorangutan

Trillian test result (tid-4490) Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7 Total time taken: 40241 seconds Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6458-t4490-kvm-centos7.zip Smoke tests completed. 97 look OK, 1 have errors Only failed tests results shown below:

Test Result Time (s) Test File
test_02_upgrade_kubernetes_cluster Failure 351.92 test_kubernetes_clusters.py
test_08_upgrade_kubernetes_ha_cluster Failure 436.53 test_kubernetes_clusters.py

blueorangutan avatar Jul 12 '22 18:07 blueorangutan

@blueorangutan package

davidjumani avatar Jul 25 '22 06:07 davidjumani