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:33:07 UTC

[GitHub] [cloudstack] weizhouapache opened a new issue #5742: Exception while reboot VM with forced=true by normal user

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


   Got an exception
   
   Reboot Instance
   (L2) Parameter hostid can only be specified by a Root Admin, permission denied
   
   ```
   2021-12-02 09:28:37,287 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-30:ctx-91fdb9c8 job-48) (logid:ee2cf4f6) Unexpected exception while executing org.apache.cloudstack.api.command.user.vm.RebootVMCmd
   com.cloud.exception.PermissionDeniedException: Parameter hostid can only be specified by a Root Admin, permission denied
           at com.cloud.vm.UserVmManagerImpl.getDestinationHost(UserVmManagerImpl.java:5278)
           at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:5121)
           at com.cloud.vm.UserVmManagerImpl.forceRebootVirtualMachine(UserVmManagerImpl.java:1081)
           at com.cloud.vm.UserVmManagerImpl.rebootVirtualMachine(UserVmManagerImpl.java:1026)
           at com.cloud.vm.UserVmManagerImpl.rebootVirtualMachine(UserVmManagerImpl.java:3130)
           at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   ```
   
   ##### 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 commented on issue #5742: Exception while reboot VM with forced=true by normal user

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


   Closing this as the fix PR got merged. @weizhouapache If you still notice this issue, please reopen. Thanks.


-- 
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] weizhouapache commented on issue #5742: Exception while reboot VM with forced=true by normal user

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


   > Closing this as the fix PR got merged. @weizhouapache If you still notice this issue, please reopen. Thanks.
   
   thanks for fixing it @sureshanaparti 


-- 
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 #5742: Exception while reboot VM with forced=true by normal user

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


   


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