Skip to content

Conversation

@Spaceman1984
Copy link
Contributor

@Spaceman1984 Spaceman1984 commented Feb 2, 2021

Description

This PR adds the ability to create thick and sparse disks using VMWare

A global variable (disk.provisioning.type.strictness) has been added to select if disk provisioning types will be strictly adhered to, meaning if a storage pool is not capable of creating the specific disk provisioning type, the pool will not be selected for the creation of the volume.

StoragePool capabilities are determined when the pool is added to Cloudstack and a new API is added ( updateStorageCapabilities(poolId) ) to update the hardware acceleration capability of storage pools if needed.

Doc PR here: apache/cloudstack-documentation#217

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

Screenshots (if appropriate):

How Has This Been Tested?

Marvin tests have been added and manual tests have been done using NFS without hardware acceleration and an ISCSI datastore.

Create a thin/sparse/thick disk/service offering, set the global var to true, depending on the offering selected, the disks should be created in the correct storage pool with the correct disk provisioning type.

If the global var is set to false, the disk will be created in any storage pool and if the pool supports the disk provisioning type it will be used, otherwise thin will be selected.

@rohityadavcloud rohityadavcloud added this to the 4.16.0.0 milestone Feb 2, 2021
@rohityadavcloud
Copy link
Member

@Spaceman1984 can you kick pkging and testing, is this still in WIP - pl change it to draft. Thanks.

@Spaceman1984
Copy link
Contributor Author

@blueorangutan test ?

@Spaceman1984
Copy link
Contributor Author

@blueorangutan package

@Spaceman1984
Copy link
Contributor Author

@blueorangutan package

@Spaceman1984
Copy link
Contributor Author

@blueorangutan test ?

@Spaceman1984
Copy link
Contributor Author

@blueorangutan test centos7 ?

@Spaceman1984
Copy link
Contributor Author

@blueorangutan test centos7 vmware-67u3

Copy link
Contributor

@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.

@Spaceman1984 May I know what happens if strictness is set to false and disk is provisioned on unsupported storage pool ?

@Spaceman1984
Copy link
Contributor Author

Spaceman1984 commented Feb 3, 2021

@Spaceman1984 May I know what happens if strictness is set to false and disk is provisioned on unsupported storage pool ?

@harikrishna-patnala If strictness is set to false, a thin disk will be created on the unsupported pool.

@blueorangutan
Copy link

Packaging result: ✔️ el7 ✔️ el8 ✔️ debian. SL-JID 540

@Spaceman1984
Copy link
Contributor Author

@blueorangutan test centos7 vmware-67u3

@blueorangutan
Copy link

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

@Spaceman1984
Copy link
Contributor Author

@blueorangutan package

@blueorangutan
Copy link

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

@blueorangutan
Copy link

Packaging result: ✔️ el7 ✔️ el8 ✔️ debian. SL-JID 556

@Spaceman1984
Copy link
Contributor Author

@blueorangutan test centos7 vmware-67u3

@blueorangutan
Copy link

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

@blueorangutan
Copy link

Trillian test result (tid-1279)
Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server 7
Total time taken: 36928 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4640-t1279-vmware-67u3.zip
Smoke tests completed. 89 look OK, 0 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File

@nvazquez nvazquez closed this Jul 16, 2021
@nvazquez nvazquez reopened this Jul 16, 2021
@nvazquez
Copy link
Contributor

@Spaceman1984 is this PR ready for merge?

@Spaceman1984
Copy link
Contributor Author

Should be good to go @nvazquez

@Spaceman1984
Copy link
Contributor Author

@blueorangutan package

@blueorangutan
Copy link

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

@blueorangutan
Copy link

Packaging result: ✔️ el7 ✔️ el8 ✔️ debian. SL-JID 568

@Spaceman1984
Copy link
Contributor Author

@blueorangutan test centos7 vmware-67u3

@blueorangutan
Copy link

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

@nvazquez nvazquez closed this Jul 16, 2021
@nvazquez nvazquez reopened this Jul 16, 2021
@blueorangutan
Copy link

Trillian test result (tid-1293)
Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server 7
Total time taken: 36476 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4640-t1293-vmware-67u3.zip
Intermittent failure detected: /marvin/tests/smoke/test_deploy_vm_root_resize.py
Smoke tests completed. 89 look OK, 0 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File

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.

7 participants