cloudstack
cloudstack copied to clipboard
Support to resize uploaded volume during attach
Description
This PR addresses #5906
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)
- [X] 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
- [X] Minor
Screenshots (if appropriate):
How Has This Been Tested?
Uploaded a volume with custom disk offering, Attach the volume to a VM, it performs a resize operation on attach.
@blueorangutan package
@Pearl1594 a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.
Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 2742
@blueorangutan test
@nvazquez a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests
Trillian Build Failed (tid-3476)
@blueorangutan test
@nvazquez a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests
Trillian test result (tid-3508) Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7 Total time taken: 44397 seconds Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6005-t3508-kvm-centos7.zip Smoke tests completed. 90 look OK, 2 have errors Only failed tests results shown below:
Test | Result | Time (s) | Test File |
---|---|---|---|
test_11_attach_volume_with_unstarted_vm | Error |
125.12 | test_volumes.py |
test_disable_oobm_ha_state_ineligible | Error |
1511.95 | test_hostha_kvm.py |
Hi @Pearl1594 it seems the failing test on test_volumes needs fixing, can you please check? The other failing test seems unrelated
@blueorangutan package
@Pearl1594 a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.
Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 2794
@blueorangutan test matrix
@blueorangutan test matrix
@nvazquez a Trillian-Jenkins matrix job (centos7 mgmt + xs71, centos7 mgmt + vmware65, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests
Trillian test result (tid-3538) Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7 Total time taken: 32382 seconds Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6005-t3538-kvm-centos7.zip Smoke tests completed. 92 look OK, 0 have errors Only failed tests results shown below:
Test | Result | Time (s) | Test File |
---|
Trillian test result (tid-3537) Environment: xenserver-71 (x2), Advanced Networking with Mgmt server 7 Total time taken: 36210 seconds Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6005-t3537-xenserver-71.zip Smoke tests completed. 91 look OK, 1 have errors Only failed tests results shown below:
Test | Result | Time (s) | Test File |
---|---|---|---|
test_12_resize_volume_with_only_size_parameter | Error |
3.11 | test_volumes.py |
ContextSuite context=TestVolumes>:teardown | Error |
3.13 | test_volumes.py |
Trillian test result (tid-3539) Environment: vmware-65u2 (x2), Advanced Networking with Mgmt server 7 Total time taken: 42705 seconds Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6005-t3539-vmware-65u2.zip Smoke tests completed. 90 look OK, 2 have errors Only failed tests results shown below:
Test | Result | Time (s) | Test File |
---|---|---|---|
test_08_arping_in_ssvm | Failure |
5.20 | test_diagnostics.py |
test_09_arping_in_cpvm | Failure |
5.18 | test_diagnostics.py |
test_02_VPC_default_routes | Error |
44.78 | test_vpc_router_nics.py |
@blueorangutan test centos7 xcpng82
@nvazquez a Trillian-Jenkins test job (centos7 mgmt + xcpng82) has been kicked to run smoke tests
Trillian test result (tid-3551) Environment: xcpng82 (x2), Advanced Networking with Mgmt server 7 Total time taken: 44756 seconds Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6005-t3551-xcpng82.zip Smoke tests completed. 91 look OK, 1 have errors Only failed tests results shown below:
Test | Result | Time (s) | Test File |
---|---|---|---|
test_12_resize_volume_with_only_size_parameter | Error |
1.06 | test_volumes.py |
@blueorangutan package
@blueorangutan package
@Pearl1594 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 package
@Pearl1594 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 help
@Pearl1594 I understand these words: "help", "hello", "thanks", "package", "test"
Test command usage: test [mgmt os] [hypervisor] [keepEnv]
Mgmt OS options: ['suse15', 'centos7', 'centos6', 'alma8', 'ubuntu18', 'ubuntu20', 'rocky8']
Hypervisor options: ['kvm-centos6', 'kvm-centos7', 'kvm-rocky8', 'kvm-alma8', 'kvm-ubuntu18', 'kvm-ubuntu20', 'kvm-suse15', 'vmware-55u3', 'vmware-60u2', 'vmware-65u2', 'vmware-67u3', 'vmware-70u1', 'vmware-70u2', 'vmware-70u3', 'xenserver-65sp1', 'xenserver-71', 'xenserver-74', 'xcpng74', 'xcpng76', 'xcpng80', 'xcpng81', 'xcpng82']
Note: when keepEnv is passed, you need to specify mgmt server os and hypervisor or use the matrix
command.
Package command usage: package [all(default value),kvm,xen,vmware,hyperv,ovm] - a comma separated list can be passed with package command to bundle the required hypervisor's systemVM templates. Not passing any argument will bundle all - kvm,xen and vmware templates.
Blessed contributors for kicking Trillian test jobs: ['rohityadavcloud', 'nvazquez', 'borisstoyanov', 'DaanHoogland', 'shwstppr', 'andrijapanicsb', 'Pearl1594', 'davidjumani', 'harikrishna-patnala', 'vladimirpetrov', 'sureshanaparti', 'weizhouapache', 'NuxRo']
Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 2848