rancher / k3os

Purpose-built OS for Kubernetes, fully managed by Kubernetes.
https://k3os.io
Apache License 2.0
3.5k stars 397 forks source link

Open VM Tools are not properly working #735

Closed JOduMonT closed 3 years ago

JOduMonT commented 3 years ago

When I deploy k3os on Proxmox I see open-vm-tools and QEMU Guest Agent Starting image

But at the end Proxmox is unable to manage the VM image

It results than k3os have to be kill when I stop Proxmox and the backup from Proxmox fail for the VM.

dweomer commented 3 years ago

IIRC the services provided by the open-vm-tools package are specific to guests on vmware installations. Such is enabled by default but fails silently for anything other than a vmware guest. However, because we are talking proxmox what we should be concerned with is enabling and configuring the qemu guest agent (seen in your screenshot) which in almost all use-cases is not functional out of the box (regardless that qemu guest agent is only started for qemu guests after some virt-what introspection). Please see this issue thread for hinting on how to get that working: https://github.com/rancher/k3os/issues/291#issuecomment-560246793. Additionally, please note that this thread predates the switch to udev and so the org.qemu.guest_agent.# device(s) under the /dev hierarchy (I forget the sub-path) should show up automatically which may help make the setup of the GA_PATH envvar in the /etc/conf.d/qemu-guest-agent configuration file less error-prone.

See also /etc/conf.d/qemu-guest-agent.orig on a running system which I think gets copied (possibly moved) to /etc/conf.d/qemu-guest-agent if virt-what indicates a qemu/kvm guest.

JOduMonT commented 3 years ago

#291 (comment)

Thanks for your time and the explanation and not just simply tagging my issue as a duplicate and closing it :)