You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "nvazquez (via GitHub)" <gi...@apache.org> on 2023/01/24 04:03:38 UTC

[GitHub] [cloudstack] nvazquez opened a new issue, #7127: Extend Import-Export Instances to the KVM Hypervisor

nvazquez opened a new issue, #7127:
URL: https://github.com/apache/cloudstack/issues/7127

   ##### ISSUE TYPE
    * Enhancement Request
   
   ##### COMPONENT NAME
   ~~~
   API, UI, Instances
   ~~~
   
   ##### SUMMARY
   The Import-Export functionality is only allowed for the Vmware hypervisor. The functionality is developed within a VM ingestion framework that allows the extension to other hypervisors. The Import-Export functionality consists on few APIs and the UI to interact with them:
   
   - listUnmanagedInstances: Lists unmanaged virtual machines (not existing in CloudStack but existing on the hypervisor side)
   - importUnmanagedInstance: Import an unmanaged VM into CloudStack (this implies populating the database with the corresponding data)
   - unmanageVirtualMachine: Make CloudStack forget a VM but do not remove it on the hypervisor side
   
   The complexity on KVM should be parsing the existing XML domains into different resources and map them in CloudStack to populate the database correctly.
   


-- 
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.apache.org

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


Re: [I] Extend Import-Export Instances to the KVM Hypervisor [cloudstack]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #7127:
URL: https://github.com/apache/cloudstack/issues/7127#issuecomment-1855349142

   can this be closed in favor of #7976 ?
   cc @shwstppr 


-- 
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


Re: [I] Extend Import-Export Instances to the KVM Hypervisor [cloudstack]

Posted by "shwstppr (via GitHub)" <gi...@apache.org>.
shwstppr commented on issue #7127:
URL: https://github.com/apache/cloudstack/issues/7127#issuecomment-1855352029

   Closing this with #7976 being merged. @nvazquez please reopen if we need anything more.


-- 
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] itsayushpandey commented on issue #7127: Extend Import-Export Instances to the KVM Hypervisor

Posted by "itsayushpandey (via GitHub)" <gi...@apache.org>.
itsayushpandey commented on issue #7127:
URL: https://github.com/apache/cloudstack/issues/7127#issuecomment-1495996900

   Hi @nvazquez thank you for your prompt reply. I've shared the proposal over email.


-- 
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


Re: [I] Extend Import-Export Instances to the KVM Hypervisor [cloudstack]

Posted by "shwstppr (via GitHub)" <gi...@apache.org>.
shwstppr closed issue #7127: Extend Import-Export Instances to the KVM Hypervisor
URL: https://github.com/apache/cloudstack/issues/7127


-- 
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] rohityadavcloud commented on issue #7127: Extend Import-Export Instances to the KVM Hypervisor

Posted by "rohityadavcloud (via GitHub)" <gi...@apache.org>.
rohityadavcloud commented on issue #7127:
URL: https://github.com/apache/cloudstack/issues/7127#issuecomment-1563994641

   I think as a first step once you've read basic CloudStack [dev training](https://github.com/shapeblue/hackerbook/blob/main/2-dev.md), you'll need to figure out code in the KVM hypervisor plugin which perhaps currently doesn't allow unmanaged VMs to run on KVM host (i.e. VMs not managed by CloudStack I think aren't allowed to run on KVM hosts currently - I could be wrong). You can use [mbx](https://github.com/shapeblue/mbx/tree/main) for local dev setup etc. as well.


-- 
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 #7127: Extend Import-Export Instances to the KVM Hypervisor

Posted by "nvazquez (via GitHub)" <gi...@apache.org>.
nvazquez commented on issue #7127:
URL: https://github.com/apache/cloudstack/issues/7127#issuecomment-1495737232

   Hi @itsayushpandey can you share a link to the proposal on Google docs? You can send it to my email nvazquez@apache.org


-- 
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] itsayushpandey commented on issue #7127: Extend Import-Export Instances to the KVM Hypervisor

Posted by "itsayushpandey (via GitHub)" <gi...@apache.org>.
itsayushpandey commented on issue #7127:
URL: https://github.com/apache/cloudstack/issues/7127#issuecomment-1495381050

   Hi @nvazquez , I am interested in working on this project and have been spending time on hackerbook (https://github.com/shapeblue/hackerbook) to make sure I understand some details before committing to the project. As extensive as it is, it took time, and based on my understanding I was able to submit a proposal on GSoc portal. I was wondering if you had any feedback or further guidance I can incorporate into the proposal. Thank you so much for your time!


-- 
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] itsayushpandey commented on issue #7127: Extend Import-Export Instances to the KVM Hypervisor

Posted by "itsayushpandey (via GitHub)" <gi...@apache.org>.
itsayushpandey commented on issue #7127:
URL: https://github.com/apache/cloudstack/issues/7127#issuecomment-1666372403

   > I think as a first step once you've read basic CloudStack [dev training](https://github.com/shapeblue/hackerbook/blob/main/2-dev.md), you'll need to figure out code in the KVM hypervisor plugin which perhaps currently doesn't allow unmanaged VMs to run on KVM host (i.e. VMs not managed by CloudStack I think aren't allowed to run on KVM hosts currently - I could be wrong). You can use [mbx](https://github.com/shapeblue/mbx/tree/main) for local dev setup etc. as well.
   > 
   > Once this is done (which might take most of your initial training/getting up to speed time), following the advise Nicolas has proposed should be easier to implement.
   
   Hi @rohityadavcloud thank you for the pointers! 
   To verify whether cloudstack allows unmanaged VM's to run on a KVM host I performed the following steps :
   
   1.  Extended unmanaged VM's support to KVM by implementing PrepareUnmanageVMInstanceCommand in KVM plugin in pull request #7712 
   2. Started a new VM in cloudstack on KVM 
   3.  Executed unmangeVirtualMachine API to unmanage the previously added virtual machine in step 2.
   4. Verified that the virtual machine is still running on the KVM host but not presenting cloudstack management server database.
   
   Do you think this will suffice to test the corner case that you mentioned ?
   Please let me know if you have any other advice for validating the support for unmanage VM's existence in cloudstack + KVM setup. 


-- 
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


Re: [I] Extend Import-Export Instances to the KVM Hypervisor [cloudstack]

Posted by "borisstoyanov (via GitHub)" <gi...@apache.org>.
borisstoyanov commented on issue #7127:
URL: https://github.com/apache/cloudstack/issues/7127#issuecomment-1803577604

   I think we can close this once we get a doc PR. agree @nvazquez ? 


-- 
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