multipass-test:release/1.6

Last commit made on 2021-02-12
Get this branch:
git clone -b release/1.6 https://git.launchpad.net/multipass-test

Branch merges

Branch information

Name:
release/1.6
Repository:
lp:multipass-test

Recent commits

c94d833... by "bors[bot]" <26634292+bors[bot]@users.noreply.github.com>

Merge #1965

1965: Don't ask for IP when querying the daemon from the GUI r=townsend2010 a=luis4a0

The GUI issues one `list` request to the daemon per second. Since now `list` asks the instances for the IP's it's using, this consumes lots of resources.

This PR fixes that, by adding a hidden parameter to the `list` command, telling the daemon whether it should ask the instance for the IP's.

Co-authored-by: Luis Peñaranda <email address hidden>

9f27f43... by "bors[bot]" <26634292+bors[bot]@users.noreply.github.com>

Merge #1958

1958: Rename 'id' to 'name' in launch command r=ricab a=luis4a0

`multipass launch --network` accepts `id=` as the key to the interface name argument. This must be changed to `name=` in order to avoid confusion with the network listing, on which interface names are listed using 'name' as field name.

Co-authored-by: Luis Peñaranda <email address hidden>
Co-authored-by: Ricardo Abreu <email address hidden>

9c63746... by "bors[bot]" <26634292+bors[bot]@users.noreply.github.com>

Merge #1954

1954: Move get_all_ipv4() from daemon to VirtualMachine r=ricab a=luis4a0

In order to fix https://github.com/canonical/multipass/issues/1951, we need to make each backend to handle the request for IP listing.

Co-authored-by: Luis Peñaranda <email address hidden>

c541aff... by "bors[bot]" <26634292+bors[bot]@users.noreply.github.com>

Merge #1952

1952: [daemon] disallow `--network ...,mode=auto` on Ubuntu Core 16 r=luis4a0,townsend2010 a=Saviq

`netplan` in the image is too old to handle our config:

```plain
Stderr: Error in network definition //etc/netplan/50-cloud-init.yaml line 12 column 12: unknown key dhcp4-overrides
```

Co-authored-by: Michał Sawicz <email address hidden>

9552990... by "bors[bot]" <26634292+bors[bot]@users.noreply.github.com>

Merge #1945

1945: [yaml] update yaml-cpp to handle strings with colons r=luis4a0 a=Saviq

Fixes #1097

Co-authored-by: Michał Sawicz <email address hidden>

ac818a6... by "bors[bot]" <26634292+bors[bot]@users.noreply.github.com>

Merge #1928

1928: Rework disk space check. Fixes #1926 r=ricab a=Saviq

Allow over-committing disk space, as that's a feature, not a bug. Still fail on disk space lower than image size, and warn on over-committing.

Co-authored-by: Michał Sawicz <email address hidden>
Co-authored-by: Ricardo Abreu <email address hidden>

553810f... by "bors[bot]" <26634292+bors[bot]@users.noreply.github.com>

Merge #1944

1944: [daemon] Skip ghost instances in JSON DB r=Saviq a=ricab

Skip entries where all members are 0/empty, which we know are ghosts of
purged instances. They get removed in the following DB update.

Addresses #1935.

Co-authored-by: Ricardo Abreu <email address hidden>

3e6f7a1... by "bors[bot]" <26634292+bors[bot]@users.noreply.github.com>

Merge #1937

1937: [lxd_request] Set JSON parsing error dump to debug r=Saviq a=townsend2010

This will keep the user from seeing a bunch of JSON from being spewed in their client.

Fixes #1927

Co-authored-by: Chris Townsend <email address hidden>

7caeae5... by "bors[bot]" <26634292+bors[bot]@users.noreply.github.com>

Merge #1921

1921: Bridging lxd r=Saviq a=ricab

This implements `launch --network` with the LXD backend.

Co-authored-by: Ricardo Abreu <email address hidden>

8595c33... by "bors[bot]" <26634292+bors[bot]@users.noreply.github.com>

Merge #1925

1925: [LXD] Fix regression when stopping an instance when it's already stopped r=Saviq a=townsend2010

Fixes #1920

Co-authored-by: Chris Townsend <email address hidden>