You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2021/03/16 14:52:42 UTC

[GitHub] [cloudstack] Pearl1594 opened a new pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Pearl1594 opened a new pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829


   ### Description
   
   This PR fixes the issue pertaining to volume resize on VMWare for deploy as-is templates. VMware deploy as-is templates are those that are deployed as per the specification in the imported OVF. Hence override root disk size will not be adhered to for such templates. Moreover, when we deploy VMs in stopped state and resize the volume, the root disk doesn't get resized but the volume size is merely updated in the DB.
   This PR also includes the following (for deploy as-is templates):
   - Disables overriding root disk size during VM deployment on the UI
   - Disables selection of compute offerings with root disk size specified, at the time of deployment
   - Provided users with the option to deploy VM is stopped state via UI (so as to give an option to users to resize the volumes before starting the VM)
   
   <!--- ********************************************************************************* -->
   <!--- NOTE: AUTOMATATION USES THE DESCRIPTIONS TO SET LABELS AND PRODUCE DOCUMENTATION. -->
   <!--- PLEASE PUT AN 'X' in only **ONE** box -->
   <!--- ********************************************************************************* -->
   
   ### Types of changes
   
   - [ ] Breaking change (fix or feature that would cause existing functionality to change)
   - [ ] New feature (non-breaking change which adds functionality)
   - [X] 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
   
   #### Bug Severity
   
   - [ ] BLOCKER
   - [X] Critical
   - [ ] Major
   - [ ] Minor
   - [ ] Trivial
   
   
   ### Screenshots (if appropriate):
   
   
   ### How Has This Been Tested?
   #### Prior to the fix:
   Deployed a VM in stopped state, resized volume from 3GB to 8GB
   ![image](https://user-images.githubusercontent.com/10495417/111328544-57b9ac80-8694-11eb-9d66-1312b3740c9a.png)
   
   While the UI shows that the Volume is resized,  the root volume inside the VM doesn't seem to have gotten resized:
   ![image](https://user-images.githubusercontent.com/10495417/111328782-90598600-8694-11eb-9dce-b867c43604a4.png)
   
   #### Post fix
   Deployed a VM in stopped state, resized the volume from 3GB to 8GB
   ![image](https://user-images.githubusercontent.com/10495417/111328916-aff0ae80-8694-11eb-9c3c-a38dd6a10146.png)
   
   ![image](https://user-images.githubusercontent.com/10495417/111328948-b717bc80-8694-11eb-82a6-ba925cc0afd2.png)
   
   Notice that the volume size as shown in the UI complies with the value inside the VM
   
   
   <!-- Please read the [CONTRIBUTING](https://github.com/apache/cloudstack/blob/master/CONTRIBUTING.md) document -->
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] blueorangutan commented on pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#issuecomment-801213439


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


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] sureshanaparti commented on a change in pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
sureshanaparti commented on a change in pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#discussion_r596631148



##########
File path: server/src/main/java/com/cloud/vm/UserVmManagerImpl.java
##########
@@ -5266,6 +5270,16 @@ public UserVm createVirtualMachine(DeployVMCmd cmd) throws InsufficientCapacityE
             throw new InvalidParameterValueException("Unable to use template " + templateId);
         }
 
+        ServiceOfferingJoinVO svcOffering = serviceOfferingJoinDao.findById(serviceOfferingId);
+

Review comment:
       @Pearl1594 is it possible to move all the checks after `template.isDeployAsIs()` to a separate if stmt (instead calling "template.isDeployAsIs()" multiple times)




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] Pearl1594 commented on pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
Pearl1594 commented on pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#issuecomment-800979004


   > Looks good - perhaps also adding a check on the `resizevolume` and fail with a message when the volume is created from a deploy-as-is template?
   
   @nvazquez added checks to see if a compute offering with root disk size mentioned is used / overriding root disk size is attempted when deploying a vm with deploy as-is template and will accordingly throw an exception. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] blueorangutan commented on pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#issuecomment-800378361


   Packaging result: :heavy_multiplication_x: centos7 :heavy_multiplication_x: centos8 :heavy_check_mark: debian. SL-JID 140


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] sureshanaparti commented on a change in pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
sureshanaparti commented on a change in pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#discussion_r598704130



