You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Yiping Zhang <yz...@marketo.com> on 2015/03/04 20:42:49 UTC

how to assign an AffinityGroups to VM instances belonging to a project

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) PermissionDenied: 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=f55a0c4e-c9f5-4498-b637-3523b6af46d9, it belongs to my account.    It seems that I can’t create new affinity groups under project context (IOW, affinity group  owned by a project, rather than owned by my own account).  If I am not in any project, just in “Default View”, then I can create VM instances and assign them to my affinity group.

How would one assign affinity groups to VM instance belonging to a project?

Thanks,

Yiping

Re: how to assign an AffinityGroups to VM instances belonging to a project

Posted by Nux! <nu...@li.nux.ro>.
"Vote" for it, there's a link for that on the right, might require you're logged in to Jira.

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

----- Original Message -----
> From: "Yiping Zhang" <yz...@marketo.com>
> To: users@cloudstack.apache.org
> Sent: Thursday, 5 March, 2015 01:17:26
> Subject: Re: how to assign an AffinityGroups to VM instances belonging to a project

> How would one bump up priority for this issue and hopefully get looked at
> by someone sooner than later ?
> 
> Yiping
> 
> On 3/4/15, 11:50 AM, "Rene Moser" <ma...@renemoser.net> wrote:
> 
>>Hi
>>
>>On 03/04/2015 08:42 PM, Yiping Zhang wrote:
>>> 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)
>>>PermissionDenied: 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=f55a0c4e-c9f5-4498-b637-3523b6af46d9, it belongs to my account.
>>>It seems that I can¹t create new affinity groups under project context
>>>(IOW, affinity group  owned by a project, rather than owned by my own
>>>account).  If I am not in any project, just in ³Default View², then I
>>>can create VM instances and assign them to my affinity group.
>>>
>>> How would one assign affinity groups to VM instance belonging to a
>>>project?
>>
>>Not (yet) supported, see
>>https://issues.apache.org/jira/browse/CLOUDSTACK-6237. I am waiting for
>>this feature ever since.
>>
>>
>>Yours
> >René

Re: how to assign an AffinityGroups to VM instances belonging to a project

Posted by Yiping Zhang <yz...@marketo.com>.
Hi, Rene:

Thanks, much appreciated.

Yiping

On 3/5/15, 6:04 AM, "Rene Moser" <ma...@renemoser.net> wrote:

>Hi
>
>On 05.03.2015 02:17, Yiping Zhang wrote:
>> How would one bump up priority for this issue and hopefully get looked
>>at
>> by someone sooner than later ?
>
>I will try to jump in fixing the project support.
>
>Regards
>René


Re: how to assign an AffinityGroups to VM instances belonging to a project

Posted by Rene Moser <ma...@renemoser.net>.
Hi

On 05.03.2015 02:17, Yiping Zhang wrote:
> How would one bump up priority for this issue and hopefully get looked at
> by someone sooner than later ?

I will try to jump in fixing the project support.

Regards
René

Re: how to assign an AffinityGroups to VM instances belonging to a project

Posted by Ron Wheeler <rw...@artifact-software.com>.
You could also hire a consultant to fix it.
You have the code and there are companies that support Cloudstack and 
could probably fix it right away.
Ron


On 04/03/2015 8:17 PM, Yiping Zhang wrote:
> How would one bump up priority for this issue and hopefully get looked at
> by someone sooner than later ?
>
> Yiping
>
> On 3/4/15, 11:50 AM, "Rene Moser" <ma...@renemoser.net> wrote:
>
>> Hi
>>
>> On 03/04/2015 08:42 PM, Yiping Zhang wrote:
>>> 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)
>>> PermissionDenied: 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=f55a0c4e-c9f5-4498-b637-3523b6af46d9, it belongs to my account.
>>> It seems that I can¹t create new affinity groups under project context
>>> (IOW, affinity group  owned by a project, rather than owned by my own
>>> account).  If I am not in any project, just in ³Default View², then I
>>> can create VM instances and assign them to my affinity group.
>>>
>>> How would one assign affinity groups to VM instance belonging to a
>>> project?
>> Not (yet) supported, see
>> https://issues.apache.org/jira/browse/CLOUDSTACK-6237. I am waiting for
>> this feature ever since.
>>
>>
>> Yours
>> René
>


-- 
Ron Wheeler
President
Artifact Software Inc
email: rwheeler@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102


Re: how to assign an AffinityGroups to VM instances belonging to a project

Posted by Yiping Zhang <yz...@marketo.com>.
How would one bump up priority for this issue and hopefully get looked at
by someone sooner than later ?

Yiping

On 3/4/15, 11:50 AM, "Rene Moser" <ma...@renemoser.net> wrote:

>Hi
>
>On 03/04/2015 08:42 PM, Yiping Zhang wrote:
>> 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)
>>PermissionDenied: 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=f55a0c4e-c9f5-4498-b637-3523b6af46d9, it belongs to my account.
>>It seems that I can¹t create new affinity groups under project context
>>(IOW, affinity group  owned by a project, rather than owned by my own
>>account).  If I am not in any project, just in ³Default View², then I
>>can create VM instances and assign them to my affinity group.
>>
>> How would one assign affinity groups to VM instance belonging to a
>>project?
>
>Not (yet) supported, see
>https://issues.apache.org/jira/browse/CLOUDSTACK-6237. I am waiting for
>this feature ever since.
>
>
>Yours
>René


Re: how to assign an AffinityGroups to VM instances belonging to a project

Posted by Rene Moser <ma...@renemoser.net>.
Hi

On 03/04/2015 08:42 PM, Yiping Zhang wrote:
> 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) PermissionDenied: 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=f55a0c4e-c9f5-4498-b637-3523b6af46d9, it belongs to my account.    It seems that I can’t create new affinity groups under project context (IOW, affinity group  owned by a project, rather than owned by my own account).  If I am not in any project, just in “Default View”, then I can create VM instances and assign them to my affinity group.
>
> How would one assign affinity groups to VM instance belonging to a project?

Not (yet) supported, see 
https://issues.apache.org/jira/browse/CLOUDSTACK-6237. I am waiting for 
this feature ever since.


Yours
René