Prachi Damle created CLOUDSTACK-7047:
----------------------------------------

             Summary: DeploymentPlanner should include disabled resources only 
when the VM owner is Admin account
                 Key: CLOUDSTACK-7047
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7047
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Management Server
            Reporter: Prachi Damle
            Assignee: Prachi Damle
             Fix For: 4.4.0, 4.5.0


Currently planner includes the disabled resources if caller of the deployVM API 
is admin. So if admin calls the API on behalf of a user (by passing in account 
and domainid of user) then disabled resources get included in the planning 
search. This is not right as the VM owner is a user account and the VM should 
not go to disabled resources then.

Fix needed: DeploymentPlanner should include disabled resources only when the 
VM owner is Admin account. The disabled resources should be ignored when VM is 
owned by any other user.




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to