I also seem to have the same issue with the same configuration changes pending as pplucky. However I am running OMV inside Proxmox. When running omv-salt deploy run hosts it runs fine. But running omv-salt deploy run systemd-networkd causes and error.
When running omv-salt deploy run systemd-networkd the console shows the following error:
debian:
----------
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: 10:53:52.424922
Duration: 11.703 ms
Changes:
----------
ID: remove_netplan_systemd_networkd_config_files
Function: module.run
Result: True
Comment: file.find: []
Started: 10:53:52.436964
Duration: 0.83 ms
Changes:
----------
file.find:
----------
ID: remove_netplan_empty_systemd_networkd_config_files
Function: module.run
Result: True
Comment: file.find: []
Started: 10:53:52.437856
Duration: 0.542 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-ens18.yaml']
Started: 10:53:52.438461
Duration: 0.729 ms
Changes:
----------
file.find:
- /etc/netplan/10-openmediavault-default.yaml
- /etc/netplan/20-openmediavault-ens18.yaml
----------
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: 10:53:52.439254
Duration: 5.171 ms
Changes:
----------
diff:
New file
mode:
0644
----------
ID: configure_netplan_ethernet_ens18
Function: file.managed
Name: /etc/netplan/20-openmediavault-ens18.yaml
Result: True
Comment: File /etc/netplan/20-openmediavault-ens18.yaml updated
Started: 10:53:52.444494
Duration: 14.887 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: 10:53:52.459764
Duration: 90563.656 ms
Changes:
----------
pid:
80716
retcode:
1
stderr:
Job for systemd-networkd.service failed because a timeout was exceeded.
See "systemctl status systemd-networkd.service" and "journalctl -xe" for details.
Traceback (most recent call last):
File "/usr/sbin/netplan", line 23, in <module>
netplan.main()
File "/usr/share/netplan/netplan/cli/core.py", line 50, in main
self.run_command()
File "/usr/share/netplan/netplan/cli/utils.py", line 257, in run_command
self.func()
File "/usr/share/netplan/netplan/cli/commands/apply.py", line 55, in run
self.run_command()
File "/usr/share/netplan/netplan/cli/utils.py", line 257, in run_command
self.func()
File "/usr/share/netplan/netplan/cli/commands/apply.py", line 232, in command_apply
utils.systemctl_networkd('start', sync=True, extra_services=netplan_wpa + netplan_ovs)
File "/usr/share/netplan/netplan/cli/utils.py", line 125, in systemctl_networkd
subprocess.check_call(command)
File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['systemctl', 'start', 'systemd-networkd.service', 'netplan-ovs-cleanup.service']' returned non-zero exit status 1.
stdout:
----------
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: 10:55:23.023633
Duration: 726.2 ms
Changes:
Summary for debian
------------
Succeeded: 7 (changed=6)
Failed: 1
------------
Total states run: 8
Total run time: 91.324 s
Alles anzeigen
After running omv-salt deploy run systemd-networkd the webinterface is down. Also the network interface is down.
Running ip addr then gives me no ip address:
2: ens18: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_code1 state DOWN group default qlen 1000
link/ether (hidden) brd (hidden)
altname enp0s18
After rebooting I get back my IP address
2: ens18: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_code1 state DOWN group default qlen 1000
link/ether (hidden) brd (hidden)
altname enp0s18
inet 192.168.1.x/24 brd 192.168.1.255 scope global dynamic ens18
valid_lft 3268sec preferred_lft 3268sec
I have also tried re-configuring my network device by running omv-firstaid. This also caused the server to hang and lose its IP address.
I hope this helps in analyzing the issue.