##########
File path: server/src/main/java/com/cloud/vm/UserVmManagerImpl.java
##########
@@ -5266,6 +5270,16 @@ public UserVm createVirtualMachine(DeployVMCmd cmd) throws InsufficientCapacityE
             throw new InvalidParameterValueException("Unable to use template " + templateId);
         }
 
+        ServiceOfferingJoinVO svcOffering = serviceOfferingJoinDao.findById(serviceOfferingId);
+

Review comment:
       checked, looks good now.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] blueorangutan commented on pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#issuecomment-800349034


   Packaging result: :heavy_multiplication_x: centos7 :heavy_multiplication_x: centos8 :heavy_multiplication_x: debian. SL-JID 138


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] blueorangutan commented on pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#issuecomment-803803100


   Packaging result: :heavy_check_mark: centos7 :heavy_check_mark: centos8 :heavy_check_mark: debian. SL-JID 198


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] Pearl1594 commented on pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
Pearl1594 commented on pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#issuecomment-801212386


   @blueorangutan test centos7 vmware-67u3


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] Pearl1594 commented on pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
Pearl1594 commented on pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#issuecomment-801060597


   @blueorangutan package


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] Pearl1594 commented on pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
Pearl1594 commented on pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#issuecomment-800328603


   @blueorangutan package


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] blueorangutan commented on pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#issuecomment-805346873


   <b>Trillian test result (tid-228)</b>
   Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
   Total time taken: 35299 seconds
   Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4829-t228-kvm-centos7.zip
   Intermittent failure detected: /marvin/tests/smoke/test_vm_life_cycle.py
   Smoke tests completed. 85 look OK, 1 have error(s)
   Only failed tests results shown below:
   
   
   Test | Result | Time (s) | Test File
   --- | --- | --- | ---
   test_01_migrate_VM_and_root_volume | `Error` | 74.35 | test_vm_life_cycle.py
   test_02_migrate_VM_with_two_data_disks | `Error` | 51.19 | test_vm_life_cycle.py
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] Pearl1594 commented on pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
Pearl1594 commented on pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#issuecomment-808197139


   @blueorangutan test centos7 vmware-67u3


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] blueorangutan commented on pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#issuecomment-808197530


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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] blueorangutan commented on pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#issuecomment-801078765


   Packaging result: :heavy_multiplication_x: centos7 :heavy_check_mark: centos8 :heavy_check_mark: debian. SL-JID 158


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] blueorangutan commented on pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#issuecomment-801116970


   @Pearl1594 a Trillian-Jenkins matrix job (centos7 mgmt + xs71, centos7 mgmt + vmware65, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests [S]


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] blueorangutan commented on pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#issuecomment-803803878


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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] Pearl1594 commented on pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
Pearl1594 commented on pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#issuecomment-801604317


   @blueorangutan test centos7 vmware-67u3


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] Pearl1594 commented on pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
Pearl1594 commented on pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#issuecomment-804879588


   @blueorangutan test matrix


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] blueorangutan commented on pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#issuecomment-800352270


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


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] Pearl1594 commented on pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
Pearl1594 commented on pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#issuecomment-801116626


   @blueorangutan test matrix
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] blueorangutan commented on pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#issuecomment-800432850


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


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] sureshanaparti commented on a change in pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
sureshanaparti commented on a change in pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#discussion_r595756559



