You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "midhunpjos (via GitHub)" <gi...@apache.org> on 2023/12/22 04:54:44 UTC

[I] Resize Root Disk | compute offering with Disk offering strictness > true [cloudstack]

midhunpjos opened a new issue, #8400:
URL: https://github.com/apache/cloudstack/issues/8400

   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and main branch are affected too.
   Always add information AFTER of these HTML comments, but no need to delete the comments.
   -->
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
   
   ##### COMPONENT NAME
   <!--
   
   -->
   ~~~
   UI
   Compute Offerings
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on main branch.
   -->
   
   ~~~
   4.18.1
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, advanced networking, etc.  N/A otherwise
   -->
   
   ACS 4.18.1 Hypervisor XCP-ng
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   ACS 4.18.1 on Ubuntu Hypervisor XCP-ng
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   Resizing Root Disk after VM deployment is possible after VM deployed with compute offering with Disk offering strictness as true
   
   ##### STEPS TO REPRODUCE
   <!--
   For bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate.
   
   For new features, show how the feature would be used.
   -->
   
   <!-- Paste example playbooks or commands between quotes below -->
   ~~~
   Create Compute Offering
   set root disk size 
   enable Disk offering strictness
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   Once the VM is deployed We should not be able to change ROOT volume size
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   Select Root Disk,
   Select resize volume and update to higher value
   Root Disk is getting upgraded to new size
   
   ~~~
   


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

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org.apache.org

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


Re: [I] Resize Root Disk | compute offering with Disk offering strictness > true [cloudstack]

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #8400:
URL: https://github.com/apache/cloudstack/issues/8400#issuecomment-1903883944

   closing according to submitter comment.


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

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

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


Re: [I] Resize Root Disk | compute offering with Disk offering strictness > true [cloudstack]

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland closed issue #8400: Resize Root Disk | compute offering with Disk offering strictness > true
URL: https://github.com/apache/cloudstack/issues/8400


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

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

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


Re: [I] Resize Root Disk | compute offering with Disk offering strictness > true [cloudstack]

Posted by "midhunpjos (via GitHub)" <gi...@apache.org>.
midhunpjos commented on issue #8400:
URL: https://github.com/apache/cloudstack/issues/8400#issuecomment-1867315815

   > @midhunpjos You are looking for way to restrict volume resizing?
   
   Yes. Exactly. Its better to restrict the resizing too. right ?


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

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

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


Re: [I] Resize Root Disk | compute offering with Disk offering strictness > true [cloudstack]

Posted by "rajujith (via GitHub)" <gi...@apache.org>.
rajujith commented on issue #8400:
URL: https://github.com/apache/cloudstack/issues/8400#issuecomment-1867281214

   @midhunpjos  this property on compute offering is expected to restrict the resize volume? it is expected only to restrict changing the disk offering right? I haven't tried it myself though. 
   
   > diskofferingstrictness
   > 	True/False to indicate the strictness of the disk offering association with the compute offering. When set to true, override of disk offering is not allowed when VM is deployed and change disk offering is not allowed for the ROOT disk after the VM is deployed
   


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

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

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


Re: [I] Resize Root Disk | compute offering with Disk offering strictness > true [cloudstack]

Posted by "rajujith (via GitHub)" <gi...@apache.org>.
rajujith commented on issue #8400:
URL: https://github.com/apache/cloudstack/issues/8400#issuecomment-1867303040

   @midhunpjos  You are looking for way to restrict volume resizing? 


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

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

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


Re: [I] Resize Root Disk | compute offering with Disk offering strictness > true [cloudstack]

Posted by "midhunpjos (via GitHub)" <gi...@apache.org>.
midhunpjos commented on issue #8400:
URL: https://github.com/apache/cloudstack/issues/8400#issuecomment-1867360105

    thanks @sureshanaparti for the comments. This will solve my concern..


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

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

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


Re: [I] Resize Root Disk | compute offering with Disk offering strictness > true [cloudstack]

Posted by "midhunpjos (via GitHub)" <gi...@apache.org>.
midhunpjos commented on issue #8400:
URL: https://github.com/apache/cloudstack/issues/8400#issuecomment-1867292877

   > @midhunpjos this property on compute offering is expected to restrict the resize volume? it is expected only to restrict changing the disk offering right? I haven't tried it myself though.
   > 
   > > diskofferingstrictness
   > > True/False to indicate the strictness of the disk offering association with the compute offering. When set to true, override of disk offering is not allowed when VM is deployed and change disk offering is not allowed for the ROOT disk after the VM is deployed
   
   @rajujith But resizing a disk almost approximates to change offering. 
   Can this be considered as an enhancement?  
   
   


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

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

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


Re: [I] Resize Root Disk | compute offering with Disk offering strictness > true [cloudstack]

Posted by "sureshanaparti (via GitHub)" <gi...@apache.org>.
sureshanaparti commented on issue #8400:
URL: https://github.com/apache/cloudstack/issues/8400#issuecomment-1867332263

   @midhunpjos @rajujith Volume resize restriction check is there when disk size strictness is enabled, but not for disk offering strictness. I think, you have to enable the disk size strictness for the disk offering associated to the compute/service offering.
   
   https://github.com/apache/cloudstack/blob/ab808995ffe76a2a308d91bbc761693538cfa0dd/server/src/main/java/com/cloud/storage/VolumeApiServiceImpl.java#L1116-L1119


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

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

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