cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Tutkowski (JIRA)" <>
Subject [jira] [Commented] (CLOUDSTACK-6815) CallContext contains incorrect UUID for Account
Date Fri, 25 Jul 2014 03:51:39 GMT


Mike Tutkowski commented on CLOUDSTACK-6815:

Thanks for taking a look, Alena!

It seems perhaps that this issue has been corrected at some point since I logged the ticket
because I went ahead and re-ran the scenario with a breakpoint set and observed that the UUID
was correct.

> CallContext contains incorrect UUID for Account
> -----------------------------------------------
>                 Key: CLOUDSTACK-6815
>                 URL:
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.4.0
>         Environment: Ubuntu 12.04
>            Reporter: Mike Tutkowski
>            Assignee: Alena Prokharchyk
>             Fix For: 4.5.0
> Copy/paste of an e-mail I sent to CloudStack dev@:
> Hi,
> I noticed while executing the createStoragePool command that the following does not work
entirely as expected:
> Account csAccount = CallContext.current().getCallingAccount();
> The Account that is returned has the expected name and id, but its UUID is not correct.
> For example, I see the account name of "admin" and an id of "2" (in my case, both are
correct); however, the UUID is different each time I run the createStoragePool command.
> I assume the UUID should be what's in the account table for the applicable row, right?
> Anyone have any thoughts on this?
> Thanks!

This message was sent by Atlassian JIRA

View raw message