[
https://issues.apache.org/jira/browse/CLOUDSTACK-7047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14050930#comment-14050930
]
ASF subversion and git services commented on CLOUDSTACK-7047:
-------------------------------------------------------------
Commit 48574f2d606ebddb358457301a3dbaa896e9595c in cloudstack's branch
refs/heads/master from [~prachidamle]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=48574f2 ]
CLOUDSTACK-7047: DeploymentPlanner should include disabled resources only when
the VM owner is Admin account
Changes:
- removing unused imports
> 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)