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 Tue, 07 Mar 2017 06:57:32 GMT


ASF GitHub Bot commented on CLOUDSTACK-9198:

Github user anshul1886 commented on the issue:
    @rafaelweingartner, Basically CallContext.current().getCallingAccount(); is setting the
proper context which is later used. If you have observed in code all the api calls have a
similar call before proceeding further. One random example:
     @ActionEvent(eventType = EventTypes.EVENT_VOLUME_UPLOAD, eventDescription = "uploading
volume", async = true)
        public VolumeVO uploadVolume(UploadVolumeCmd cmd) throws ResourceAllocationException
            Account caller = CallContext.current().getCallingAccount(); 
    For more details refer
and commits 7928963 and 11e1e58  which I have mentioned earlier.
    Hopefully this clears your doubts.

> 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