Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@sems-laptop:~# sudo netplan --debug try
- DEBUG:eth0 not found in {}
- DEBUG:Merged config:
- network:
- bonds: {}
- bridges: {}
- ethernets:
- eth0:
- addresses:
- - 172.18.5.189/28
- dhcp4: false
- gateway4: 192.168.1.1
- nameservers:
- addresses:
- - 8.8.8.8
- - 8.8.4.4
- ovs_ports: {}
- vlans: {}
- wifis: {}
- DEBUG:New interfaces: set()
- ** (generate:128): DEBUG: 08:44:03.358: Processing input file /etc/netplan/00-installer-config.yaml..
- ** (generate:128): DEBUG: 08:44:03.358: starting new processing pass
- ** (generate:128): DEBUG: 08:44:03.358: We have some netdefs, pass them through a final round of validation
- ** (generate:128): DEBUG: 08:44:03.358: eth0: setting default backend to 1
- ** (generate:128): DEBUG: 08:44:03.358: Configuration is valid
- ** (generate:128): DEBUG: 08:44:03.359: Generating output files..
- ** (generate:128): DEBUG: 08:44:03.359: openvswitch: definition eth0 is not for us (backend 1)
- ** (generate:128): DEBUG: 08:44:03.359: NetworkManager: definition eth0 is not for us (backend 1)
- (generate:128): GLib-DEBUG: 08:44:03.359: posix_spawn avoided (fd close requested)
- (generate:128): GLib-DEBUG: 08:44:03.359: posix_spawn avoided (fd close requested)
- DEBUG:netplan generated networkd configuration changed, restarting networkd
- Failed to connect to bus: No such file or directory
- An error occurred: Command '['systemctl', 'daemon-reload']' returned non-zero exit status 1.
- Reverting.
- DEBUG:netplan generated networkd configuration changed, restarting networkd
- DEBUG:eth0 not found in {}
- DEBUG:Merged config:
- network:
- bonds: {}
- bridges: {}
- ethernets:
- eth0:
- addresses:
- - 172.18.5.189/28
- dhcp4: false
- gateway4: 192.168.1.1
- nameservers:
- addresses:
- - 8.8.8.8
- - 8.8.4.4
- ovs_ports: {}
- vlans: {}
- wifis: {}
- Failed to connect to bus: No such file or directory
- Failed to connect to bus: No such file or directory
- Traceback (most recent call last):
- File "/usr/share/netplan/netplan/cli/commands/try_command.py", line 83, in command_try
- NetplanApply().command_apply(run_generate=True, sync=True, exit_on_error=False)
- File "/usr/share/netplan/netplan/cli/commands/apply.py", line 152, in command_apply
- utils.systemctl_daemon_reload()
- File "/usr/share/netplan/netplan/cli/utils.py", line 113, in systemctl_daemon_reload
- subprocess.check_call(['systemctl', 'daemon-reload'])
- File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
- raise CalledProcessError(retcode, cmd)
- subprocess.CalledProcessError: Command '['systemctl', 'daemon-reload']' returned non-zero exit status 1.
- During handling of the above exception, another exception occurred:
- 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 211, in run_command
- self.func()
- File "/usr/share/netplan/netplan/cli/commands/try_command.py", line 66, in run
- self.run_command()
- File "/usr/share/netplan/netplan/cli/utils.py", line 211, in run_command
- self.func()
- File "/usr/share/netplan/netplan/cli/commands/try_command.py", line 94, in command_try
- self.revert()
- File "/usr/share/netplan/netplan/cli/commands/try_command.py", line 117, in revert
- NetplanApply().command_apply(run_generate=False, sync=True, exit_on_error=False)
- File "/usr/share/netplan/netplan/cli/commands/apply.py", line 160, in command_apply
- utils.systemctl_networkd('stop', sync=sync, extra_services=wpa_services)
- File "/usr/share/netplan/netplan/cli/utils.py", line 101, in systemctl_networkd
- subprocess.check_call(command)
- File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
- raise CalledProcessError(retcode, cmd)
- subprocess.CalledProcessError: Command '['systemctl', 'stop', 'systemd-networkd.service', 'netplan-wpa-*.service']' returned non-zero exit status 1.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement