Advertisement
Guest User

Netplan failure

a guest
Nov 25th, 2020
762
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.00 KB | None | 0 0
  1. root@sems-laptop:~# sudo netplan --debug try
  2. DEBUG:eth0 not found in {}
  3. DEBUG:Merged config:
  4. network:
  5. bonds: {}
  6. bridges: {}
  7. ethernets:
  8. eth0:
  9. addresses:
  10. - 172.18.5.189/28
  11. dhcp4: false
  12. gateway4: 192.168.1.1
  13. nameservers:
  14. addresses:
  15. - 8.8.8.8
  16. - 8.8.4.4
  17. ovs_ports: {}
  18. vlans: {}
  19. wifis: {}
  20.  
  21. DEBUG:New interfaces: set()
  22. ** (generate:128): DEBUG: 08:44:03.358: Processing input file /etc/netplan/00-installer-config.yaml..
  23. ** (generate:128): DEBUG: 08:44:03.358: starting new processing pass
  24. ** (generate:128): DEBUG: 08:44:03.358: We have some netdefs, pass them through a final round of validation
  25. ** (generate:128): DEBUG: 08:44:03.358: eth0: setting default backend to 1
  26. ** (generate:128): DEBUG: 08:44:03.358: Configuration is valid
  27. ** (generate:128): DEBUG: 08:44:03.359: Generating output files..
  28. ** (generate:128): DEBUG: 08:44:03.359: openvswitch: definition eth0 is not for us (backend 1)
  29. ** (generate:128): DEBUG: 08:44:03.359: NetworkManager: definition eth0 is not for us (backend 1)
  30. (generate:128): GLib-DEBUG: 08:44:03.359: posix_spawn avoided (fd close requested)
  31. (generate:128): GLib-DEBUG: 08:44:03.359: posix_spawn avoided (fd close requested)
  32. DEBUG:netplan generated networkd configuration changed, restarting networkd
  33. Failed to connect to bus: No such file or directory
  34.  
  35. An error occurred: Command '['systemctl', 'daemon-reload']' returned non-zero exit status 1.
  36.  
  37. Reverting.
  38. DEBUG:netplan generated networkd configuration changed, restarting networkd
  39. DEBUG:eth0 not found in {}
  40. DEBUG:Merged config:
  41. network:
  42. bonds: {}
  43. bridges: {}
  44. ethernets:
  45. eth0:
  46. addresses:
  47. - 172.18.5.189/28
  48. dhcp4: false
  49. gateway4: 192.168.1.1
  50. nameservers:
  51. addresses:
  52. - 8.8.8.8
  53. - 8.8.4.4
  54. ovs_ports: {}
  55. vlans: {}
  56. wifis: {}
  57.  
  58. Failed to connect to bus: No such file or directory
  59. Failed to connect to bus: No such file or directory
  60. Traceback (most recent call last):
  61. File "/usr/share/netplan/netplan/cli/commands/try_command.py", line 83, in command_try
  62. NetplanApply().command_apply(run_generate=True, sync=True, exit_on_error=False)
  63. File "/usr/share/netplan/netplan/cli/commands/apply.py", line 152, in command_apply
  64. utils.systemctl_daemon_reload()
  65. File "/usr/share/netplan/netplan/cli/utils.py", line 113, in systemctl_daemon_reload
  66. subprocess.check_call(['systemctl', 'daemon-reload'])
  67. File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
  68. raise CalledProcessError(retcode, cmd)
  69. subprocess.CalledProcessError: Command '['systemctl', 'daemon-reload']' returned non-zero exit status 1.
  70.  
  71. During handling of the above exception, another exception occurred:
  72.  
  73. Traceback (most recent call last):
  74. File "/usr/sbin/netplan", line 23, in <module>
  75. netplan.main()
  76. File "/usr/share/netplan/netplan/cli/core.py", line 50, in main
  77. self.run_command()
  78. File "/usr/share/netplan/netplan/cli/utils.py", line 211, in run_command
  79. self.func()
  80. File "/usr/share/netplan/netplan/cli/commands/try_command.py", line 66, in run
  81. self.run_command()
  82. File "/usr/share/netplan/netplan/cli/utils.py", line 211, in run_command
  83. self.func()
  84. File "/usr/share/netplan/netplan/cli/commands/try_command.py", line 94, in command_try
  85. self.revert()
  86. File "/usr/share/netplan/netplan/cli/commands/try_command.py", line 117, in revert
  87. NetplanApply().command_apply(run_generate=False, sync=True, exit_on_error=False)
  88. File "/usr/share/netplan/netplan/cli/commands/apply.py", line 160, in command_apply
  89. utils.systemctl_networkd('stop', sync=sync, extra_services=wpa_services)
  90. File "/usr/share/netplan/netplan/cli/utils.py", line 101, in systemctl_networkd
  91. subprocess.check_call(command)
  92. File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
  93. raise CalledProcessError(retcode, cmd)
  94. 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