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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to