HomeAssistant on KVM plug-in - GUI instalation - not starting/running - why?

  • Hello Jatal,


    thanks for your effort!!

    My xml reads as follows:

    <channel type='unix'>

    <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-6-HA_1/org.qemu.guest_agent.0'/>

    <target type='virtio' name='org.qemu.guest_agent.0' state='disconnected'/>

    <alias name='channel0'/>

    <address type='virtio-serial' controller='0' bus='0' port='1'/>

    </channel>


    KVM is reporting the VM as "running" - so there is something obviously going wrong here!


    My system is running on an i5-12400 12th Gen with 32GB RAM. No updates pending.


    I downloaded the latest kmv qcow2 for OMV - https://github.com/home-assist….2/haos_ova-13.2.qcow2.xz

    2. decompressed on WIN 11 using winzip

    3. copied the file to the shared KVM folder; later forced it to RWX

    4. in KVM plugin added new VM. Just checked UEFI, selected the ha cow2 file as volume, bridge br0 as network - same for me


    Is there a way to start /configure the qemu guest agent manually?


    regards Matthias

    Sandworm 7.4.13-1 | Linux 6.1.0-27-amd64 |


    plugins :: openmediavault-autoshutdown 7.0.1 | openmediavault-backup 7.1.4openmediavault-backup 7.1.4 | openmediavault-clamav 7.0.1-1 |

    openmediavault-compose 7.2.16 | openmediavault-cputemp 7.0.2 | openmediavault-fail2ban 7.0.1 | openmediavault-kvm 7.0.15 |

    openmediavault-omvextrasorg 7.0 | openmediavault-onedrive 7.1.2-1 | openmediavault-wol 7.0.2

  • Sorry but my knowledge of kvm is very basic so I can’t really help much more.


    Sounds like you know what you are doing and it should work.


    Long shot but maybe it is using windows to decompress the file. Try using the command in Linux from the cli. I set the permissions on the qcow2 files after decompressing to the same as all of my other qcow2 files. Owner root with rw only.

  • Yes, the VM is running, opening a VNC terminal gets me to the shell but no HA starting

    Sandworm 7.4.13-1 | Linux 6.1.0-27-amd64 |


    plugins :: openmediavault-autoshutdown 7.0.1 | openmediavault-backup 7.1.4openmediavault-backup 7.1.4 | openmediavault-clamav 7.0.1-1 |

    openmediavault-compose 7.2.16 | openmediavault-cputemp 7.0.2 | openmediavault-fail2ban 7.0.1 | openmediavault-kvm 7.0.15 |

    openmediavault-omvextrasorg 7.0 | openmediavault-onedrive 7.1.2-1 | openmediavault-wol 7.0.2

    • Official Post

    The qemu-guest-agent package has to be installed on the guest as well.

    omv 7.7.0-2 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.1 | kvm 7.0.17 | compose 7.3.4 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • The qemu-guest-agent package has to be installed on the guest as well.

    dumb question: Is this referring to the Win 11 system I'm running the VNC-Client on?

    Sandworm 7.4.13-1 | Linux 6.1.0-27-amd64 |


    plugins :: openmediavault-autoshutdown 7.0.1 | openmediavault-backup 7.1.4openmediavault-backup 7.1.4 | openmediavault-clamav 7.0.1-1 |

    openmediavault-compose 7.2.16 | openmediavault-cputemp 7.0.2 | openmediavault-fail2ban 7.0.1 | openmediavault-kvm 7.0.15 |

    openmediavault-omvextrasorg 7.0 | openmediavault-onedrive 7.1.2-1 | openmediavault-wol 7.0.2

    • Official Post

    dumb question: Is this referring to the Win 11 system I'm running the VNC-Client on?

    nope. The guest is the operating system running in the VM.

    omv 7.7.0-2 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.1 | kvm 7.0.17 | compose 7.3.4 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • If I connect to the VM using REALVNC, a terminal window "UEFI Interactive Shell c2.2" opens.

    comand " $ yum install -y qemu-guest-agent" is prompted by

    "yum" is not recognized as a internal or external command.


    how do I install the guest in the VM?

    Sandworm 7.4.13-1 | Linux 6.1.0-27-amd64 |


    plugins :: openmediavault-autoshutdown 7.0.1 | openmediavault-backup 7.1.4openmediavault-backup 7.1.4 | openmediavault-clamav 7.0.1-1 |

    openmediavault-compose 7.2.16 | openmediavault-cputemp 7.0.2 | openmediavault-fail2ban 7.0.1 | openmediavault-kvm 7.0.15 |

    openmediavault-omvextrasorg 7.0 | openmediavault-onedrive 7.1.2-1 | openmediavault-wol 7.0.2

    • Official Post

    how do I install the guest in the VM?

    The uefi interactive shell means the linux OS isn't booting. You can install anything until your get the OS to boot. I have written up once how to get HA to boot. I don't use HA at all and really don't want to spend any more time on it.

    omv 7.7.0-2 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.1 | kvm 7.0.17 | compose 7.3.4 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • SailorMax59 - from my testing with HA running fine in a vm, I can confirm that qemu guest agent is already installed in the HA vm by default. You are wasting your time trying to fix this as it is not your issue.


    When I setup the HA VM - it just worked - so there is something else going on with your kvm setup.


    Are you running the proxmox 6.8 kernel? If not it might be worth installing the kernel plugin and running the proxmox kernel to see if that helps.


    If this still does not work, you might need to start with a clean install. You can use omv-regen to save your configuration and restore it to a new install (or just setup completely clean and manually configure).


    I know the reinstall option is quite extreme so I understand if you are not keen to go down this route...

    • Official Post

    If the VM starts, I doubt reinstalling anything is needed. I would like to see the VM's xml. I would guess something happened when the qcow2 xz file was extracted on Windows. I would not do that on windows. qcow2 can be thin provisioned and winzip and/or windows probably dont know how to handle that.

    omv 7.7.0-2 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.1 | kvm 7.0.17 | compose 7.3.4 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • This Tutorial doesn't work with OMB 7.



  • &postID=342581#post342581


    I don't can choice the Storage Volume, i have another GUI.


    I will search a solution in this thread: KVM OMV Web GUI | home-assistant KVM .qcow2

  • So I think you need to post your settings for pools in the KVM plugin so I can understand how you have setup your volume directory.


    You need to copy and extract the qcow2 file to the volume folder.


    Here is my volume config in pools. So I need to extract the qcow2 file to /symlinks/omv-system/volumes


    • Official Post

    I don't can choice the Storage Volume, i have another GUI.

    You don't need to. You just pick the qcow2 file you downloaded and put in a pool's path. Then it will just show up in the dropdown when creating a new VM.

    omv 7.7.0-2 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.1 | kvm 7.0.17 | compose 7.3.4 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Official Post

    Where is the OMV 7 default "pool's path"?

    You can see that in the Pools tab. The plugin is not creating it. It is created by the libvirt packages and should be /var/lib/libvirt/images

    omv 7.7.0-2 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.1 | kvm 7.0.17 | compose 7.3.4 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!