~blake-rouse/maas:bind9-restart

Last commit made on 2019-08-12
Get this branch:
git clone -b bind9-restart https://git.launchpad.net/~blake-rouse/maas
Only Blake Rouse can upload to this branch. If you are Blake Rouse please log in for upload directions.

Branch merges

Branch information

Name:
bind9-restart
Repository:
lp:~blake-rouse/maas

Recent commits

e9e8b97... by Blake Rouse

Notice when bind9 is hung, force kill the service, ensure it starts again, then perform a reload.

0534ee3... by Steve Rydz

Defer check for RSD tab to after page is ready

b98667f... by Lee Trager

Add network validation tests.

* internet-connectivity - Check if an interface can access the specified
  URL(s).
* gateway-connectivity - Check if an interface has access to the
  configured gateway.
* rack-controller-connectivity - Check if an interface has access to the
  booted rack controller.

If the specified interface is a bond or a bridge with a lower bond the
interface will be tested with only one slave device connected at a time.

1fb5d59... by Alberto Donato

replace direct setters with Node.set_power_config to simplify logic

edb6603... 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.