change hostname created error

  • So it appears the hostname changed successfully but i still have this popup saying I need to apply the config, or revert. When I try to apply this happens.



    ERROR :

    The configuration has been changed. You must apply the changes in order for them to take effect.


    nas.goddard.lan


    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-salt deploy run --no-color systemd-networkd 2>&1' with exit code '1': debian:
    ---------- ID: remove_systemd_networkd_config_files Function: module.run Result: True Comment: file.find: [] Started: 20:40:20.635355 Duration: 1.044 ms Changes: ---------- file.find:
    ---------- ID: remove_empty_systemd_networkd_config_files Function: module.run Result: True Comment: file.find: [] Started: 20:40:20.636488 Duration: 0.711 ms Changes: ---------- file.find:
    ---------- ID: remove_netplan_config_files Function: module.run Result: True Comment: file.find: ['/etc/netplan/10-openmediavault-default.yaml', '/etc/netplan/20-openmediavault-enp2s0.yaml'] Started: 20:40:20.637309 Duration: 0.913 ms Changes: ---------- file.find: - /etc/netplan/10-openmediavault-default.yaml - /etc/netplan/20-openmediavault-enp2s0.yaml
    ---------- ID: configure_etc_network_interfaces Function: file.managed Name: /etc/network/interfaces Result: True Comment: File /etc/network/interfaces is in the correct state Started: 20:40:20.639146 Duration: 16.728 ms Changes:
    ---------- ID: symlink_systemd_resolvconf Function: file.symlink Name: /etc/resolv.conf Result: True Comment: Symlink /etc/resolv.conf is present and owned by root:root Started: 20:40:20.655962 Duration: 922.419 ms Changes:
    ---------- ID: configure_netplan_default Function: file.managed Name: /etc/netplan/10-openmediavault-default.yaml Result: True Comment: File /etc/netplan/10-openmediavault-default.yaml updated Started: 20:40:21.578549 Duration: 9.56 ms Changes: ---------- diff: New file mode: 0644
    ---------- ID: configure_netplan_ethernet_enp2s0 Function: file.managed Name: /etc/netplan/20-openmediavault-enp2s0.yaml Result: True Comment: File /etc/netplan/20-openmediavault-enp2s0.yaml updated Started: 20:40:21.588198 Duration: 17.214 ms Changes: ---------- diff: New file mode: 0644
    ---------- ID: apply_netplan_config Function: cmd.run Name: netplan apply Result: False Comment: Command "netplan apply" run Started: 20:40:21.605503 Duration: 64.921 ms Changes: ---------- pid: 1848 retcode: 78 stderr: /etc/netplan/20-openmediavault-enp2s0.yaml:5:20: Error in network definition: Invalid MAC address '', must be XX:XX:XX:XX:XX:XX macaddress: ^ stdout:

    Summary for debian
    ------------
    Succeeded: 7 (changed=6)
    Failed: 1
    ------------
    Total states run: 8
    Total run time: 1.034 s

  • ryecoaaron

    Hat das Thema freigeschaltet.
  • /etc/netplan/20-openmediavault-enp2s0.yaml


    ip addr show

  • I do have the same problem. All I did was setting up a fresh OMV, logged in via Web-Interface and the first thing I did was changing the Hostname.
    Now I dont get an ip-adress anymore and after 2 reboots the hostname in the console changed to my preffered "RASPI-NAS". Tried to restart the networking devices, didnt work. So far Im not experienced enough to tell whats wrong, first time user


    My ip addr (show) is exactly the same like the one from goddard from line 1 to 12.


    Using the omv-firstaid command with root to configure my network resulted in

    "ERROR: [Errno 11] Resource temporarily unavailable"


    Update: I came back 30 min later and idk why, but its online again. Maybe DHCP didnt work properly, idk what happenend, maybe the firstaid configuration helped

Jetzt mitmachen!

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