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/09/20 14:08:19 UTC

[GitHub] [cloudstack] borisstoyanov opened a new issue, #6753: Starting a running VM prompts resource limitation error - Error message improvement

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

   <!--
   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
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   API
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on main branch.
   -->
   4.17
   ~~~
   
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, advanced networking, etc.  N/A otherwise
   -->
   In a project
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   When starting an already running VM it prompts a resource limitation error, which is misleading
   
   ##### 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 -->
   ~~~
   1. Create a project with -1 on all resources2. 
   2. add Account to the project with 0 on all resource limits on account level
   3. deploy a VM 
   4. While VM is running start the VM once more from API
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   list VM response 
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   error message for limitation 
   "Maximum amount of resources of Type = 'cpu' for Account Name = ily96114 in Domain Id = 1 is exceeded: Account Resource Limit = 0, Current Account Resource Amount = 0, Requested Amount = 4"
   ~~~
   


-- 
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] DaanHoogland commented on issue #6753: Starting a running VM prompts resource limitation error - Error message improvement

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

   my bad @rohityadavcloud I was doing to many things at once.
   
   @borisstoyanov I tried your scenario above but got the output:
   ```
   (localcloud) 🐱 > start virtualmachine id=e5c51afc-a77c-4bbc-addb-394ca4d6c1ac
   {
     "accountid": "32450c11-3d7d-11ed-97a0-1e00c400015e",
     "cmd": "org.apache.cloudstack.api.command.admin.vm.StartVMCmdByAdmin",
     "completed": "2022-09-26T10:12:25+0000",
     "created": "2022-09-26T10:12:25+0000",
     "jobid": "86b3eeaf-dda0-45ab-9ae5-d31d12a21cb0",
     "jobinstanceid": "e5c51afc-a77c-4bbc-addb-394ca4d6c1ac",
     "jobinstancetype": "VirtualMachine",
     "jobprocstatus": 0,
     "jobresult": {
       "errorcode": 431,
       "errortext": "The virtual machine e5c51afc-a77c-4bbc-addb-394ca4d6c1ac (VM-e5c51afc-a77c-4bbc-addb-394ca4d6c1ac) is already running"
     },
     "jobresultcode": 530,
     "jobresulttype": "object",
     "jobstatus": 2,
     "userid": "32461823-3d7d-11ed-97a0-1e00c400015e"
   }
   ```
   which seems right to me. Is there some extra condition that you forgot to mention?


-- 
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] blueorangutan commented on issue #6753: Starting a running VM prompts resource limitation error - Error message improvement

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

   Packaging result: :heavy_multiplication_x: el7 :heavy_multiplication_x: el8 :heavy_multiplication_x: debian :heavy_multiplication_x: suse15. LL-JID 145


-- 
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] rohityadavcloud commented on issue #6753: Starting a running VM prompts resource limitation error - Error message improvement

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

   The user from whose env led this ticket has asked me to close this ticket:
   
   _This incident could be solved for us by turning the related VM off, so i do not see anymore problems here. There was no intention from our side to raise a bug-report here, so please don't hesitate to close the issue on github._


-- 
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] borisstoyanov commented on issue #6753: Starting a running VM prompts resource limitation error - Error message improvement

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

   not sure if I do @DaanHoogland, that's all I was reported. 


-- 
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] rohityadavcloud closed issue #6753: Starting a running VM prompts resource limitation error - Error message improvement

Posted by GitBox <gi...@apache.org>.
rohityadavcloud closed issue #6753: Starting a running VM prompts resource limitation error - Error message improvement
URL: https://github.com/apache/cloudstack/issues/6753


-- 
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] rohityadavcloud commented on issue #6753: Starting a running VM prompts resource limitation error - Error message improvement

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

   Something went wrong, BO is reporting pkg fail on an issue? cc @davidjumani @Pearl1594 @DaanHoogland 


-- 
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] Pearl1594 commented on issue #6753: Starting a running VM prompts resource limitation error - Error message improvement

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

   seems like it was manually triggered from the backend - and the wrong PR ID was provided .. 


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