Juju 2.0 LXD install instructions don't work on trusty

Bug #1575245 reported by Casey Marshall on 2016-04-26
This bug affects 3 people
Affects Status Importance Assigned to Milestone

Bug Description

When I try to bootstrap lxd with Juju 2.0 on trusty, I get an error followed by instructions for getting LXD installed and set up.

However, those instructions do not work on trusty: https://paste.ubuntu.com/16064632/

Casey Marshall (cmars) wrote :

Also, `lxd init` has to be run as root.

Peter Matulis (petermatulis) wrote :

This looks more like a pure LXD issue.

Peter Matulis (petermatulis) wrote :

This is probably because you added the Juju devel PPA, which is very understandable at this time. You should now either install lxd from trusty-backports or add the LXD PPA:

sudo apt-add-repository ppa:ubuntu-lxc/lxd-stable
sudo apt update
sudo apt install lxd

Casey Marshall (cmars) wrote :

Not necessarily. This could be an issue with the help text. Depends on how LXD is going to be published in the archives for trusty -- I'm not sure what the plan is for that. If we're just waiting for lxd to get added to the trusty archives, then that might fix the issue.

However if LXD isn't going to be available in trusty archives by default, then the instructions in the error message need to include steps for trusty users. For example, I know that I can get past this by adding ppa:ubuntu-lxc/lxd-stable but if I was a new Juju 2.0 user on a fresh trusty install, I wouldn't know to do that.

And, the help text needs to read `sudo lxd init`.

Casey Marshall (cmars) wrote :

@Peter, didn't see your comment until replying. I did install Juju from the devel PPA.

If this is going to be worked out by 2.0 GA, then perhaps my concerns will be addressed and we're just in a transitional state wrt deps & instructions.

Just didn't want this to drop and leave new Juju users with a poor installation experience.

Peter Matulis (petermatulis) wrote :

The Doc team will amend the getting-started-general page. I presume these are the instructions you are referring to. If there is something else then please let me know. And thanks a lot for this bug report.


Nick Veitch (evilnick) wrote :

@peter - it is the error message that is wrong and needs to be fixed

tags: added: juju-release-support lxd-provider usability
Changed in juju-core:
status: New → Triaged
importance: Undecided → Medium
milestone: none → 2.0-beta7
Curtis Hovey (sinzui) on 2016-05-13
Changed in juju-core:
milestone: 2.0-beta7 → 2.0-beta8
Curtis Hovey (sinzui) on 2016-06-03
Changed in juju-core:
milestone: 2.0-beta8 → 2.0-beta9
Changed in juju-core:
milestone: 2.0-beta9 → 2.0-beta14
Curtis Hovey (sinzui) on 2016-08-04
Changed in juju-core:
milestone: 2.0-beta14 → 2.0-beta15
Changed in juju-core:
milestone: 2.0-beta15 → 2.0.0
affects: juju-core → juju
Changed in juju:
milestone: 2.0.0 → none
milestone: none → 2.0.0
Curtis Hovey (sinzui) on 2016-10-06
Changed in juju:
milestone: 2.0.0 → 2.0.1
Curtis Hovey (sinzui) on 2016-11-01
Changed in juju:
milestone: 2.0.1 → none
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers