Prism

Welcome to the Nutanix NEXT community. To get started please read our short welcome post. Thanks!

cancel
Showing results for 
Search instead for 
Did you mean: 

Deploy VMs on AHV using Salt-Cloud (SaltStack)

Explorer

Deploy VMs on AHV using Salt-Cloud (SaltStack)

We have begun leveraging SaltStack for machine states, as well as VM deployment on ESX using SaltStack's Salt-Cloud component.  We are however rolling out a pilot deployment of Nutanix gear with AHV, and of course would want to be able to continue leveraging Salt for VM deployment.

 

There are ways of managing KVM via livbert, but this is probably not the right thing to try and do with AHV.  Is there anyone out there who may be writing/written/using something that ties SaltStack into the Prism API instead?

 

If not, Nutanix, interested in writing a SaltStack module?  Smiley Very Happy

Tags (3)
10 REPLIES
Community Manager

Re: Deploy VMs on AHV using Salt-Cloud (SaltStack)

Hi @evannadeau

 

@anelson wrote a blog post called Saltstack Setup for Nutanix on Acropolis a while back.

 

Anything additonal you can add @anelson 

Tags (3)
Nutanix Employee

Re: Deploy VMs on AHV using Salt-Cloud (SaltStack)


evannadeau wrote:

 

There are ways of managing KVM via livbert, but this is probably not the right thing to try and do with AHV.  Is there anyone out there who may be writing/written/using something that ties SaltStack into the Prism API instead?

 


Though based in KVM originally, AHV != KVM in many ways. One of those ways is that you should not try and use libvirt to manage AHV.  The only supported method will be via our APIs.  Should you decide to develop against Nutanix AHV, check out developer.nutanix.com and our published supported APIs. 

 

You may also want to keep an eye our for our announcements around automation. You may be aware that we acquired a company called Calm.IO late last year.  Lots of really cool stuff coming out of that acquisition this year.

 

Explorer

Re: Deploy VMs on AHV using Salt-Cloud (SaltStack)

Thanks for the reply's guys.  I am familiar with those blog posts.  I am hoping for a more direct integration with Salt-Cloud, but if it does not exist nor is being worked on, then perhaps I'll just have to keep learning Python and write it myself.

 

Thanks again.

Pathfinder

Re: Deploy VMs on AHV using Salt-Cloud (SaltStack)

 

I'm also interested in using salt-cloud to deploy nutanix instances.  Saltstack has a number of providers and seems that nutanix should be one of them by now.

 

https://docs.saltstack.com/en/latest/topics/cloud/#cloud-provider-specifics

 

Jeremy

 

Squire

Re: Deploy VMs on AHV using Salt-Cloud (SaltStack)

Saltstack can certainly provide you guys services/training to accomplish this.  Feel free to reach out to your local Saltstack team (just look us up on LinkedIn) or send an email to info@saltstack.com

Pathfinder

Re: Deploy VMs on AHV using Salt-Cloud (SaltStack)

 

How would saltstack provide training for salt-cloud integration?  Salt-stack does not integrate with Nutanix currently.  Are they going to write the code to make this possible?  If so, why not open source it?

 

This seems like a generic response to a specific question.

 

 

Squire

Re: Deploy VMs on AHV using Salt-Cloud (SaltStack)

Apologies my services/training comment was rather generic.  Saltstack Professional Services can leverage the Nutanix API to make this integration a reality and our PS team also provides training on the Salt-Cloud in general for people who may not be as familiar with it.  As to whether or not this will eventually get Open Sourced is really a matter of demand & contribution by the community.  Our PS team works with customers that need a solution now that is not available because there is not enough community support for it.  

Re: Deploy VMs on AHV using Salt-Cloud (SaltStack)


Hello,

 

Salt Virt system supports core cloud operation like Inspection of deployed VMs. Salt 0.14.0 allow private cloud vms to be managed directly with Salt. 

 

Salt Virt will now select a hypervisor to deploy the new virtual machine on and copy the virtual machine image down to the hypervisor. Now that the new VM has been prepared, it can be seen via the virt.query command:

 

salt-run virt.query

 

A test.ping will reveal if the new VM is running.

 

Thanks.

Pathfinder

Re: Deploy VMs on AHV using Salt-Cloud (SaltStack)

Thank you, this looks very interesting.  This however might not work with Nutanix as it is tightly integrated with Nutanix Prism.  Will VMs managed with salt-virt also be able to be controlled with Prism?

 

 

Tags (1)