[
https://issues.apache.org/jira/browse/CLOUDSTACK-7047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14051483#comment-14051483
]
ASF subversion and git services commented on CLOUDSTACK-7047:
-------------------------------------------------------------
Commit 29b09b1e21132d1c6c2739dbd0df99d895aef039 in cloudstack's branch
refs/heads/4.4 from [~prachidamle]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=29b09b1 ]
CLOUDSTACK-7047: DeploymentPlanner should include disabled resources only when
the VM owner is Admin account
Changes:
- removing unused imports
Conflicts:
server/src/com/cloud/deploy/DeploymentPlanningManagerImpl.java
(cherry picked from commit f37b1524892ab805615dbff2c59e5a1d10c116d3)
> 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)