Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Exception: Could not determine LXD version. #683
Comments
|
There is a newer version of conjure-up that handles LXD a lot better, please upgrade first:
|
battlemidget
self-assigned this
Feb 16, 2017
battlemidget
added
the
bug
label
Feb 16, 2017
battlemidget
added this to the 2.1.0 milestone
Feb 16, 2017
tytus-kurek
commented
Feb 16, 2017
|
Refreshing the snap helps to get rid of the LXD issue.
However, after refreshing the snap, the conjure-up exits with status 1 and
no error message.
Unfortunately, I will no longer have an access to this environment.
Tytus Kurek | Cloud Consultant | Canonical Ltd.
tytus.kurek@canonical.com | +48 790 207 297 | www.canonical.com
…
|
battlemidget
added
the
not reproducable
label
Feb 16, 2017
battlemidget
closed this
Feb 16, 2017
karelbemelmans
commented
Jul 17, 2017
|
I'm getting the same error as the original reporter on a fresh 17.04 LTS desktop install (ubuntu-17.04-desktop-amd64.iso). I downloaded the iso, installed it in a virtualbox and then followed the instructions from https://conjure-up.io:
|
|
@karelbemelmans Can you attach ~/.cache/conjure-up/conjure-up.log? |
geesen
commented
Jul 17, 2017
|
same here with fresh ubuntu 16.04.2 LTS (server edition) commands:
|
jedieaston
commented
Jul 17, 2017
|
Same problem on Ubuntu 16.04 LTS with all updates. My conjure-up.log is blank. |
karelbemelmans
commented
Jul 17, 2017
|
My conjure-up.log is blank too. |
|
hmm, ok we'll need to try and reproduce this. is it possible to attach a sosreport to this bug from each you of experiencing this issue |
karelbemelmans
commented
Jul 17, 2017
|
Tell me how you want that sosreport, or point me to some docs how to do it. For now I can give you this output already, this was run on a fresh install of the 17.04 iso:
|
jedieaston
commented
Jul 17, 2017
•
|
Here's the same info from my system:
Also, I noticed that "conjure-up.lxd --version" and "lxd --version" report different values, could that be part of the problem? |
No because we package our own lxd and call it directly via |
|
@jedieaston after running |
richardsith
commented
Jul 17, 2017
•
erihanse
referenced this issue
Jul 17, 2017
Closed
conjure-up localhost unable to locate liblxc.so.1 #955
battlemidget
reopened this
Jul 17, 2017
battlemidget
removed
the
not reproducable
label
Jul 17, 2017
battlemidget
modified the milestones:
2.2.4,
2.1.0
Jul 17, 2017
|
@johnsca maybe we can sync tomorrow to try and track this down |
|
can you guys post |
richardsith
commented
Jul 17, 2017
|
yes
|
|
thanks im on snapd 2.25, lemme upgrade and see if thats it |
|
yep 2.26.9 is the problem |
richardsith
commented
Jul 17, 2017
|
:-( |
|
Im working with them to try and get it sorted https://forum.snapcraft.io/t/snapd-2-26-9-and-conjure-up-no-longer-work/1348 |
|
All, I'm working with the snapd team to figure out what the problem is and what a resolution will be. Thanks for your patience |
battlemidget
locked and limited conversation to collaborators
Jul 17, 2017
|
Just an update, We are still working on the issue, an initial fix is currently in testing. You can also follow along with the snapd bug https://bugs.launchpad.net/snapd/+bug/1704860 I'll keep everyone posted once this issue is resolved. Thank you |
|
If you all can test with:
And let us know if that fixes the problem. (I've tested along with a few others but would like more feedback from you all) Thank you |
battlemidget
unlocked this conversation
Jul 19, 2017
raoulwissink
commented
Jul 19, 2017
|
Works great for me, thanks for the quick fix guys |
richardsith
commented
Jul 19, 2017
•
|
perfect, great job fix that..thanks
then
|
geesen
commented
Jul 19, 2017
|
can also confirm that it is working now! thanks a lot |
|
perfect, thank you! I'll close this ticket once the core snap hits the stable channel |
richardsith
commented
Jul 19, 2017
|
ok thanks a lot |
chrone81
commented
Jul 19, 2017
•
|
Sadly, using latest snap core beta and conjure-up candidate still do not work.
Env. details:
|
richardsith
commented
Jul 19, 2017
•
|
@chrone81 this is my situation:
confirm you the correct fix of that, I'm completing the deploy of Openstack Autopilot via Landscape Try to remove conjure and re-install that using
|
chrone81
commented
Jul 19, 2017
|
@richardsith weird, I tried on two physical machines running Ubuntu 16.04.2 to no avail. :( The two nodes above were just clean installed. Will try in VirtualBox tomorrow.
|
ramur
commented
Jul 19, 2017
|
Still not able to resolve the issue. Please help |
|
Can you run:
And paste the output of that |
ramur
commented
Jul 19, 2017
|
Can not open /var/lib/snapd/seccomp/profiles//snap.conjure-up.conjure-up (No such file or directory) |
richardsith
commented
Jul 19, 2017
•
|
@ramur I've this on that directory
|
ramur
commented
Jul 19, 2017
|
@richardsith, yes I do have that file, but still not able to bring conjure-up |
chrone81
commented
Jul 19, 2017
|
@battlemidget, I got this on two nodes.
|
|
Thanks going to take this over to https://forum.snapcraft.io/t/snapd-2-26-9-and-conjure-up-no-longer-work/1348, please follow along there and participate in the thread to help the snap developers track down this issue. |
|
@chrone81 hm you are hitting a different issue, does |
ramur
commented
Jul 19, 2017
|
@battlemidget, thanks, I saw the post, many thanks |
chrone81
commented
Jul 19, 2017
|
@battlemidget yeap, same thing either using sudo user or root.
|
|
@chrone81 thats because you're logged in as root already, you'll want to be a non root user doing this |
ramur
commented
Jul 19, 2017
|
@battlemidget. The following is the log |
chrone81
commented
Jul 19, 2017
•
|
@battlemidget weird, I believed I have run it from non-root but with sudo, and with root user before. Here's the output again as non-root account and without sudo:
|
richardsith
commented
Jul 19, 2017
•
|
@chrone81 did you try to remove conjure-up? and re-install it? |
chrone81
commented
Jul 19, 2017
|
@richardsith yes, I did it several times hours ago and after you suggested. Even on one node I purged the snapd package and reinstall again. |
richardsith
commented
Jul 19, 2017
|
@chrone81 have you installed snapd? because on 16.04 it's already present it's not necessary to install it. Which OS are you using? |
ramur
commented
Jul 19, 2017
|
That issue resolved. Please refer to @battlemidget Thanks! |
|
@chrone81 a workaround is to |
gauravbansal74
commented
Jul 19, 2017
|
@battlemidget its giving me same issue. :( |
|
@gauravbansal74 did you see my last post? You need to make sure you're on debian package snapd 2.25. They are working on a fix in the core snap that'll be released soon so this won't be necessary. If you can't wait though updating your snapd debian package is the workaround |
chrone81
commented
Jul 19, 2017
|
@battlemidget I think it's already snapd 2.25.
Should I purge the snap, snap-confine, snapd, and ubuntu-core-launcher to execute "sudo apt install snapd"? |
gauravbansal74
commented
Jul 19, 2017
|
@battlemidget Thank you. I am following the thread. |
Yea give that a try, i would also try to |
chrone81
commented
Jul 19, 2017
•
|
@battlemidget Ok I think I got this working after removing all snap, snapd, snap-confine, and ubuntu-core-launcher packages and reinstalled only snapd package.
I don't know where that "snap" package came from. Based on its description is for location of genes from DNS sequence with hidden markov model. Perhaps that snap packages confused the snapd. I did installed the nodes using Ubuntu 16.04.2 64-bit server iso image which downloaded from releases.ubuntu.com last week. Thanks! |
|
@chrone81 Yea it's possible, I know a lot of people confuse the package |
jensleister
commented
Jul 19, 2017
•
|
I'm also on a fresh install using Ubuntu 16.04.2 64-bit server iso image on a physical machine. Ran into the same problem. Here is what I've:
In my opinion there appears to be an issue with privileges when writing to /var. Here is why: $ sudo apt-get purge snapd
# Got a _lot_ of rm errors for /var/conjure-up directory. Therefore, rebooted and re-ran former shell command. It worked successfully.
$ dpkg -l | grep -i snap
$ sudo apt install snapd
INFO cannot auto connect core:core-support-plug to core:core-support: (slot auto-connection), existing connection state "core:core-support-plug core:core-support" in the way
$ sudo snap install conjure-up --classic
# re-login may be required at that point if you just installed snap utility
# I did a full reboot -- just to be on the safe side...
$ conjure-up kubernetesNow I'm asked to select the spell for kubernetes. All good BTW Read this, too. Didn't help So what's the issue? I guess the standard packages (I've enstolled only OpenSSH when installing the fresh system) installs packages via apt which get in the way of the newer snap stuff for conjure-up. Can anyone confirm, pls? |
richardsith
commented
Jul 20, 2017
|
@jedieaston I 've tested the same your lab creating a new VM with U16.04.2 updated via apt then installed conjure-up followed the above suggests and it works without issue. |
andrepbo
commented
Jul 20, 2017
|
This fix worked great for me too: My environment:
Many thanks for the quick fix. |
csharpemcee
commented
Jul 20, 2017
|
Thank you so much! I thought this was either an old bug, or I was the only one lol
|
|
For those who have the APT package snapd version 2.21 installed a new core snap was pushed to the --beta channel that addresses that particular issue. Also want to remind everyone that this Monday July 24th, you should make sure to refresh your core snap back into the stable channel as this fix will have made it there by then. Closing this bug now as resolved any other issues please file new bugs so we can get them addressed. Thanks! |
battlemidget
closed this
Jul 21, 2017
juliohm1978
referenced this issue
Jul 28, 2017
Closed
conjure-up does not work out-of-the-box in a minimal virtual machine installation - Could not determine LXD version #1062
manwegit
commented
Aug 30, 2017
•
|
To add my 2cents worth. For me the problem:
happened for some reason because I became normal user with
and this does not work:
|
|
you dont have |




tytus-kurek commentedFeb 16, 2017
•
Edited 1 time
-
tytus-kurek
Feb 16, 2017
There is a problem with running conjure-up command:
ubuntu@maas:~$ /snap/bin/conjure-up
Traceback (most recent call last):
File "/snap/conjure-up/66/bin/conjure-up", line 11, in
sys.exit(main())
File "/snap/conjure-up/66/lib/python3.6/site-packages/conjureup/app.py", line 207, in main
utils.lxd_version(),
File "/snap/conjure-up/66/lib/python3.6/site-packages/conjureup/utils.py", line 117, in lxd_version
raise Exception("Could not determine LXD version.")
Exception: Could not determine LXD version.
Environment details:
OS: Ubuntu 16.04.2
conjure-up version: 2.1.0 (from the snap store)
lxd version: 2.0.9