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/12/02 09:39:57 UTC

[GitHub] [cloudstack] weizhouapache opened a new issue #5743: Exception while update vm with 'HA Enabled' checked

weizhouapache opened a new issue #5743:
URL: https://github.com/apache/cloudstack/issues/5743


   
   steps to reproduce the issue
   
   (1) create a vm from default compute offering 'Small Instance'
   (2) stop vm
   (3) update vm, check 'HA Enabled'
   
   Got an exception:
   ```
   2021-12-02 09:34:13,313 ERROR [c.c.a.ApiServer] (qtp1840903588-15:ctx-6d9864ce ctx-5d3387f4) (logid:ad4a7d0a) unhandled exception executing api command: [Ljava.lang.String;@4c4af26b
   com.cloud.utils.exception.CloudRuntimeException: Failed to update VM, due to: Can't enable ha for the vm as it's created from the Service offering having HA disabled
   	at org.apache.cloudstack.api.command.user.vm.UpdateVMCmd.execute(UpdateVMCmd.java:271)
   ```
   
   two options
   (1) fix it on UI 
   (2) remove the restriction in API
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
   
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   UI/API
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on main branch.
   -->
   
   ~~~
   4.16
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, advanced networking, etc.  N/A otherwise
   -->
   
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   
   
   ##### 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 -->
   ~~~
   
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   
   ~~~
   


-- 
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] sureshanaparti closed issue #5743: Exception while update vm with 'HA Enabled' checked

Posted by GitBox <gi...@apache.org>.
sureshanaparti closed issue #5743:
URL: https://github.com/apache/cloudstack/issues/5743


   


-- 
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] sureshanaparti commented on issue #5743: Exception while update vm with 'HA Enabled' checked

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


   Fixed in #5847 


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