Network-Manager on node0 is not working after a fresh installation

Bug #1420923 reported by Malte Menkhoff
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Orange Box
New
Undecided
Unassigned

Bug Description

after a fresh installation the Network-Manager is crashing after a reboot.
The reason for it is the link:
/etc/network/if-up.d/orange-setup-nat

after deleting the link everything is working as exptected.

Revision history for this message
Darryl Weaver (dweaver) wrote :

This script is the one that configures the DNS in MAAS automatically when network manager connects to a new network.
This does not always seem to work, and we have to manually run:
orange-box-setup-nat
to set the upstream DNS server in MAAS correctly on connecting to a new network.

Deleting the link will mean that it never runs automatically.
It would be interesting to discover what is wrong with the script or of it is a problem with network manager.

Revision history for this message
Darryl Weaver (dweaver) wrote :

link is /etc/network/if-up.d/orange-box-setup-nat

Revision history for this message
Malte Menkhoff (mmenkhof) wrote :

debug information of /var/log/upstart/networking.log:
+ exit 1
run-parts: /etc/network/if-up.d/orange-box-setup-nat exited with return code 1
Failed to bring up eth0.
++ id -u
+ '[' 0 '!=' 0 ']'
+ '[' br0 = lo ']'
++ route -n
++ grep '^10\.14\.'
++ sed -e 's/.* //'
+ internal=br0
++ ip route ls
++ grep '^default'
++ awk '{print $5}'
+ external=
+ '[' -z br0 ']'
+ '[' -z '' ']'
+ echo 'usage: /etc/network/if-up.d/orange-box-setup-nat [INTERNAL_INTERFACE] [EXTERNAL_INTERFACE]'
usage: /etc/network/if-up.d/orange-box-setup-nat [INTERNAL_INTERFACE] [EXTERNAL_INTERFACE]

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.