Mike Tutkowski created CLOUDSTACK-6815:
------------------------------------------

             Summary: CallContext contains incorrect UUID for Account
                 Key: CLOUDSTACK-6815
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6815
             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
             Fix For: Future


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
(v6.2#6252)

Reply via email to