You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by "AlexanderKgr (via GitHub)" <gi...@apache.org> on 2025/09/17 08:01:10 UTC
[D] Cannot transfer instance from one account to another. [cloudstack]
GitHub user AlexanderKgr created a discussion: Cannot transfer instance from one account to another.
I have one instance based on a template that it is deleted.
I want to transfer the ownership to another account.
I receive a massage telling : Failed to move vm
<img width="407" height="158" alt="image" src="https://github.com/user-attachments/assets/2c7311e4-b686-4d1c-9f31-29ffda4c0331" />
And while checking logs i have the following.
<img width="1133" height="54" alt="image" src="https://github.com/user-attachments/assets/90a19253-fec6-4e96-b5cf-6b7ecac6bd84" />
So the new user does not have access to the template specified for the vm.
As i mentioned above the template doesn't exist anymore.
How can i fix this issue? Is it bug or it is supposed to be like this?
Is there a procedure to remove the connection of an instance and a template?
Thanks in advance,
Alexandros
GitHub link: https://github.com/apache/cloudstack/discussions/11653
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] Cannot transfer instance from one account to another. [cloudstack]
Posted by "abh1sar (via GitHub)" <gi...@apache.org>.
GitHub user abh1sar added a comment to the discussion: Cannot transfer instance from one account to another.
Yes, since the template is deleted, although the vm is running as usual it will cause issues with some management operations such as transferring the instance to another account.
How did the template get deleted in the first place, as the deleteTemplate api ideally throws error if any of the VMs is using it?
IMO this is not a bug.
A workaround I can think of is:
1. Create volume snapshot of the root volume
2. Create template from the snapshot
3. Create new instance from the template.
Now this new instance has all the data from the original instance and has a valid template associated with it. This new instance can be moved around freely to another account.
Alternatively, the template itself can be used to create an Instance on another account, but the other account need to have permission to access it.
GitHub link: https://github.com/apache/cloudstack/discussions/11653#discussioncomment-14425611
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] Cannot transfer instance from one account to another. [cloudstack]
Posted by "AlexanderKgr (via GitHub)" <gi...@apache.org>.
GitHub user AlexanderKgr edited a discussion: Cannot transfer instance from one account to another.
I have one instance based on a template that it is deleted.
I want to transfer the ownership to another account.
I receive a massage telling : Failed to move vm
<img width="407" height="158" alt="image" src="https://github.com/user-attachments/assets/2c7311e4-b686-4d1c-9f31-29ffda4c0331" />
And while checking logs i have the following.
<img width="1133" height="54" alt="image" src="https://github.com/user-attachments/assets/90a19253-fec6-4e96-b5cf-6b7ecac6bd84" />
So the new user does not have access to the template specified for the vm.
As i mentioned above the template doesn't exist anymore.
How can i fix this issue? Is it bug or it is supposed to be like this?
Is there a procedure to remove the connection of an instance and a template?
I am on latest cs 4.21
Thanks in advance,
Alexandros
GitHub link: https://github.com/apache/cloudstack/discussions/11653
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] Cannot transfer instance from one account to another. [cloudstack]
Posted by "AlexanderKgr (via GitHub)" <gi...@apache.org>.
GitHub user AlexanderKgr closed a discussion: Cannot transfer instance from one account to another.
I have one instance based on a template that it is deleted.
I want to transfer the ownership to another account.
I receive a massage telling : Failed to move vm
<img width="407" height="158" alt="image" src="https://github.com/user-attachments/assets/2c7311e4-b686-4d1c-9f31-29ffda4c0331" />
And while checking logs i have the following.
<img width="1133" height="54" alt="image" src="https://github.com/user-attachments/assets/90a19253-fec6-4e96-b5cf-6b7ecac6bd84" />
So the new user does not have access to the template specified for the vm.
As i mentioned above the template doesn't exist anymore.
How can i fix this issue? Is it bug or it is supposed to be like this?
Is there a procedure to remove the connection of an instance and a template?
I am on latest cs 4.21
Thanks in advance,
Alexandros
GitHub link: https://github.com/apache/cloudstack/discussions/11653
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org