Re: Move VM to other account

2024-04-23 Thread Jimmy Huybrechts
Hi Wei,

I’m using 4.19.0.1

> Please check the network, server/disk offerings, templates, etc
Well, since I just enrolled them from a template, I removed them from the 
domain account, logged in as the customer (was a new account so I knew the 
password), and enrolled it exactly the same way as I did on the domain account 
before moving it. Which worked perfectly fine, so why I wasn’t allowed to move 
it beats me.

--
Jimmy

From: Wei ZHOU 
Date: Tuesday, 23 April 2024 at 13:17
To: users@cloudstack.apache.org 
Subject: Re: Move VM to other account
Indeed, this needs to be improved.

Which cloudstack version do you use ?

Please check the network, server/disk offerings, templates, etc


Kind regards,
Wei

On Tue, Apr 23, 2024 at 12:48 PM Jimmy Huybrechts  wrote:
>
> Hi,
>
> I mentioned it before but again running in the same issue with a different 
> account.. how to see WHY an account cannot be moved to a different account.
>
> 2024-04-23 12:34:22,614 ERROR [o.a.c.a.c.a.v.AssignVMCmd] 
> (qtp1789718525-7698:ctx-b0881a99 ctx-be595b24) (logid:2fe13e1b) Failed to 
> move vm due to: [Ljava.lang.StackTraceElement;@313bdb0e
> 2024-04-23 12:34:22,614 INFO  [c.c.a.ApiServer] 
> (qtp1789718525-7698:ctx-b0881a99 ctx-be595b24) (logid:2fe13e1b) Failed to 
> move vm due to Account 
> [{"accountName":"cidX","id":14,"uuid":"6d2dd50e-10c8-4c86-955c-85a6d99140d8"}]
>  does not have permission to operate with resource
>
> That error is just plain useless, it’s the same as saying I won’t move but 
> I’m not telling you why, go find out yourself.
>
> It has access to the template under shared, it can see the network, I can 
> even create an instance under that account with exactly the same options and 
> yet I can’t move it from the domain admin account to a user account because 
> of that nothing saying entry.
>
> Above that it does some checks but these are all within limits.
>
> --
> Jimmy


Re: Move VM to other account

2024-04-23 Thread Wei ZHOU
Indeed, this needs to be improved.

Which cloudstack version do you use ?

Please check the network, server/disk offerings, templates, etc


Kind regards,
Wei

On Tue, Apr 23, 2024 at 12:48 PM Jimmy Huybrechts  wrote:
>
> Hi,
>
> I mentioned it before but again running in the same issue with a different 
> account.. how to see WHY an account cannot be moved to a different account.
>
> 2024-04-23 12:34:22,614 ERROR [o.a.c.a.c.a.v.AssignVMCmd] 
> (qtp1789718525-7698:ctx-b0881a99 ctx-be595b24) (logid:2fe13e1b) Failed to 
> move vm due to: [Ljava.lang.StackTraceElement;@313bdb0e
> 2024-04-23 12:34:22,614 INFO  [c.c.a.ApiServer] 
> (qtp1789718525-7698:ctx-b0881a99 ctx-be595b24) (logid:2fe13e1b) Failed to 
> move vm due to Account 
> [{"accountName":"cidX","id":14,"uuid":"6d2dd50e-10c8-4c86-955c-85a6d99140d8"}]
>  does not have permission to operate with resource
>
> That error is just plain useless, it’s the same as saying I won’t move but 
> I’m not telling you why, go find out yourself.
>
> It has access to the template under shared, it can see the network, I can 
> even create an instance under that account with exactly the same options and 
> yet I can’t move it from the domain admin account to a user account because 
> of that nothing saying entry.
>
> Above that it does some checks but these are all within limits.
>
> --
> Jimmy


Move VM to other account

2024-04-23 Thread Jimmy Huybrechts
Hi,

I mentioned it before but again running in the same issue with a different 
account.. how to see WHY an account cannot be moved to a different account.

2024-04-23 12:34:22,614 ERROR [o.a.c.a.c.a.v.AssignVMCmd] 
(qtp1789718525-7698:ctx-b0881a99 ctx-be595b24) (logid:2fe13e1b) Failed to move 
vm due to: [Ljava.lang.StackTraceElement;@313bdb0e
2024-04-23 12:34:22,614 INFO  [c.c.a.ApiServer] 
(qtp1789718525-7698:ctx-b0881a99 ctx-be595b24) (logid:2fe13e1b) Failed to move 
vm due to Account 
[{"accountName":"cidX","id":14,"uuid":"6d2dd50e-10c8-4c86-955c-85a6d99140d8"}] 
does not have permission to operate with resource

That error is just plain useless, it’s the same as saying I won’t move but I’m 
not telling you why, go find out yourself.

It has access to the template under shared, it can see the network, I can even 
create an instance under that account with exactly the same options and yet I 
can’t move it from the domain admin account to a user account because of that 
nothing saying entry.

Above that it does some checks but these are all within limits.

--
Jimmy