##########
File path: plugins/hypervisors/vmware/src/main/java/com/cloud/hypervisor/vmware/resource/VmwareResource.java
##########
@@ -2072,6 +2072,8 @@ protected StartAnswer execute(StartCommand cmd) {
             //
             for (DiskTO vol : sortedDisks) {
                 if (vol.getType() == Volume.Type.ISO || deployAsIs && vol.getType() == Volume.Type.ROOT) {
+                    rootDiskTO = vol;
+                    resizeRootDiskOnVMStart(vmMo, rootDiskTO, hyperHost, context);

Review comment:
       @Pearl1594 is this required for ISO as well?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] blueorangutan commented on pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#issuecomment-801604500


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


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] nvazquez commented on a change in pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
nvazquez commented on a change in pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#discussion_r598676065



##########
File path: ui/public/locales/en.json
##########
@@ -1986,6 +1987,7 @@
 "label.start.rolling.maintenance": "Start Rolling Maintenance",
 "label.start.rolling.maintenance.payload": "Payload",
 "label.start.vlan": "Start VLAN",
+"label.start.vm": "Start VM",

Review comment:
       May not be needed, can we use the existing 'label.action.start.instance' instead?

##########
File path: ui/public/locales/en.json
##########
@@ -1807,6 +1807,7 @@
 "label.rolename": "Role",
 "label.roles": "Roles",
 "label.roletype": "Role Type",
+"label.rootdisksize": "Root disk size (GB)",

Review comment:
       Also may not be needed, can we use 'label.root.disk.size' instead? Is this one being used?

##########
File path: ui/src/views/compute/DeployVM.vue
##########
@@ -543,6 +545,9 @@
                         :options="keyboardSelectOptions"
                       ></a-select>
                     </a-form-item>
+                    <a-form-item :label="$t('label.start.vm')">

Review comment:
       As above: what about 'label.action.start.instance' here?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] Pearl1594 commented on pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
Pearl1594 commented on pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#issuecomment-803782892


   @blueorangutan package


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] Pearl1594 commented on pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
Pearl1594 commented on pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#issuecomment-801030561


   @blueorangutan package


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] blueorangutan commented on pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#issuecomment-808181400


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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] Pearl1594 commented on pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
Pearl1594 commented on pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#issuecomment-803803423


   @blueorangutan test centos7 vmware-67u3


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] rhtyd commented on pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
rhtyd commented on pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#issuecomment-805554231


   With @shwstppr to manually test it


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] Pearl1594 commented on pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
Pearl1594 commented on pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#issuecomment-801084752


   @blueorangutan package


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] rhtyd commented on pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
rhtyd commented on pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#issuecomment-805552292


   Tests LGTM


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] blueorangutan commented on pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#issuecomment-804857772


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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] Pearl1594 commented on a change in pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
Pearl1594 commented on a change in pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#discussion_r598440977



##########
File path: server/src/main/java/com/cloud/vm/UserVmManagerImpl.java
##########
@@ -5266,6 +5270,16 @@ public UserVm createVirtualMachine(DeployVMCmd cmd) throws InsufficientCapacityE
             throw new InvalidParameterValueException("Unable to use template " + templateId);
         }
 
+        ServiceOfferingJoinVO svcOffering = serviceOfferingJoinDao.findById(serviceOfferingId);
+

