| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
@Pearl1594 a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. [S] |
Sorry, something went wrong.
|
Packaging result: ✖️ centos7 ✖️ centos8 ✖️ debian. SL-JID 138 |
Sorry, something went wrong.
|
@Pearl1594 a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. [S] |
Sorry, something went wrong.
|
Packaging result: ✖️ centos7 ✖️ centos8 ✔️ debian. SL-JID 140 |
Sorry, something went wrong.
|
@nvazquez a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. [S] |
Sorry, something went wrong.
|
Packaging result: ✔️ centos7 ✖️ centos8 ✔️ debian. SL-JID 141 |
Sorry, something went wrong.
There was a problem hiding this comment.
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?
Sorry, something went wrong.
| for (DiskTO vol : sortedDisks) { | ||
| if (vol.getType() == Volume.Type.ISO || deployAsIs && vol.getType() == Volume.Type.ROOT) { | ||
| rootDiskTO = vol; | ||
| resizeRootDiskOnVMStart(vmMo, rootDiskTO, hyperHost, context); |
There was a problem hiding this comment.
@Pearl1594 is this required for ISO as well?
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks @sureshanaparti It's not required for ISO , have made the necessary change.
Sorry, something went wrong.
@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. |
Sorry, something went wrong.
|
@Pearl1594 a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. [S] |
Sorry, something went wrong.
|
Packaging result: ✔️ centos7 ✖️ centos8 ✖️ debian. SL-JID 156 |
Sorry, something went wrong.
|
@Pearl1594 a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. [S] |
Sorry, something went wrong.
|
Packaging result: ✖️ centos7 ✔️ centos8 ✔️ debian. SL-JID 158 |
Sorry, something went wrong.
|
@Pearl1594 a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. [S] |
Sorry, something went wrong.
|
Packaging result: ✔️ centos7 ✔️ centos8 ✔️ debian. SL-JID 160 |
Sorry, something went wrong.
|
@Pearl1594 a Trillian-Jenkins matrix job (centos7 mgmt + xs71, centos7 mgmt + vmware65, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests [S] |
Sorry, something went wrong.
|
@Pearl1594 a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests |
Sorry, something went wrong.
|
@Pearl1594 a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
Sorry, something went wrong.
|
Packaging result: ✔️ centos7 ✔️ centos8 ✔️ debian. SL-JID 208 |
Sorry, something went wrong.
|
@Pearl1594 a Trillian-Jenkins matrix job (centos7 mgmt + xs71, centos7 mgmt + vmware65, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests |
Sorry, something went wrong.
|
Trillian test result (tid-227)
|
Sorry, something went wrong.
|
Trillian test result (tid-228)
|
Sorry, something went wrong.
|
Trillian test result (tid-229)
|
Sorry, something went wrong.
There was a problem hiding this comment.
code LGTM
Sorry, something went wrong.
|
Tests LGTM |
Sorry, something went wrong.
There was a problem hiding this comment.
Tested on VMware 65u2 env. Works fine.
UI disables Root disk resize option for newly registered templates unlike earlier where it was shown but not honoured.
Earlier

Now

Sorry, something went wrong.
|
@Pearl1594 a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
Sorry, something went wrong.
|
Packaging result: ✔️ centos7 ✔️ centos8 ✔️ debian. SL-JID 267 |
Sorry, something went wrong.
|
@blueorangutan test centos7 vmware-67u3 |
Sorry, something went wrong.
|
@Pearl1594 a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM. Tested CKS node root disk resize with latest changes
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
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):
Types of changes
Feature/Enhancement Scale or Bug Severity
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
Prior to the fix:
Deployed a VM in stopped state, resized volume from 3GB to 8GB

While the UI shows that the Volume is resized, the root volume inside the VM doesn't seem to have gotten resized:

Post fix
Deployed a VM in stopped state, resized the volume from 3GB to 8GB

Notice that the volume size as shown in the UI complies with the value inside the VM
Or verify the same on vcenter