A fresh install of Juju on Ubuntu 18.04 doesn’t work.
I end up with this error after a first juju boostrap
attempt:
profile "default": juju does not support IPv6
Then with this error after having disable IPv6:
profile "default": no network device found with nictype "bridged" or "macvlan".
Steps to reproduce in screen capture below:
I have found this PR which seems to fixed this issue (merged 2 days ago). However I don’t know how to use the latest “correct” version of Juju in order to run juju boostrap
successfully.
Any comment and/or help about this situation would be much appreciated.
One workaround I have found out is to edit the default
profile with values from the example documentation, as follow:
lxc profile edit default
Remove values under eth0:
with values from the header comments:
devices:
eth0:
name: eth0
nictype: bridged
parent: lxdbr0
type: nic
After saving profile config, I can run juju boostrap localhost overlord
. Unfortunately, it ends up with another error:
ERROR Get https://10.213.211.1:8443/1.0: Unable to connect to: 10.213.211.1:8443
ERROR failed to bootstrap model: subprocess encountered error code 1
timClicks
(Tim McNamara)
5 April 2020 09:16
3
Well done on your perseverance here. Juju’s IPv6 support is in-progress. Until then, disable it in LXD:
lxc network set lxdbr0 ipv6.address none
Yep, thank you. I’ve done that
Then there still is an issue with the default
profile.
Fresh install of Juju on Ubuntu (18.04) doesn’t work and I don’t really know what to do from here…
hpidcock
(Harry Pidcock)
5 April 2020 23:30
5
To use the edge 2.7 snap you can install with snap install juju --channel 2.7/edge
or refresh the snap with snap refresh juju --channel 2.7/edge