rc3, lxd 2.4.1, 16.04/16.10 use ipv6 if configured via lxd init
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
Critical
|
Richard Harding |
Bug Description
To reproduce:
$ sudo lxd init
Name of the storage backend to use (dir or zfs) [default=dir]: dir
Would you like LXD to be available over the network (yes/no) [default=no]?
Would you like stale cached images to be updated automatically (yes/no) [default=yes]?
Would you like to create a new network bridge (yes/no) [default=yes]?
What should the new bridge be called [default=lxdbr0]?
What IPv4 subnet should be used (CIDR notation, “auto” or “none”) [default=auto]?
What IPv6 subnet should be used (CIDR notation, “auto” or “none”) [default=auto]?
LXD has been successfully configured.
Accept all defaults including auto for both ipv4 and ipv6
$ sudo apt install conjure-up
$ conjure-up -d
Select OpenStack with NovaLXD, wait awhile, check `juju status`: http://
and yaml output: http://
Output of `lxc network show lxdbr0`
name: lxdbr0
config:
ipv4.address: 10.91.83.1/24
ipv4.nat: "true"
ipv6.address: fd42:c688:
ipv6.nat: "true"
managed: true
type: bridge
usedby:
- /1.0/containers
- /1.0/containers
- /1.0/containers
- /1.0/containers
- /1.0/containers
- /1.0/containers
- /1.0/containers
- /1.0/containers
- /1.0/containers
- /1.0/containers
- /1.0/containers
- /1.0/containers
- /1.0/containers
- /1.0/containers
- /1.0/containers
- /1.0/containers
- /1.0/containers
I was told Juju 2.0 doesn't fully support ipv6 and should use ipv4 regardless of the configuration for LXD networking.
tags: | added: uosci |
tags: | added: ipv6 |
summary: |
- rc3, lxd 2.4.1, 16.10 use ipv6 if auto configured via lxd init + rc3, lxd 2.4.1, 16.04/16.10 use ipv6 if configured via lxd init |
tags: |
added: conjure removed: ipv6 uosci |
description: | updated |
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → Critical |
milestone: | none → 2.0.0 |
assignee: | nobody → Richard Harding (rharding) |
tags: | added: ipv6 uosci |
Changed in juju: | |
status: | Triaged → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
Seeing the same thing with 16.04 and 2.0rc3. Sometimes it uses IPv4, sometimes it uses IPv6.