cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CLOUDSTACK-9198) VR gets created in the disabled POD
Date Thu, 14 Jan 2016 11:36:39 GMT


ASF GitHub Bot commented on CLOUDSTACK-9198:

Github user rafaelweingartner commented on the pull request:
    @anshul1886 I did not understand what you wanted to express presenting those commits,
would you care to explain? I noticed the commits you pointed out, are pretty old and do not
correspond to the code we have in master branch today.
    The Point that @GabrielBrascher touched makes sense to me, have you looked at the piece
of code he pointed at?
    I looked at the code, the variables you changed are not used. If they should be used,
that has to be properly coded, if not, they should be removed.
    In details for you:
    You changed the method,
to use the called user as the one returned by the code “_accountMgr.getActiveUser(CallContext.current().getCallingUserId())”
and the Account by the one returned by the method“CallContext.current().getCallingAccount();”.
    Then, at line 336, it is called the method “,
User, Account, Map<Param, Object>)” with the aforementioned variables you changed.
That method does not use either one use of those variables you changed, it only uses them
to execute the method “,
User, Account, Map<Param, Object>, DeploymentPlan)”. Those executions occur at lines
349, 387 or 412, depending on some logic.
    After that, the method “,
User, Account, Map<Param, Object>, DeploymentPlan)”, receives its parameters and performs
its job. However, it does not use the  “User” and “Account” parameters in any of its
    At the end, the variables were not being used before your change and they are not being
used now. Therefore, I do not see how that simple change can solve a problem.
    Do you intend to alter the code of “,
User, Account, Map<Param, Object>, DeploymentPlan)” too ?

> VR gets created in the disabled POD
> -----------------------------------
>                 Key: CLOUDSTACK-9198
>                 URL:
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>            Reporter: Anshul Gangwar
>            Assignee: Anshul Gangwar
> VR gets created in the disabled POD

This message was sent by Atlassian JIRA

View raw message