Skip to content

eclipse-fog05/fog05-hypervisor-kvm

Repository files navigation

Gitter License License Build Status

KVM Libvirt plugin

This plugin allow fog05 to manage vm

supported operation:

  • deploy
  • destroy
  • stop
  • pause
  • resume
  • migrate

todo:

  • scale of vm

package dependencies:

  • libvirt-bin
  • libvirt-dev
  • mkisofs
  • seabios
  • python3-libvirt
  • qemu-img
  • wget
  • libguestfs-tools

python dependencies:

  • libvirt-python
  • jinja2

config dependencies:

  • in /etc/libvirt/qemu.conf user and group should be set in a way that the agent can read log files (user = fos, group = libvirtd)
  • in /etc/default/libvirt-bin uncomment libvirtd_opts and modity to libvirtd_opts="-l -d"
  • in /etc/libvirt/libvirtd.conf set and uncomment listen_tls = 0 and listen_tcp = 1
  • restart libvirt service (sudo service libvirt-bin restart)
  • update the nodeid (result of cat /etc/machine-id ) in KVM_plugin.json->configuration->nodeid, and in case the yaks server is not in the same machine, also KVM_plugin.json->configuration->nodeid with the correct ip:port of the yaks server )