Unable to bootstrap Juju on Bionic


I’m trying to get charmed kubernetes up and running on ubuntu bionic (18.04.3)
I’ve installed the required packages and dependencies but somehow bootstrap

17:43:10 INFO  juju.container.lxd container.go:220 starting new container "juju-58792d-0" (image "ubuntu-18.04-server-cloudimg-amd64-lxd.tar.xz")
17:43:26 ERROR juju.cmd.juju.commands bootstrap.go:778 failed to bootstrap model: cannot start bootstrap instance in availability zone "VMS-K8S": Could not create thin LV named containers_juju--58792d--0

If I look for this error online, the suggestion is to pass -Z flag to lvcreate but I cannot change the command that juju internally runs, can I ?

What am I missing here ?

Here are the versions installed:

$ juju version 
$ lxc --version 
$ lsb_release  -a 
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.3 LTS
Release:	18.04
Codename:	bionic


Sorry, looks like you’ve hit a bug in that I don’t believe we test Juju on LXD with the LVM storage backend and that’s what you’re running to hit an issue creating the volume there in LXD.

It’d be great if you could describe your LXD setup in a bug on bugs.launchpad.net/juju and we can look at updating to support it.

Until then you’ll need to update your LXD setup to use another storage backend. I know we test with zfs and I believe btrfs (which was the default last I checked).

Along with dir, zfs and btrfs are our defaults we use.

Thanks Rick,

I will file a bug. And will switch to zfs backend.