Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A3AE11018D for ; Fri, 30 May 2014 18:14:33 +0000 (UTC) Received: (qmail 16499 invoked by uid 500); 30 May 2014 18:14:33 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 16459 invoked by uid 500); 30 May 2014 18:14:33 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 16450 invoked by uid 99); 30 May 2014 18:14:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 May 2014 18:14:33 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mike.tutkowski@solidfire.com designates 209.85.219.54 as permitted sender) Received: from [209.85.219.54] (HELO mail-oa0-f54.google.com) (209.85.219.54) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 May 2014 18:14:28 +0000 Received: by mail-oa0-f54.google.com with SMTP id j17so2228681oag.13 for ; Fri, 30 May 2014 11:14:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=SObQPugvwuNi36YehRL+90uYAJFvWzTAc1ilj96OwoU=; b=JwbEfwW88/2T5wtBqynI0gBDeRW3c4Q+9iW5vjpkaba67Rf3dGdV03wCSYCWUDdwZe UCculWi3w/KiT1FwZ+2IK3m30V+feYWIZm2JV/l98w9jckRdRpQByfqzU2WbyAfEMZas JqRUtY0qyDkHV3D775DQaxMY8cBpUsKVdnJsLDLNxbhr+RKjIYtU8JeChPV4M3fKVEW7 kjmRjAZLntIYGf7h9pb2z8dkg1t9YILW5B6GfnlTi3z6xhfT/0alj3Ly3ripotXHWdkz wvxTOh3K4h71XZkqV2nxqNz97vVvkRBWdrjd1q0heFI/FDe+Yo2NE8IbmIlmEzVz0q2m +9Yg== X-Gm-Message-State: ALoCoQnKPqeri3XpUbDVO27nE4mCp4UK0wgHdPELXNZ96/gU/IA3Gwoql1IQpAskOKxBZK8y1jMg MIME-Version: 1.0 X-Received: by 10.182.38.199 with SMTP id i7mr19559885obk.68.1401473647715; Fri, 30 May 2014 11:14:07 -0700 (PDT) Received: by 10.182.73.197 with HTTP; Fri, 30 May 2014 11:14:07 -0700 (PDT) In-Reply-To: References: Date: Fri, 30 May 2014 12:14:07 -0600 Message-ID: Subject: Re: [QUESTION] CallContext From: Mike Tutkowski To: "dev@cloudstack.apache.org" Content-Type: multipart/alternative; boundary=001a11c32ddcef78ee04faa20245 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c32ddcef78ee04faa20245 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 followin= g > does not work entirely as expected: > > Account csAccount =3D CallContext.current().getCallingAccount(); > > The Account that is returned has the expected name and id, but its UUID i= s > 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 t= he > createStoragePool command. > I assume the UUID should be what's in the account table for the applicabl= e > 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 > *=E2=84=A2* > --=20 *Mike Tutkowski* *Senior CloudStack Developer, SolidFire Inc.* e: mike.tutkowski@solidfire.com o: 303.746.7302 Advancing the way the world uses the cloud *=E2=84=A2* --001a11c32ddcef78ee04faa20245--