~bjornt/maas:bug-1932136-3.0

Last commit made on 2021-06-18
Get this branch:
git clone -b bug-1932136-3.0 https://git.launchpad.net/~bjornt/maas
Only Björn Tillenius can upload to this branch. If you are Björn Tillenius please log in for upload directions.

Branch merges

Branch information

Name:
bug-1932136-3.0
Repository:
lp:~bjornt/maas

Recent commits

b2ce424... by Björn Tillenius

LP #1932136: interface with a warning is not configured properly

Now all interfaces are considered enabled, since an admin should
explicitly disable an interface if he doesn't want it configured.

I also noted that we never set link_connected, so all interfaces were
considered connected. Now we set link_connected to False if there's no
link.

(cherry picked from commit 002914bc25559eb1118e035040ed6be6089fff26)

a3bebb5... by Christian Grabowski

LP #1931838: Reverse DNS lookup fails for subnets smaller than /24

pull the skip exclusions logic into its own function

correct the rfc2317 glue exclusions

(cherry picked from commit fdd0c41bba6b758416f460829b83d03e86200f36)

dd9fd49... by Björn Tillenius

LP #1931215: two IPs assigned to one interface

While the root cause most likely is our primary/secondary DHCP setup,
this works around the case when the machine gets two different IPs from
the DHCP requests.

Even if we see multiple IPs for commissioned nodes, we only create one
link to the subnet.

In the case where the machine is a controller, we still record both the
IPs.

(cherry picked from commit 5331a0f2f9735d5d23bc375dde8450015069946b)

9c498aa... by Alberto Donato

move maascli db default path out of default argument

0ed23ae... by Alberto Donato

fix sudoers files for running resource binaries and refresh scripts

This allows the machine-resources binary and refresh scripts to be run under
sudo on both region and rack controllers

2430814... by Alberto Donato

LP:1930587 - don't consider LUNs as globally unique, use serial too

223343c... by Björn Tillenius

LP #1930554: vm-host CLI command is now named vmhost

Commit c57ec00472a1911eac55df79e24e1801f9b89321 renamed the handler,
which caused the API command to remove the -.

(cherry picked from commit 08618ef9c58309390ec358b133759fec7c1e6dc1)

2182aad... by Alberto Donato

LP:1930227 - fix netmask for /32 and /128 to match actual subnet

8cfccc2... by Alberto Donato

LP: #1929643 - only keep the JSON emitter for API responses

Currently JSON is the only supported output format for API calls

697b885... by Björn Tillenius

Prepare for 3.0.0 RC2 release