Skip to content

vSphere advanced capabilities with datastore support and api improvements - #4248

Closed
harikrishna-patnala wants to merge 77 commits into
apache:masterfrom
shapeblue:vSphereAdvancedCapabilitiesDatastoreSupportAPIimprovements
Closed

vSphere advanced capabilities with datastore support and api improvements#4248
harikrishna-patnala wants to merge 77 commits into
apache:masterfrom
shapeblue:vSphereAdvancedCapabilitiesDatastoreSupportAPIimprovements

Conversation

@harikrishna-patnala

@harikrishna-patnalaharikrishna-patnala commented Aug 6, 2020

Copy link
Copy Markdown
Member

Description

Added support for different datastore types like vSAN, vVols, VMFS6, Datastore clusters. Along with these native APIs of vCenter have been used.

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)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)

Screenshots (if appropriate):

How Has This Been Tested?

@harikrishna-patnala

Copy link
Copy Markdown
MemberAuthor

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@harikrishna-patnala 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: ✔centos7 ✔debian. JID-1667

@harikrishna-patnala

Copy link
Copy Markdown
MemberAuthor

@blueorangutan test

@blueorangutan

Copy link
Copy Markdown

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

@yadvr

yadvr commented Aug 7, 2020

Copy link
Copy Markdown
Member

@harikrishna-patnala most of the tests are failing for travis/simulator hinting at general failures - can you have a look at simulator failures and manually test vm lifecycle before pushing trillian to work (which takes hours)?

@yadvryadvr added the Severity:Critical Critical bug label Aug 7, 2020
@yadvryadvr added this to the 4.15.0.0 milestone Aug 7, 2020
@yadvr

yadvr commented Aug 7, 2020

Copy link
Copy Markdown
Member

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

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

@harikrishna-patnala

Copy link
Copy Markdown
MemberAuthor

Sure @rhtyd I'll check simulator failures

@blueorangutan

Copy link
Copy Markdown

Packaging result: ✔centos7 ✔debian. JID-1671

@yadvr

yadvr commented Aug 7, 2020

Copy link
Copy Markdown
Member

@blueorangutan test

@blueorangutan

Copy link
Copy Markdown

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

@yadvr

yadvr commented Aug 7, 2020

Copy link
Copy Markdown
Member

@harikrishna-patnala when deploying zone (with simulator) this fails with:

Exception Occurred: ['Traceback (most recent call last):\n', ' File "tools/marvin/marvin/deployDataCenter.py", line 280, in createPrimaryStorages\n ret = self.__apiClient.createStoragePool(primarycmd)\n', ' File "/usr/local/lib/python2.7/dist-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 3364, in createStoragePool\n response = self.connection.marvinRequest(command, response_type=response, method=method)\n', ' File "/usr/local/lib/python2.7/dist-packages/marvin/cloudstackConnection.py", line 379, in marvinRequest\n raise e\n', 'CloudstackAPIException: Execute cmd: createstoragepool failed, due to: errorCode: 530, errorText:Failed to add data store: Failed to access storage pool\n']
2020-08-07 14:01:28,340 WARN [o.a.c.s.d.l.CloudStackPrimaryDataStoreLifeCycleImpl] (ApiServer-8:ctx-c2e3faa6 ctx-b78205c4) (logid:163a78d3) Unable to establish a connection between Host[-2-Routing] and org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@19656adf
java.lang.NullPointerException
at org.apache.cloudstack.storage.datastore.provider.DefaultHostListener.hostConnect(DefaultHostListener.java:106)
at com.cloud.storage.StorageManagerImpl.connectHostToSharedPool(StorageManagerImpl.java:1027)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.springframework.aop.support.AopUtils.invokeJoinpointUs

@yadvr

yadvr commented Aug 8, 2020

Copy link
Copy Markdown
Member

@blueorangutan test matrix

@blueorangutan

Copy link
Copy Markdown

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

@yadvr

yadvr commented Aug 9, 2020

Copy link
Copy Markdown
Member

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

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

@apacheapache deleted a comment from blueorangutanAug 9, 2020
@apacheapache deleted a comment from blueorangutanAug 9, 2020
@blueorangutan

Copy link
Copy Markdown

Packaging result: ✖centos7 ✔debian. JID-1683

@yadvr

yadvr commented Aug 9, 2020

Copy link
Copy Markdown
Member

re-kicked centos7 pkg manually

@harikrishna-patnala

Copy link
Copy Markdown
MemberAuthor

re-kicked centos7 pkg manually

Thanks @rhtyd

@yadvr

yadvr commented Aug 9, 2020

Copy link
Copy Markdown
Member

@blueorangutan test matrix

@blueorangutan

Copy link
Copy Markdown

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

@yadvr

Copy link
Copy Markdown
Member

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

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

@blueorangutan

Copy link
Copy Markdown

Packaging result: ✔centos7 ✔debian. JID-1686

@blueorangutan

Copy link
Copy Markdown

@harikrishna-patnala 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: ✔centos7 ✔centos8 ✔debian. JID-1832

@yadvr

Copy link
Copy Markdown
Member

@blueorangutan test matrix

@blueorangutan

Copy link
Copy Markdown

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

@davidjumani

Copy link
Copy Markdown
Contributor

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@davidjumani 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: ✔centos7 ✔centos8 ✔debian. JID-1858

@harikrishna-patnala

Copy link
Copy Markdown
MemberAuthor

@blueorangutan test centos7 vmware-67u3

