New openmediavault-kvm plugin

    • Official Post

    Thanks for this hint. But I am unsure, if I really want to install packages manually

    What I suggest doing and what you did are very different things. I guarantee installing an updated osinfo-db package and NOTHING else will not cause a problem. I guess I could just put the package in the omv-extras repo.

    omv 7.7.10-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.8 | compose 7.6.10 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.1


    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!

  • It is not sorted in complete alphabetical order. Look right before Mac OS. The plugin is just return the output of the command and does not determine the sorting order.

    Ok, only „generic linux“ and „microsoft“ are not in the right position…


    But yes, you are right it’s there. 😃

    ----------------------------------------------------------------------------------
    openmediavault 6 | proxmox kernel | zfs | docker | kvm
    supermicro x11ssh-ctf | xeon E3-1240L-v5 | 64gb ecc | 8x10tb wd red | digital devices max s8
    ---------------------------------------------------------------------------------------------------------------------------------------

  • What I suggest doing and what you did are very different things. I guarantee installing an updated osinfo-db package and NOTHING else will not cause a problem. I guess I could just put the package in the omv-extras repo.

    😃🤙


    omv-extras repo would be a good workaround for me. Can you also make this package a dependency for openmediavault-kvm?


    Good night… 😂

    ----------------------------------------------------------------------------------
    openmediavault 6 | proxmox kernel | zfs | docker | kvm
    supermicro x11ssh-ctf | xeon E3-1240L-v5 | 64gb ecc | 8x10tb wd red | digital devices max s8
    ---------------------------------------------------------------------------------------------------------------------------------------

    • Official Post

    Can you also make this package a dependency for openmediavault-kvm?

    It already is. The fact that you see any OSes means the package is already installed. It is just old already on Debian Bullseye. Hence why I recommend installing a new version.

    Ok, only „generic linux“ and „microsoft“ are not in the right position…

    In your opinion, they aren't. osinfo-query sorts them by their value not description field. Since Microsoft Windows XP has a value of winxp, it is at the end. I refuse to maintain the OS list and will continue to rely on the output of osinfo-query.

    omv 7.7.10-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.8 | compose 7.6.10 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.1


    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

    I added an osinfo-query option to sort the list by name instead of short id. openSuse will be at the end because of the lowercase 'o'. I will release the change when the plugin has other changes to go with it.

    omv 7.7.10-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.8 | compose 7.6.10 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.1


    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!

  • Hello


    I know this is very little to work with but, I used to be able to view/monitor all my VM's from KVM via ; Overview - root@openmediavault - https://192.168.5.43:9090/system


    I had to reinstall etc, but the link does not work. I am pretty sure it was not realvnc or spice, it was like something built in. Based on the port, any suggestions?


    NEVERMIND


    Found it; Had to install cockpit and cockpit-machines

  • I used to find cockpit pretty good in OMV5 for getting at the VM settings you couldn't access easily without xml editing, but I did notice it seemed to cause some trouble with updates in OMV6. (this may be different now, as my issues were on the original official OMV6 release version.)


    After fighting with it for a little bit and getting nowhere, and rather than trying to fix the things it seemed to break in OMV6, I did a fresh install of OMV6 and then opted to use a virt-manager docker to do the same thing.


    I can do this kind of fresh install fairly quickly because none of my docker containers, their persistent data or VM's are on the OS drive, so it is often a more efficient use of time to do a fresh install instead of trying to find a problem and fix it. If I had to do it now, I would probably try an os drive restore from backup first, just to save the OMV setup time to get all the settings right again, but even if the restore failed, that configuration time is probably only about 30 to 60 minutes by the time the omv-extras are installed an all the required plugins and updated are installed and configured. It would probably be quicker if we didn't have to install plugins one at a time in OMV6, instead of selecting a bunch of them like we could in previous versions.

    • Official Post

    I used to find cockpit pretty good in OMV5 for getting at the VM settings you couldn't access easily without xml editing, but I did notice it seemed to cause some trouble with updates in OMV6. After fighting with it for a little bit and getting nowhere, and rather than trying to fix the things it seemed to break in OMV6, I did a fresh install of OMV6 and then opted to use a virt-manager docker to do the same thing. I can do this kind of fresh install fairly quickly because none of my dockers containers, their persistent data or VM's are on the OS drive, so it is often more efficient use of time to do a fresh install

    I use virt-manager all the time myself. What docker image are you using for virt-manager? I will look at adding virt-manager to the example compose files for the compose plugin.

    omv 7.7.10-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.8 | compose 7.6.10 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.1


    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!

  • I use virt-manager all the time myself. What docker image are you using for virt-manager? I will look at adding virt-manager to the example compose files for the compose plugin.

    Here is the docker I'm using.

    Docker


    Once installed, it does not automatically detect the VM's. You have to go add a connection and select QEMU/KVM (no additional selections or setting required). You can also select lxc if you have any lxc's running to get them in the connection list too.

    • Official Post

    Here is the docker I'm using.

    Docker


    Once installed, it does not automatically detect the VM's. You have to go add a connection and select QEMU/KVM (no additional selections or setting required). You can also select lxc if you have any lxc's running to get them in the connection list too.

    Good. That is the one I was trying. If you use this compose file, you will get the localhost VMs and LXCs at startup without adding the connection.

    omv 7.7.10-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.8 | compose 7.6.10 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.1


    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!

  • I do also use the virt-manager you mention, as you mentioned to me weeks back, I was just curious why my link wasn’t working and forgot what program it was, which was cockpit. But yes the virt-manager I like because I was using it on Slackware when I spent weeks trying to get qemu etc working. Ugh. Slackware.

  • Good. That is the one I was trying. If you use this compose file, you will get the localhost VMs and LXCs at startup without adding the connection.

    You saying this automatically makes the connections made be look closer at the compose I used, and I discovered a typo in my HOSTS: line. I had missed the leading ". Other than that my file was the same, with a path modification for my vm images since they are not on my OS drive. Re-deploying now with this correction. Thanks for making me look again.

    • Official Post

    with a path modification for my vm images since they are not on my OS drive.

    That is expected. I have images and isos on many paths on my systems.

    omv 7.7.10-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.8 | compose 7.6.10 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.1


    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!

  • You saying this automatically makes the connections made be look closer at the compose I used, and I discovered a typo in my HOSTS: line. I had missed the leading ". Other than that my file was the same, with a path modification for my vm images since they are not on my OS drive. Re-deploying now with this correction. Thanks for making me look again.

    Are the images in this compose file the same images as the ISO's I am using to install my VM's? My images are /srv/dev-8237474/vm/iso

  • Hi, I want to use LXC. When creating a new container via the plugin web interface...



    ... I get the following message:


    Code
    500 - Internal Server Error
    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; awk -i inplace -F":" 'BEGIN{OFS = ":"} /root/{$2="$y$j9T$P4RwUIsVHEID3k9KZSs6J1$eHurABPnULY5g.BnxlWBAce1lKnUQJzE9HtX8QUuyN5"}{ print }' /data/lxc/vbus//etc/shadow' with exit code '2':

    Any idea what is wrong?


    Thanks Hoppel

    ----------------------------------------------------------------------------------
    openmediavault 6 | proxmox kernel | zfs | docker | kvm
    supermicro x11ssh-ctf | xeon E3-1240L-v5 | 64gb ecc | 8x10tb wd red | digital devices max s8
    ---------------------------------------------------------------------------------------------------------------------------------------

    • Official Post

    It is failing to change the root password. What is the output of: stat /data/lxc/vbus//etc/shadow Guessing it is zfs related.

    omv 7.7.10-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.8 | compose 7.6.10 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.1


    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!

  • It is failing to change the root password. What is the output of: stat /data/lxc/vbus//etc/shadow Guessing it is zfs related.

    Code
    stat /data/lxc/vbus//etc/shadow
     Datei: /data/lxc/vbus//etc/shadow
     Größe: 645           Blöcke: 8          EA Block: 4096   reguläre Datei
     Gerät: 881h/2177d    Inode: 525892      Verknüpfungen: 1
    Zugriff: (0640/-rw-r-----)  Uid: (    0/    root)   Gid: (   42/  shadow)
    Zugriff: 2023-01-03 16:45:36.108993900 +0100
    Modifiziert: 2022-12-30 06:26:59.253868609 +0100
    Geändert: 2023-01-03 16:45:36.108993900 +0100
    Geburt: 2023-01-03 16:45:36.108993900 +0100

    /data/lxc/vbus is on my ext4 root filesystem for the moment. So, it shouldn't be zfs related.


    When I click on "Save" the folder structure is created.


    But I can't finish the setup procedure because of error 500. What can be done? Where is my issue?


    Thanks Hoppel

    ----------------------------------------------------------------------------------
    openmediavault 6 | proxmox kernel | zfs | docker | kvm
    supermicro x11ssh-ctf | xeon E3-1240L-v5 | 64gb ecc | 8x10tb wd red | digital devices max s8
    ---------------------------------------------------------------------------------------------------------------------------------------

    Edited once, last by hoppel118 ().

    • Official Post

    But I can't finish the setup procedure because of error 500. What can be done? Where is my issue?

    Patience. I don't have your system in front of me nor do I have this issue on my system. I need to try and replicate.

    omv 7.7.10-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.8 | compose 7.6.10 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.1


    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!

  • Ok, no pressure… 😃


    Let me know, if you need any further information.


    Thank you

    ----------------------------------------------------------------------------------
    openmediavault 6 | proxmox kernel | zfs | docker | kvm
    supermicro x11ssh-ctf | xeon E3-1240L-v5 | 64gb ecc | 8x10tb wd red | digital devices max s8
    ---------------------------------------------------------------------------------------------------------------------------------------

Participate now!

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