cloudstack icon indicating copy to clipboard operation
cloudstack copied to clipboard

vmware,cks: fix attachiso failure with vmware drs

Open shwstppr opened this issue 2 years ago • 6 comments

Description

Fixes #4314

Failure in attaching k8s ISO is seen when VMware DRS is enabled. Log reported VM is not found. This fix tries to find VM on peer hosts when the VM is not found on the given host.

Types of changes

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

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • [ ] Major
  • [ ] Minor

Bug Severity

  • [ ] BLOCKER
  • [ ] Critical
  • [ ] Major
  • [ ] Minor
  • [ ] Trivial

Screenshots (if appropriate):

How Has This Been Tested?

shwstppr avatar Aug 10 '22 11:08 shwstppr

@blueorangutan package

shwstppr avatar Aug 10 '22 11:08 shwstppr

@shwstppr 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 Aug 10 '22 11:08 blueorangutan

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

blueorangutan avatar Aug 10 '22 12:08 blueorangutan

@blueorangutan test centos7 vmware-65u2

shwstppr avatar Aug 12 '22 04:08 shwstppr

@shwstppr a Trillian-Jenkins test job (centos7 mgmt + vmware-65u2) has been kicked to run smoke tests

blueorangutan avatar Aug 12 '22 04:08 blueorangutan

Trillian test result (tid-4674) Environment: vmware-65u2 (x2), Advanced Networking with Mgmt server 7 Total time taken: 43065 seconds Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6625-t4674-vmware-65u2.zip Smoke tests completed. 100 look OK, 1 have errors Only failed tests results shown below:

Test Result Time (s) Test File
test_08_upgrade_kubernetes_ha_cluster Failure 908.18 test_kubernetes_clusters.py

blueorangutan avatar Aug 12 '22 16:08 blueorangutan