marvin - Fix k8s test failures on VMware#4896
Conversation
|
@blueorangutan package |
|
@Pearl1594 a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔️ centos7 ✔️ centos8 ✔️ debian. SL-JID 329 |
|
@blueorangutan test centos7 vmware-67u3 |
|
@Pearl1594 a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests |
|
Trillian test result (tid-352)
|
| if cls.hypervisor.lower() == 'vmware': | ||
| cls.create_full_clone = Configurations.list(cls.apiclient, name="vmware.create.full.clone")[0].value | ||
| if cls.create_full_clone not in ["true", True]: | ||
| Configurations.update(cls.apiclient, | ||
| "vmware.create.full.clone", | ||
| "true") | ||
| allStoragePools = StoragePool.list( | ||
| cls.apiclient | ||
| ) | ||
| for pool in allStoragePools: | ||
| Configurations.update(cls.apiclient, | ||
| storageid=pool.id, | ||
| name="vmware.create.full.clone", | ||
| value="true") |
There was a problem hiding this comment.
I see the same code below, can you externalise this in a separate method?
…k8s-test-vmware
| Field f = startVm.getClass().getDeclaredField("id"); | ||
| f.setAccessible(true); | ||
| f.set(startVm, vm.getId()); | ||
| resizeNodeVolume(vm); |
There was a problem hiding this comment.
Would that cause an issue (i.e. not resizing node on start?)
There was a problem hiding this comment.
the resizing happens before this is invoked, having this effectively meant we we attempting to resize twice. Removed it because it is redundant
There was a problem hiding this comment.
Checked, resize call is present in provisionKubernetesClusterNodeVms at line 331
|
@blueorangutan package |
|
@Pearl1594 a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔️ centos7 ✔️ centos8 ✔️ debian. SL-JID 341 |
|
@blueorangutan test centos7 vmware-67u3 |
|
@Pearl1594 a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests |
|
Trillian test result (tid-366)
|
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
|
@blueorangutan package |
|
@Pearl1594 a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔️ centos7 ✔️ centos8 ✔️ debian. SL-JID 347 |
|
@blueorangutan test centos7 vmware-67u3 |
|
@Pearl1594 a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests |
|
Trillian test result (tid-369)
|
|
@blueorangutan package |
|
@davidjumani a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔️ centos7 ✔️ centos8 ✔️ debian. SL-JID 357 |
|
@blueorangutan test centos7 vmware-67u3 |
|
@davidjumani a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests |
|
Trillian test result (tid-381)
|
|
@Pearl1594 LGTM, can you look at test_10_traceroute_in_vr failure which seems something new |
| Field f = startVm.getClass().getDeclaredField("id"); | ||
| f.setAccessible(true); | ||
| f.set(startVm, vm.getId()); | ||
| resizeNodeVolume(vm); |
There was a problem hiding this comment.
Checked, resize call is present in provisionKubernetesClusterNodeVms at line 331
|
test_10_traceroute_in_vr failure doesn't seem relevant to this PR. Failed in another PR as well #4758 (comment) |
Description
This PR fixes the k8s test failures noticed on vmware.
Types of changes
Feature/Enhancement Scale or Bug Severity
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
Ran the smoke test - test_kubernetes_clusters.py