Skip to content

ObjectStore Framework with MinIO and Simulator plugins#7752

Merged
shwstppr merged 67 commits intoapache:mainfrom
shapeblue:csos
Dec 1, 2023
Merged

ObjectStore Framework with MinIO and Simulator plugins#7752
shwstppr merged 67 commits intoapache:mainfrom
shapeblue:csos

Conversation

@kishankavala
Copy link
Contributor

@kishankavala kishankavala commented Jul 19, 2023

Description

This PR adds Object Storage feature to CloudStack.

FS: https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+Object+Store+Framework

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)

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?

@kishankavala kishankavala changed the title Csos ObjectStore Framework with MinIO and Simulator plugins Jul 19, 2023
@codecov
Copy link

codecov bot commented Jul 19, 2023

Codecov Report

Attention: 1481 lines in your changes are missing coverage. Please review.

Comparison is base (cb62ce6) 29.23% compared to head (22b2806) 29.15%.

Files Patch % Lines
...e/datastore/driver/MinIOObjectStoreDriverImpl.java 17.17% 159 Missing and 5 partials ⚠️
ui/src/components/view/ObjectStoreBrowser.vue 0.00% 139 Missing ⚠️
...loudstack/storage/object/BucketApiServiceImpl.java 12.40% 118 Missing and 2 partials ⚠️
...apache/cloudstack/api/response/BucketResponse.java 0.00% 69 Missing ⚠️
...ain/java/com/cloud/storage/StorageManagerImpl.java 0.00% 64 Missing ⚠️
...rc/main/java/com/cloud/usage/dao/UsageDaoImpl.java 0.00% 49 Missing ⚠️
...hema/src/main/java/com/cloud/storage/BucketVO.java 22.95% 47 Missing ⚠️
...stack/storage/datastore/db/ObjectStoreDaoImpl.java 29.85% 47 Missing ⚠️
ui/src/views/storage/UpdateBucket.vue 0.00% 43 Missing ⚠️
ui/src/views/infra/AddObjectStorage.vue 0.00% 39 Missing ⚠️
... and 42 more
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #7752      +/-   ##
============================================
- Coverage     29.23%   29.15%   -0.09%     
- Complexity    31180    31237      +57     
============================================
  Files          5195     5234      +39     
  Lines        366594   368348    +1754     
  Branches      53596    53739     +143     
============================================
+ Hits         107187   107391     +204     
- Misses       244708   246234    +1526     
- Partials      14699    14723      +24     
Flag Coverage Δ
simulator-marvin-tests 25.11% <10.18%> (-0.10%) ⬇️
uitests 4.44% <0.33%> (-0.05%) ⬇️
unit-tests 14.84% <13.35%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kishankavala
Copy link
Contributor Author

@blueorangutan package

@blueorangutan
Copy link

@kishankavala a [SF] 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
Copy link

Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 6507

@kishankavala
Copy link
Contributor Author

@blueorangutan test

@blueorangutan
Copy link

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

Copy link
Member

@harikrishna-patnala harikrishna-patnala left a comment

Choose a reason for hiding this comment

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

Thanks for the feature @kishankavala. overall looks good, only some changes are suggested, can you please check @kishankavala

@harikrishna-patnala harikrishna-patnala removed their assignment Jul 26, 2023
@kishankavala
Copy link
Contributor Author

@blueorangutan package

@blueorangutan
Copy link

@kishankavala a [SF] 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
Copy link

Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 6717

@kishankavala
Copy link
Contributor Author

@blueorangutan test

@blueorangutan
Copy link

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

@blueorangutan
Copy link

[SF] Trillian test result (tid-7330)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 54391 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr7752-t7330-kvm-centos7.zip
Smoke tests completed. 113 look OK, 2 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File
test_02_trigger_shutdown Failure 336.84 test_safe_shutdown.py
test_01_migrate_VM_and_root_volume Error 82.80 test_vm_life_cycle.py
test_02_migrate_VM_with_two_data_disks Error 56.49 test_vm_life_cycle.py

@vladimirpetrov
Copy link
Contributor

@blueorangutan package

@blueorangutan
Copy link

@vladimirpetrov a [SF] 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
Copy link

Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 6776

@kishankavala
Copy link
Contributor Author

@blueorangutan package

@blueorangutan
Copy link

@kishankavala a [SF] 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
Copy link

Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 6813

@github-actions
Copy link

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

@kishankavala
Copy link
Contributor Author

@blueorangutan package

@blueorangutan
Copy link

@kishankavala a [SL] 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.

@kishankavala
Copy link
Contributor Author

@blueorangutan test

@blueorangutan
Copy link

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

@blueorangutan
Copy link

Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 7879

@blueorangutan
Copy link

[SF] Trillian test result (tid-8439)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 56645 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr7752-t8439-kvm-centos7.zip
Smoke tests completed. 120 look OK, 1 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File
test_01_invalid_upgrade_kubernetes_cluster Failure 3604.30 test_kubernetes_clusters.py
test_02_upgrade_kubernetes_cluster Failure 3609.15 test_kubernetes_clusters.py
test_03_deploy_and_scale_kubernetes_cluster Failure 0.04 test_kubernetes_clusters.py
test_04_autoscale_kubernetes_cluster Failure 0.04 test_kubernetes_clusters.py
test_05_basic_lifecycle_kubernetes_cluster Failure 0.05 test_kubernetes_clusters.py
test_06_delete_kubernetes_cluster Failure 0.04 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.05 test_kubernetes_clusters.py
test_09_delete_kubernetes_ha_cluster Failure 0.04 test_kubernetes_clusters.py
test_10_vpc_tier_kubernetes_cluster Failure 45.96 test_kubernetes_clusters.py
test_11_test_unmanaged_cluster_lifecycle Error 1.25 test_kubernetes_clusters.py
ContextSuite context=TestKubernetesCluster>:teardown Error 59.83 test_kubernetes_clusters.py

Copy link
Contributor

@shwstppr shwstppr left a comment

Choose a reason for hiding this comment

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

LGTM - code and test results look good

@shwstppr
Copy link
Contributor

shwstppr commented Dec 1, 2023

Merging this based on reviews and testing

@shwstppr shwstppr merged commit 5651eab into apache:main Dec 1, 2023
dhslove pushed a commit to ablecloud-team/ablestack-cloud that referenced this pull request Dec 6, 2023
shwstppr pushed a commit to apache/cloudstack-documentation that referenced this pull request Dec 6, 2023
Added documentation for Object Storage feature, apache/cloudstack#7752
Sign up for free to 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.

9 participants