Juju 2.0 LXD install instructions don't work on trusty

Bug #1575245 reported by Casey Marshall
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Expired
Medium
Unassigned

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/

Revision history for this message
Casey Marshall (cmars) wrote :

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

Revision history for this message
Peter Matulis (petermatulis) wrote :

This looks more like a pure LXD issue.

Revision history for this message
Peter Matulis (petermatulis) wrote :

@Casey
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

Revision history for this message
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`.

Revision history for this message
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.

Revision history for this message
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.

https://jujucharms.com/docs/devel/getting-started-general

Revision history for this message
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)
Changed in juju-core:
milestone: 2.0-beta7 → 2.0-beta8
Curtis Hovey (sinzui)
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)
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)
Changed in juju:
milestone: 2.0.0 → 2.0.1
Curtis Hovey (sinzui)
Changed in juju:
milestone: 2.0.1 → none
Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

This bug has not been updated in 5 years, so we're marking it Expired. If you believe this is incorrect, please update the status.

Changed in juju:
status: Triaged → Expired
tags: added: expirebugs-bot
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.