Skip to content

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'  #2736

@borisstoyanov

Description

@borisstoyanov
ISSUE TYPE
  • Bug Report
COMPONENT NAME
VM handler 

CLOUDSTACK VERSION
4.11
SUMMARY

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
  1. Start a VM on HostA
  2. With cloudmonkey, start the same VM on HostB
  3. Observe the result
EXPECTED RESULTS
Response should fail the job and say VM is already in the same state. 
ACTUAL RESULTS
Job succeeds with VM not being the requested host 

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions