misleading error message "unable to detect LXC credentials" when no credentials are necessary
Bug #1783400 reported by
Heather Lanigan
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Simon Richardson |
Bug Description
bootstrapping localhost with juju edge snap:
$ /snap/bin/juju version
2.5-beta1-
$ /snap/bin/juju bootstrap localhost tuesday
ERROR unable to detect LXC credentials: open /home/heather/
....
Bootstrap complete, "tuesday" controller now available
Controller machines are in the "controller" model
Initial model "default" added
$
No credentials are necessary to bootstrap localhost on my box. The error message is misleading. Are the credentials needed for lxd cluster bootstrap only AND localhost lxd bootstrap?
Changed in juju: | |
status: | New → Triaged |
assignee: | nobody → Simon Richardson (simonrichardson) |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
milestone: | none → 2.5-beta1 |
Changed in juju: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I think this is a case where if the file exists and we can nicely use saved information, we should. But we shouldn't treat it missing as an error. Especially wrt remote clusters where we may be on Windows and not have any local lxc. (we should still be able to control a remote cluster)