Netplan Error in network definition with static route after upgrade

  • I yesterday upgraded OMV from 6 to 7.4.10-1.


    In OMV 6 I had a static route in netplan configured to reach my vlan devices. The configuration is removed during the upgrade. I create a new configuration

    /etc/netplan/30-openmediavault-enp3s0-route-openwrt.yaml:

    which is the same as in OMV 6. When I run

    Code
    netplan generate

    I get an error:

    Code
    /etc/netplan/30-openmediavault-enp3s0-route-openwrt.yaml:8:16: Error in network definition: invalid IP family '-1'
              via: 192.168.178.64  
                   ^

    Can someone help me with this?


    Thanks in advance


    Matthias

  • I found the cause:

    In line 8 was at the end a additional space. After deleting this

    netplan generate

    runs without error.


    But

    netplan apply says

    Code
    Cannot call openvswitch: ovsdb-server.service is not running.
    • New
    • Official Post

    Don't name the file with openmediavault in the filename. OMV will delete it.

    That error is fine.

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.14 | k8s 7.3.1-1 | 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!