Return-Path: X-Original-To: apmail-cloudstack-users-archive@www.apache.org Delivered-To: apmail-cloudstack-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7220810495 for ; Wed, 4 Mar 2015 19:45:44 +0000 (UTC) Received: (qmail 22109 invoked by uid 500); 4 Mar 2015 19:45:21 -0000 Delivered-To: apmail-cloudstack-users-archive@cloudstack.apache.org Received: (qmail 22061 invoked by uid 500); 4 Mar 2015 19:45:21 -0000 Mailing-List: contact users-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cloudstack.apache.org Delivered-To: mailing list users@cloudstack.apache.org Received: (qmail 22045 invoked by uid 99); 4 Mar 2015 19:45:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Mar 2015 19:45:21 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yzhang@marketo.com designates 173.203.187.117 as permitted sender) Received: from [173.203.187.117] (HELO smtp117.iad3a.emailsrvr.com) (173.203.187.117) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Mar 2015 19:45:14 +0000 Received: from smtp7.relay.iad3a.emailsrvr.com (localhost.localdomain [127.0.0.1]) by smtp7.relay.iad3a.emailsrvr.com (SMTP Server) with ESMTP id 847AE180455 for ; Wed, 4 Mar 2015 14:42:53 -0500 (EST) Received: from smtp192.mex07a.mlsrvr.com (unknown [67.192.133.128]) by smtp7.relay.iad3a.emailsrvr.com (SMTP Server) with ESMTPS id 58C6C1802FA for ; Wed, 4 Mar 2015 14:42:53 -0500 (EST) X-Sender-Id: yzhang@marketo.com Received: from smtp192.mex07a.mlsrvr.com ([UNAVAILABLE]. [67.192.133.128]) (using TLSv1 with cipher AES128-SHA) by 0.0.0.0:25 (trex/5.4.2); Wed, 04 Mar 2015 19:42:53 GMT Received: from DFW1MBX17.mex07a.mlsrvr.com ([169.254.2.156]) by DFW1HUB13.mex07a.mlsrvr.com ([::1]) with mapi; Wed, 4 Mar 2015 13:42:52 -0600 From: Yiping Zhang To: "users@cloudstack.apache.org" Date: Wed, 4 Mar 2015 13:42:49 -0600 Subject: how to assign an AffinityGroups to VM instances belonging to a project Thread-Topic: how to assign an AffinityGroups to VM instances belonging to a project Thread-Index: AdBWs2dh6vjNnZgmQrWtes+ZNhAIUA== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.2.3.120616 acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_D11CA03929F59yzhangmarketocom_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_D11CA03929F59yzhangmarketocom_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Hi, all: I am trying to assign an affinity group I just created to VM instances I am= creating under a project context, but I got following error: INFO [c.c.a.ApiServer] (catalina-exec-16:ctx-025997c3 ctx-7db7fbec) Permis= sionDenied: Entity AffinityGroup[f55a0c4e-c9f5-4498-b637-3523b6af46d9] and = entity Acct[d79defc7-529c-40ea-920d-75648f64f02b-PrjAcct-Infrastructure-3] = belong to different accounts on objs: [] Looking at the affinity group with uuid=3Df55a0c4e-c9f5-4498-b637-3523b6af4= 6d9, it belongs to my account. It seems that I can=92t create new affini= ty groups under project context (IOW, affinity group owned by a project, r= ather than owned by my own account). If I am not in any project, just in = =93Default View=94, then I can create VM instances and assign them to my af= finity group. How would one assign affinity groups to VM instance belonging to a project? Thanks, Yiping --_000_D11CA03929F59yzhangmarketocom_--