cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daan Hoogland <daan.hoogl...@gmail.com>
Subject Re: [QUESTION] CallContext
Date Fri, 30 May 2014 20:50:36 GMT
h Mike, sounds like a bug to me :)

On Fri, May 30, 2014 at 8:14 PM, Mike Tutkowski
<mike.tutkowski@solidfire.com> wrote:
> Any thoughts on this?
>
> Thanks! :)
>
>
> On Sat, May 24, 2014 at 10:39 PM, Mike Tutkowski <
> mike.tutkowski@solidfire.com> wrote:
>
>> 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!
>>
>> --
>> *Mike Tutkowski*
>> *Senior CloudStack Developer, SolidFire Inc.*
>> e: mike.tutkowski@solidfire.com
>> o: 303.746.7302
>> Advancing the way the world uses the cloud
>> <http://solidfire.com/solution/overview/?video=play>*™*
>>
>
>
>
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkowski@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the cloud
> <http://solidfire.com/solution/overview/?video=play>*™*



-- 
Daan

Mime
View raw message