Edit VM xml with secure boot enabled dont work

  • when i try to edit the XML of a VM with secure boot enabled i get the following error



    500 - Internal Server Error

    Unable to set VM XML - Requested operation is not valid: cannot undefine domain with nvram

    • Offizieller Beitrag

    This is the same issue as your other thread. I will look into it.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4 | scripts 7.0.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!

    • Offizieller Beitrag

    is there news here ?

    Does 6.2.18 not fix the issue?

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4 | scripts 7.0.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!

  • Does 6.2.18 not fix the issue?

    nope


    Unable to set VM XML - Requested operation is not valid: cannot undefine domain with nvram


    OMV\Exception: Unable to set VM XML - Requested operation is not valid: cannot undefine domain with nvram in /usr/share/openmediavault/engined/rpc/kvm.inc:972

    Stack trace:

    #0 [internal function]: OMVRpcServiceKvm->setVmXml(Array, Array)

    #1 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)

    #2 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('setVmXml', Array, Array)

    #3 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Kvm', 'setVmXml', Array, Array, 1)

    #4 {main}

    • Offizieller Beitrag

    nope


    Unable to set VM XML - Requested operation is not valid: cannot undefine domain with nvram

    Does this work?


    sudo virsh desc --domain VMNAME --config --new-desc 'test description'


    If this doesn't work, there isn't much I can do because virsh desc and libvirt php doesn't work on pflash/nvram VMs.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4 | scripts 7.0.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!

  • Does this work?


    sudo virsh desc --domain VMNAME --config --new-desc 'test description'


    If this doesn't work, there isn't much I can do because virsh desc and libvirt php doesn't work on pflash/nvram VMs.

    changing Notes work


    but edit xml don't work

    • Offizieller Beitrag

    changing Notes work


    but edit xml don't work

    Not sure what you mean. Did the command I gave you change the notes?

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4 | scripts 7.0.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!

    • Offizieller Beitrag

    but when i want to change (edit) the xml file this does not work

    That is a much bigger change. I will consider it for the OMV 7.x version of the plugin. Otherwise, I recommend using virt-manager. You can even run virt-manager in a docker on the same system (example file available in the compose plugin) if you don't have a linux system with desktop environment.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4 | scripts 7.0.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!

  • That is a much bigger change. I will consider it for the OMV 7.x version of the plugin. Otherwise, I recommend using virt-manager. You can even run virt-manager in a docker on the same system (example file available in the compose plugin) if you don't have a linux system with desktop environment.

    thanks i will try that

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!