@blueorangutan

Copy link
Copy Markdown

@harikrishna-patnala a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests

@yadvr

yadvr commented Sep 3, 2020

Copy link
Copy Markdown
Member

@blueorangutan test centos7 vmware-67u3

@blueorangutan

Copy link
Copy Markdown

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

@yadvr

yadvr commented Sep 5, 2020

Copy link
Copy Markdown
Member

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

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

@blueorangutan

Copy link
Copy Markdown

Packaging result: ✔centos7 ✔centos8 ✔debian. JID-1895

@yadvr

yadvr commented Sep 5, 2020

Copy link
Copy Markdown
Member

@blueorangutan test matrix

@blueorangutan

Copy link
Copy Markdown

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

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-2672)
Environment: xenserver-71 (x2), Advanced Networking with Mgmt server 7
Total time taken: 57275 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4248-t2672-xenserver-71.zip
Intermittent failure detected: /marvin/tests/smoke/test_iso.py
Intermittent failure detected: /marvin/tests/smoke/test_kubernetes_clusters.py
Intermittent failure detected: /marvin/tests/smoke/test_kubernetes_supported_versions.py
Intermittent failure detected: /marvin/tests/smoke/test_scale_vm.py
Smoke tests completed. 83 look OK, 2 have error(s)
Only failed tests results shown below:

TestResultTime (s)Test File
test_01_add_delete_kubernetes_supported_versionError1807.09test_kubernetes_supported_versions.py
test_01_scale_vmFailure35.63test_scale_vm.py

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-2677)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 43686 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4248-t2677-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Intermittent failure detected: /marvin/tests/smoke/test_hostha_kvm.py
Smoke tests completed. 83 look OK, 2 have error(s)
Only failed tests results shown below:

TestResultTime (s)Test File
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACLFailure424.53test_vpc_redundant.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routersError332.95test_vpc_redundant.py
test_04_rvpc_network_garbage_collector_nicsError3907.24test_vpc_redundant.py
test_hostha_kvm_host_fencingError166.73test_hostha_kvm.py

@yadvr

yadvr commented Sep 7, 2020

Copy link
Copy Markdown
Member

@harikrishna-patnala can you review and close this PR and continue work over #4307 thnx

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-2679)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 54350 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4248-t2679-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_diagnostics.py
Intermittent failure detected: /marvin/tests/smoke/test_internal_lb.py
Intermittent failure detected: /marvin/tests/smoke/test_projects.py
Intermittent failure detected: /marvin/tests/smoke/test_volumes.py
Intermittent failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Intermittent failure detected: /marvin/tests/smoke/test_host_maintenance.py
Intermittent failure detected: /marvin/tests/smoke/test_hostha_kvm.py
Smoke tests completed. 81 look OK, 4 have error(s)
Only failed tests results shown below:

TestResultTime (s)Test File
test_03_ping_in_ssvm_successFailure14.41test_diagnostics.py
test_05_ping_in_cpvm_successFailure14.47test_diagnostics.py
test_04_delete_domain_with_projectError34.42test_projects.py
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACLFailure384.57test_vpc_redundant.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routersError317.91test_vpc_redundant.py
test_04_rvpc_network_garbage_collector_nicsError3894.39test_vpc_redundant.py
test_hostha_kvm_host_fencingError173.87test_hostha_kvm.py

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-2678)
Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server 7
Total time taken: 58981 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4248-t2678-vmware-67u3.zip
Intermittent failure detected: /marvin/tests/smoke/test_kubernetes_clusters.py
Intermittent failure detected: /marvin/tests/smoke/test_outofbandmanagement.py
Intermittent failure detected: /marvin/tests/smoke/test_snapshots.py
Intermittent failure detected: /marvin/tests/smoke/test_ssvm.py
Intermittent failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Smoke tests completed. 77 look OK, 4 have error(s)
Only failed tests results shown below:

TestResultTime (s)Test File
test_01_deploy_kubernetes_clusterError0.21test_kubernetes_clusters.py
test_02_deploy_kubernetes_ha_clusterError0.10test_kubernetes_clusters.py
test_04_deploy_and_upgrade_kubernetes_clusterError0.16test_kubernetes_clusters.py
test_05_deploy_and_upgrade_kubernetes_ha_clusterError0.18test_kubernetes_clusters.py
test_06_deploy_and_invalid_upgrade_kubernetes_clusterError0.24test_kubernetes_clusters.py
test_07_deploy_and_scale_kubernetes_clusterError0.25test_kubernetes_clusters.py
test_oobm_issue_power_cycleError24.50test_outofbandmanagement.py
test_oobm_issue_power_resetError30.78test_outofbandmanagement.py
test_02_list_snapshots_with_removed_data_storeError103.24test_snapshots.py
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACLFailure702.80test_vpc_redundant.py
test_04_rvpc_network_garbage_collector_nicsError3965.36test_vpc_redundant.py
test_04_rvpc_network_garbage_collector_nicsError3965.46test_vpc_redundant.py
test_05_rvpc_multi_tiersError0.07test_vpc_redundant.py
ContextSuite context=TestVPCRedundancy>:teardownError0.13test_vpc_redundant.py

@harikrishna-patnala

Copy link
Copy Markdown
MemberAuthor

Closing this PR as this is merged with another feature on PR #4307

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@harikrishna-patnala@blueorangutan@yadvr@borisstoyanov@davidjumani@DaanHoogland