Review comment:
       @sureshanaparti done




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] nvazquez commented on pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
nvazquez commented on pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#issuecomment-800432308


   @blueorangutan package


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] Pearl1594 commented on pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
Pearl1594 commented on pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#issuecomment-808180834


   @blueorangutan package


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] blueorangutan commented on pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#issuecomment-804879885


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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] blueorangutan commented on pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#issuecomment-801111811


   Packaging result: :heavy_check_mark: centos7 :heavy_check_mark: centos8 :heavy_check_mark: debian. SL-JID 160


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] blueorangutan commented on pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#issuecomment-805317921


   <b>Trillian test result (tid-227)</b>
   Environment: xenserver-71 (x2), Advanced Networking with Mgmt server 7
   Total time taken: 33443 seconds
   Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4829-t227-xenserver-71.zip
   Intermittent failure detected: /marvin/tests/smoke/test_scale_vm.py
   Smoke tests completed. 85 look OK, 1 have error(s)
   Only failed tests results shown below:
   
   
   Test | Result | Time (s) | Test File
   --- | --- | --- | ---
   test_01_scale_vm | `Failure` | 12.27 | test_scale_vm.py
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] Pearl1594 commented on pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
Pearl1594 commented on pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#issuecomment-804857490


   @blueorangutan package


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] blueorangutan commented on pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#issuecomment-803783044


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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] rhtyd merged pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
rhtyd merged pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] Pearl1594 commented on pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
Pearl1594 commented on pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#issuecomment-800351082


   @blueorangutan package
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] blueorangutan commented on pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#issuecomment-800453773


   Packaging result: :heavy_check_mark: centos7 :heavy_multiplication_x: centos8 :heavy_check_mark: debian. SL-JID 141


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] blueorangutan commented on pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#issuecomment-801085049


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


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] blueorangutan commented on pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#issuecomment-805397987


   <b>Trillian test result (tid-229)</b>
   Environment: vmware-65u2 (x2), Advanced Networking with Mgmt server 7
   Total time taken: 42211 seconds
   Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4829-t229-vmware-65u2.zip
   Intermittent failure detected: /marvin/tests/smoke/test_internal_lb.py
   Intermittent failure detected: /marvin/tests/smoke/test_kubernetes_clusters.py
   Intermittent failure detected: /marvin/tests/smoke/test_vm_life_cycle.py
   Smoke tests completed. 84 look OK, 2 have error(s)
   Only failed tests results shown below:
   
   
   Test | Result | Time (s) | Test File
   --- | --- | --- | ---
   test_03_deploy_and_upgrade_kubernetes_cluster | `Failure` | 796.21 | test_kubernetes_clusters.py
   ContextSuite context=TestVAppsVM>:setup | `Error` | 43.39 | test_vm_life_cycle.py
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] blueorangutan commented on pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#issuecomment-801055599


   Packaging result: :heavy_check_mark: centos7 :heavy_multiplication_x: centos8 :heavy_multiplication_x: debian. SL-JID 156


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] Pearl1594 commented on a change in pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
Pearl1594 commented on a change in pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#discussion_r599516323



##########
File path: ui/src/views/compute/DeployVM.vue
##########
@@ -543,6 +545,9 @@
                         :options="keyboardSelectOptions"
                       ></a-select>
                     </a-form-item>
+                    <a-form-item :label="$t('label.start.vm')">

Review comment:
       done @nvazquez 




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] blueorangutan commented on pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#issuecomment-801031034


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


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] blueorangutan commented on pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#issuecomment-808195702


   Packaging result: :heavy_check_mark: centos7 :heavy_check_mark: centos8 :heavy_check_mark: debian. SL-JID 267


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] Pearl1594 commented on a change in pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
Pearl1594 commented on a change in pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#discussion_r595898338



##########
File path: plugins/hypervisors/vmware/src/main/java/com/cloud/hypervisor/vmware/resource/VmwareResource.java
##########
@@ -2072,6 +2072,8 @@ protected StartAnswer execute(StartCommand cmd) {
             //
             for (DiskTO vol : sortedDisks) {
                 if (vol.getType() == Volume.Type.ISO || deployAsIs && vol.getType() == Volume.Type.ROOT) {
+                    rootDiskTO = vol;
+                    resizeRootDiskOnVMStart(vmMo, rootDiskTO, hyperHost, context);

Review comment:
       Thanks @sureshanaparti It's not required for ISO , have made the necessary change.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] blueorangutan commented on pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#issuecomment-800329266


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


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] blueorangutan commented on pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#issuecomment-801061299


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


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] blueorangutan commented on pull request #4829: volume resize: Fix issue with volume resize on VMWare (deploy as-is templates)

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4829:
URL: https://github.com/apache/cloudstack/pull/4829#issuecomment-804875561


   Packaging result: :heavy_check_mark: centos7 :heavy_check_mark: centos8 :heavy_check_mark: debian. SL-JID 208


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org