~ltrager/maas:lp1836293

Last commit made on 2019-08-07
Get this branch:
git clone -b lp1836293 https://git.launchpad.net/~ltrager/maas
Only Lee Trager can upload to this branch. If you are Lee Trager please log in for upload directions.

Branch merges

Branch information

Name:
lp1836293
Repository:
lp:~ltrager/maas

Recent commits

5a88388... by Lee Trager

LP: #1836293 - Install Debian packages with --no-install-recommends

c6914fb... by Lee Trager

Reimplement get_interfaces() by parsing the netplan configuration files.

Testing revealed two issues with scanning /sys for interfaces.

1. LP:1838114 - netplan is non-blocking meaning network configuration
   may not be applied once the netplan command exits. This causes
   network testing to fail. By parsing the netplan configuration files
   maas-run-remote-scripts can wait for the interfaces to appear before
   starting testing.
2. The default MAC address for virtual interfaces is the same as the
   underlying physical interface. Since interfaces are looked up by MAC
   address to support   device renaming only interfaces with IP addresses
   should be in the lookup table. By parsing the netplan configuration
   files maas-run-remote-scripts will contain the interfaces that are
   expected to be UP and have an IP addresses instead of just the ones
   that are UP.

656c566... by Lee Trager

Change ntp test to the new hardware type, network.

b660a6b... by Steve Rydz

show rsd navigation link conditionally

6581a3a... by Alberto Donato

ensure a clean GOPATH for building machine-resources binaries

4537e1d... by Lee Trager

Modify maas-run-remote-scripts to apply custom networking when required.

When a script requires custom networking to be applied
maas-run-remote-scripts will now apply it. If any error is detected the
custom network configuration will be reverted and the script will be marked
as FAILED_APPLYING_NETCONF. Once the script finishes running the custom
network configuration will be reverted. Scripts which run in parallel will
now run in two groups, one which doesn't require custom networking and one
which does.

eafe522... by Alberto Donato

snap: use set-version instead of deprecated version-script

43e2386... by Alberto Donato

snap: add go dependency to snapcraft.yaml

12a70c9... by Alberto Donato

don't create the CLI DB the file on "maas init", but on login instead

this eliminates the need for using seteuid/setegid for switching from root to the original user (which doesn't work in the confined snap)

66aba82... by Lee Trager

Add output_and_send_scripts helper function