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 2022/08/10 13:05:05 UTC

[GitHub] [cloudstack] cdfgallo opened a new issue, #6627: Error while changing the compute offering on a vm

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

   <!--
   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
   ~~~
   
   ##### CLOUDSTACK VERSION
   
   ~~~
   4.17.0.1 on CentOS 7
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, advanced networking, etc.  N/A otherwise
   -->
   N/A
   
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   CentOS 7
   
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   
   When change the compute offering on a VM from the UI it fails with error "You cannot pass in a custom disk size to a non-custom disk offering.". This happens with every time you change the compute offering through the cloudstack web UI.
   This seems to happens because it send via API the parameter "details[0].rootdisksize" which cause the issue.
   A workaround we found is to write "null" in the disk size parameter when changing the compute offering
   
   ##### STEPS TO REPRODUCE
   
   <!-- Paste example playbooks or commands between quotes below -->
   ~~~
   Change a compute offering through cloudstack web UI on a powered off vm
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   The compute offering is changed
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   error "You cannot pass in a custom disk size to a non-custom disk offering."
   ~~~
   


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


[GitHub] [cloudstack] shwstppr closed issue #6627: Error while changing the compute offering on a vm

Posted by GitBox <gi...@apache.org>.
shwstppr closed issue #6627: Error while changing the compute offering on a vm
URL: https://github.com/apache/cloudstack/issues/6627


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


[GitHub] [cloudstack] vdombrovski commented on issue #6627: Error while changing the compute offering on a vm

Posted by GitBox <gi...@apache.org>.
vdombrovski commented on issue #6627:
URL: https://github.com/apache/cloudstack/issues/6627#issuecomment-1258019484

   The issue still persists it seems, can we reopen this please?
   
   Referencing this file: https://github.com/shapeblue/cloudstack/blob/e00ced7a7d4d45d8bfa455599385238ebedf72f3/ui/src/views/compute/ScaleVM.vue
   
   There seems to be a condition where **updateComputeOffering** triggers before **@update-disk-size="updateFieldValue"** which sets the rootdisksize once again. It would seem much better to handle the action on submit instead (for example, when rootdisksize=0)
   
   Test that works:
   
   - Scale -> Select offering on page 2 -> submit
   
   Test that doesn't work:
   
   - Scale -> Select offering on page 1 -> submit
   
   Tested on Firefox (v.105) and Chrome (v.100)
   


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


[GitHub] [cloudstack] shwstppr commented on issue #6627: Error while changing the compute offering on a vm

Posted by GitBox <gi...@apache.org>.
shwstppr commented on issue #6627:
URL: https://github.com/apache/cloudstack/issues/6627#issuecomment-1216192317

   Fixed #6636 
   Please re-open if the issue still persists


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


[GitHub] [cloudstack] shwstppr commented on issue #6627: Error while changing the compute offering on a vm

Posted by GitBox <gi...@apache.org>.
shwstppr commented on issue #6627:
URL: https://github.com/apache/cloudstack/issues/6627#issuecomment-1299787882

   @vdombrovski can you please share complete reproduction steps


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