borisstoyanov opened a new issue #2736: If a VM resource is requested to 
transition in a state where it's already in, it returns success, instead it 
should return 'the resource is in the same state' 
URL: https://github.com/apache/cloudstack/issues/2736
 
 
   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and master 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
   <!--
   -->
   ~~~
   VM handler 
   
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on master 
branch.
   -->
   
   ~~~
   4.11
   ~~~
   
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   If a VM is already running on HostA and the Admin requests a Start on HostB, 
it will return a success with the VM being started on HostA. Instead it should 
return an error to the administrator that the resource is already in running 
state.
   
   ##### 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.
   -->
   1. Start a VM on HostA
   2. With cloudmonkey, start the same VM on HostB
   3. Observe the result
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   Response should fail the job and say VM is already in the same state. 
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   Job succeeds with VM not being the requested host 
   ~~~
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to