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