You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
vm created by ISO cannot resize the root disk size #4827
VM created by ISO cannot resize the root disk size.
Error:
Failed to resize Root volume. The service offering of this Volume has been configured with a root disk size; on such case a Root Volume can only be resized when changing to another Service Offering with a Root disk size. For more details please check out the Official Resizing Volumes documentation.
1. Create serviceoffering, name=iso-1c-1g, (do not set rootdisksize.)
2. Deploy the VM using ISO, name=iso-vm01, and use serviceoffering=iso-1c-1g.
3.stop vm iso-vm01.
4.resize iso-vm01 root disk size to 100G(size=120&id=ebe7be07-5276-4e38-8563-64d47ae83972&command=resizeVolume&response=json)
EXPECTED RESULTS
vm root disk size changed to 120G
ACTUAL RESULTS
Task execution failed
The root disk size has not changed.
API throws an error:
Failed to resize Root volume. The service offering of this Volume has been configured with a root disk size; on such case a Root Volume can only be resized when changing to another Service Offering with a Root disk size. For more details please check out the Official Resizing Volumes documentation.
Activity
yadvr commentedon Mar 17, 2021
@Pearl1594 can you check if your PR/fix addresses the case of ISO?
Pearl1594 commentedon Mar 17, 2021
@rhtyd I've added a fix to allow resizing of Root volume of a VM deployed from an ISO - 1c3fc3c.
div8cn commentedon Mar 17, 2021
I verified the commit 1c3fc3c
It solved the problem.
thank @Pearl1594 @rhtyd
yadvr commentedon Mar 18, 2021
@Pearl1594 is that commit part of your PR or already merged?
Pearl1594 commentedon Mar 18, 2021
It's part of PR #4829 - which hasn't yet been merged. Would you prefer me raising a separate PR to fix this? @rhtyd
yadvr commentedon Mar 30, 2021
Fixed in #4829