i have deployed juju controller using bootstrap on localhost, but ‘lxc list’ is not showing any info about the controller i have made instead it gives nothing. seems like juju is not able to connect with lxd cloud ! i have tried all the possible solutions and now i am stuck here badly. kindly help me to resolve this issue ?
output of “lxc list”
±-----±------±-----±-----±-----±----------+
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
±-----±------±-----±-----±-----±----------+
output of “juju controllers”
Controller Model User Access Cloud/Region Models Machines HA Version
lxd-test* default admin superuser localhost/localhost 2 1 none 2.4.4
You may have two versions of LXD installed somehow (deb & snap) which could explain the output, or you may also have your CLI configured to look at remote system, please post:
ii lxd 3.0.1-0ubuntu1~18.04.1 amd64 Container hypervisor based on LXC - daemon
ii lxd-client 3.0.1-0ubuntu1~18.04.1 amd64 Container hypervisor based on LXC - client
Yeah, you have both the LXD deb and snapped installed, so that matches the symptoms.
Since there’s nothing running on the deb version of LXD, removing the lxd and lxd-client debs should fix your setup.
Got it sir! and yes you are right, i have been using 2 packages of lxd. i just completely removed lxd and lxd client and also removed its snap package and again installed with “sudo apt install lxd”, i think it installs lxd deb. and now its working fine. Thanks so much