You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2021/07/28 05:38:23 UTC

[GitHub] [cloudstack] ngrosc opened a new issue #5248: removing instances from a project

ngrosc opened a new issue #5248:
URL: https://github.com/apache/cloudstack/issues/5248


   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and main branch are affected too.
   Always add information AFTER of these HTML comments, but no need to delete the comments.
   -->
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
   
   ##### COMPONENT NAME
   
   ~~~
   API, UI,
   ~~~
   
   ##### CLOUDSTACK VERSION
   
   ~~~
   4.14.1.0
   ~~~
   
   ##### CONFIGURATION
   N/A
   
   
   ##### OS / ENVIRONMENT
   N/A
   
   
   ##### SUMMARY
   Removing instances from a project seems not to be possible
   
   
   ##### STEPS TO REPRODUCE
   <!--
   For bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate.
   
   For new features, show how the feature would be used.
   -->
   
   <!-- Paste example playbooks or commands between quotes below -->
   ~~~
   create a domain
   create an account into this domain
   create a project into this domain
   create an account into this project
   create an instance into this project
   try to bring the instance from the projects account to the one outside the project
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   it should be possible to unassign instances from projects
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   as far as I know, there is no way to do this without exporting the instance
   ~~~
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] nvazquez commented on issue #5248: removing instances from a project

Posted by GitBox <gi...@apache.org>.
nvazquez commented on issue #5248:
URL: https://github.com/apache/cloudstack/issues/5248#issuecomment-1046368148


   Fixed on PR #6010 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] DaanHoogland commented on issue #5248: removing instances from a project

Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on issue #5248:
URL: https://github.com/apache/cloudstack/issues/5248#issuecomment-888315859


   @ngrosc is the account inside the project the same as the one outside?
   and if so, isn't this a more generic issue of transferring ownership of VMs?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] nvazquez edited a comment on issue #5248: removing instances from a project

Posted by GitBox <gi...@apache.org>.
nvazquez edited a comment on issue #5248:
URL: https://github.com/apache/cloudstack/issues/5248#issuecomment-1044899405


   @weizhouapache I cannot move a VM from a project to an account: getting this error:
   <img width="400" alt="Screen Shot 2022-02-18 at 14 39 11" src="https://user-images.githubusercontent.com/5295080/154734222-03da248d-498b-46a6-b615-7d26e708b845.png">
   
   Working on a fix


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] nvazquez commented on issue #5248: removing instances from a project

Posted by GitBox <gi...@apache.org>.
nvazquez commented on issue #5248:
URL: https://github.com/apache/cloudstack/issues/5248#issuecomment-894370633


   @ngrosc @DaanHoogland if you don't mind I'm marking this as an improvement/new feature rather than a bug as by design the owner of the resources within a project is the project itself and not the accounts that belong to the project. It will be interesting to discuss how the unassigning resource from a project should work


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] DaanHoogland commented on issue #5248: removing instances from a project

Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on issue #5248:
URL: https://github.com/apache/cloudstack/issues/5248#issuecomment-891972601


   @ngrosc  there was a plan to implement transfer of ownership (https://cwiki.apache.org/confluence/display/CLOUDSTACK/Change+VM+ownership), but I don;t think it ever got anywhere. Another workaround would be to take a snapshot of the VM and to create a template from the snapshot and start a VM from that in the other account. Of course yours may work as well, but only if you are using Vmware as hypervisor, for now.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] nvazquez closed issue #5248: removing instances from a project

Posted by GitBox <gi...@apache.org>.
nvazquez closed issue #5248:
URL: https://github.com/apache/cloudstack/issues/5248


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] weizhouapache commented on issue #5248: removing instances from a project

Posted by GitBox <gi...@apache.org>.
weizhouapache commented on issue #5248:
URL: https://github.com/apache/cloudstack/issues/5248#issuecomment-1044319214


   @nvazquez 
   there is a bug on UI, I will fix it


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] weizhouapache commented on issue #5248: removing instances from a project

Posted by GitBox <gi...@apache.org>.
weizhouapache commented on issue #5248:
URL: https://github.com/apache/cloudstack/issues/5248#issuecomment-1044318727


   @nvazquez @ngrosc 
   this is not a bug or new feature. 
   cloudstack already supports moving vm from an accout to another account or project.
   
   stop the vm and remove all network rules on the vm.
   ![image](https://user-images.githubusercontent.com/57355700/154667803-d8459440-14d5-4cc5-8af4-93b15e9df1ad.png)
   
   you can move vm to a project
   ![image](https://user-images.githubusercontent.com/57355700/154665111-dade8afa-70d4-484d-924a-8495ff7f7bef.png)
   
   and move vm from a project to an account
   ![image](https://user-images.githubusercontent.com/57355700/154668078-398696f6-bc43-4567-a7be-baf4b39616ed.png)
   
   
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] nvazquez commented on issue #5248: removing instances from a project

Posted by GitBox <gi...@apache.org>.
nvazquez commented on issue #5248:
URL: https://github.com/apache/cloudstack/issues/5248#issuecomment-1044899405


   @weizhouapache I cannot remove a VM from a project to an account: getting this error:
   <img width="400" alt="Screen Shot 2022-02-18 at 14 39 11" src="https://user-images.githubusercontent.com/5295080/154734222-03da248d-498b-46a6-b615-7d26e708b845.png">
   
   Working on a fix


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] ngrosc commented on issue #5248: removing instances from a project

Posted by GitBox <gi...@apache.org>.
ngrosc commented on issue #5248:
URL: https://github.com/apache/cloudstack/issues/5248#issuecomment-891898941


   Hi Daan
   
   No, they are different. But as you said, it is a sort of ownership transfer..
   
   If this is not possible without hacks, we can export and re-import the vm.. But it would be nice, if the ownership could be changed somehow..


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org