-
Notifications
You must be signed in to change notification settings - Fork 775
Closed
Description
Describe the bug
I would like to set up a Multipass bridge.
However, the multipass network is not working.
To Reproduce
- Install lxd
sudo snap install lxd - Initialise lxd
sudo lxd -d -v init - Change Multipass backend to lxd
sudo multipass set local.driver=lxd - Connect to lxd
sudo snap connect multipass:lxd lxd
Expected behavior
The multipass network is working.
Logs
$ multipass networks -vvvv
[2021-06-17T21:21:46.511] [trace] [lxd request] Requesting LXD: GET unix://multipass/var/snap/lxd/common/lxd/unix.socket@1.0/networks?recursion=1&project=multipass
networks failed: LXD object not found
6 17 18:23:38 xxx-desktop systemd[1]: Started Service for snap application multipass.multipassd.
6 17 18:23:38 xxx-desktop multipassd[10042]: propsReply "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\",>
6 17 18:23:38 xxx-desktop multipassd[10042]: nmReply "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", se>
6 17 18:23:38 xxx-desktop multipassd[10042]: "Object path cannot be empty"
6 17 18:23:38 xxx-desktop multipassd[10042]: gRPC listening on unix:/var/snap/multipass/common/multipass_socket, SSL:on
6 17 18:23:50 xxx-desktop multipassd[10042]: Cannot retrieve last modified date for https://cloud-images.ubuntu.com/releases/streams/v1/index.json: Host unreachabl>
6 17 18:24:03 xxx-desktop multipassd[10042]: Cannot retrieve last modified date for https://cloud-images.ubuntu.com/releases/streams/v1/com.ubuntu.cloud:released:d>
6 17 18:24:15 xxx-desktop multipassd[10042]: Cannot retrieve last modified date for https://cloud-images.ubuntu.com/daily/streams/v1/index.json: Host unreachable. >
6 17 18:24:16 xxx-desktop multipassd[10042]: Could not update manifest: failed to download from 'http://cdimage.ubuntu.com/ubuntu-core/16/stable/current/ubuntu-cor>
6 17 18:24:21 xxx-desktop multipassd[10042]: Timeout getting response for GET operation on unix://multipass/var/snap/lxd/common/lxd/unix.socket@1.0/images?recursio>
6 17 18:24:21 xxx-desktop multipass.multipassd[10042]: [error] [daemon] Caught an unhandled exception: Timeout getting response for GET operation on unix://multipa>
6 17 18:24:21 xxx-desktop systemd[1]: snap.multipass.multipassd.service: Main process exited, code=exited, status=1/FAILURE
6 17 18:24:21 xxx-desktop systemd[1]: snap.multipass.multipassd.service: Failed with result 'exit-code'.
6 17 18:24:21 xxx-desktop systemd[1]: snap.multipass.multipassd.service: Scheduled restart job, restart counter is at 4.
6 17 18:24:21 xxx-desktop systemd[1]: Stopped Service for snap application multipass.multipassd.
6 17 18:24:21 xxx-desktop systemd[1]: Started Service for snap application multipass.multipassd.
6 17 18:24:21 xxx-desktop multipassd[10199]: propsReply "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\",>
6 17 18:24:21 xxx-desktop multipassd[10199]: nmReply "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", se>
6 17 18:24:21 xxx-desktop multipassd[10199]: "Object path cannot be empty"
6 17 18:24:21 xxx-desktop multipassd[10199]: gRPC listening on unix:/var/snap/multipass/common/multipass_socket, SSL:on
6 17 18:24:30 xxx-desktop multipassd[10199]: Starting Multipass 1.6.2
6 17 18:24:30 xxx-desktop multipassd[10199]: Daemon arguments: /snap/multipass/4458/bin/multipassd --verbosity debug --logger platform
6 17 18:32:08 xxx-desktop systemd[1]: Started snap.multipass.multipass.fe8d72e7-0286-48a3-8b93-1bda51898a39.scope.
6 17 18:32:08 xxx-desktop multipassd[10199]: Goodbye!
6 17 18:32:08 xxx-desktop systemd[1]: snap.multipass.multipass.fe8d72e7-0286-48a3-8b93-1bda51898a39.scope: Succeeded.
6 17 18:32:08 xxx-desktop systemd[1]: snap.multipass.multipassd.service: Main process exited, code=exited, status=42/n/a
6 17 18:32:08 xxx-desktop systemd[1]: snap.multipass.multipassd.service: Failed with result 'exit-code'.
6 17 18:32:09 xxx-desktop systemd[1]: snap.multipass.multipassd.service: Scheduled restart job, restart counter is at 5.
6 17 18:32:09 xxx-desktop systemd[1]: Stopped Service for snap application multipass.multipassd.
6 17 18:32:09 xxx-desktop systemd[1]: Started Service for snap application multipass.multipassd.
6 17 18:32:09 xxx-desktop multipassd[11593]: propsReply "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\",>
6 17 18:32:09 xxx-desktop multipassd[11593]: nmReply "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", se>
6 17 18:32:09 xxx-desktop multipassd[11593]: "Object path cannot be empty"
6 17 18:32:09 xxx-desktop multipassd[11593]: gRPC listening on unix:/var/snap/multipass/common/multipass_socket, SSL:on
6 17 18:32:17 xxx-desktop multipassd[11593]: Starting Multipass 1.6.2
6 17 18:32:17 xxx-desktop multipassd[11593]: Daemon arguments: /snap/multipass/4458/bin/multipassd --verbosity debug --logger platform
$ lxc network list
+--------+----------+---------+-----------------+---------------------------+-------------+---------+
| NAME | TYPE | MANAGED | IPV4 | IPV6 | DESCRIPTION | USED BY |
+--------+----------+---------+-----------------+---------------------------+-------------+---------+
| enp2s0 | physical | NO | | | | 0 |
+--------+----------+---------+-----------------+---------------------------+-------------+---------+
| enp3s0 | physical | NO | | | | 0 |
+--------+----------+---------+-----------------+---------------------------+-------------+---------+
| lxdbr0 | bridge | YES | 10.248.147.1/24 | fd42:cc0b:f712:28c5::1/64 | | 2 |
+--------+----------+---------+-----------------+---------------------------+-------------+---------+
| wlp1s0 | physical | NO | | | | 0 |
+--------+----------+---------+-----------------+---------------------------+-------------+---------+
$ lxc network show lxdbr0
config:
ipv4.address: 10.248.147.1/24
ipv4.nat: "true"
ipv6.address: fd42:cc0b:f712:28c5::1/64
ipv6.nat: "true"
description: ""
name: lxdbr0
type: bridge
used_by:
- /1.0/instances/bionic
- /1.0/profiles/default
managed: true
status: Created
locations:
- none
$ lxc list
+--------+---------+------+------+-----------+-----------+
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
+--------+---------+------+------+-----------+-----------+
| bionic | RUNNING | | | CONTAINER | 0 |
+--------+---------+------+------+-----------+-----------+
Additional info
- OS: Ubuntu 20.04.2 LTS
multipass version multipass 1.6.2 multipassd 1.6.2multipass info --all
Additional context
Please let us know if there is any information you need.
Reactions are currently unavailable