I am using Salt to provision machines, both physical and virtual, for my company. It would be really nice if I could also use Salt (Salt-Virt) to manage the various virtual machines running on my hosts, as the number/complexity of VMs is growing quickly.
Here's where I am:
- Followed this guide, changing packages for Ubuntu instead of RHL: http://docs.saltstack.com/en/latest/topics/tutorials/cloud_controller.html
- Both the physical and virtual machines are running Ubuntu Server
- I am able to run the
salt-run virt.init test1 2 512 salt://BASE.imgcommand to deploy the machine to the host.
- The image is showing up on the minion in
/srv/salt-images/test1/as a .qcow2
But it seems that the host (hypervisor) has no idea that the VM exists. I am not getting any errors from Salt on the master or the minion.
- On the host,
virsh listbrings back an empty list
- On the Salt master,
salt-run virt.start test1returns the error:
Failed to find vm test1 to start
Has anyone ever gotten Salt-Virt to work on Ubuntu? What am I missing?