debug-log doesn't work with lxc provider
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Tim Penhey |
Bug Description
andreas@nsn7:~$ juju debug-log -v
2013-07-18 13:38:27 INFO juju.environs.local environprovider
2013-07-18 13:38:27 INFO juju open.go:69 state: opening state; mongo addresses: ["10.0.3.1:37017"]; entity ""
2013-07-18 13:38:27 INFO juju open.go:107 state: connection established
2013-07-18 13:38:27 INFO juju ssh.go:79 looking up address for machine 0...
Warning: Permanently added '10.0.3.1' (ECDSA) to the list of known hosts.
Permission denied (publickey).
2013-07-18 13:38:27 ERROR juju supercommand.go:235 command failed: exit status 255
error: exit status 255
andreas@nsn7:~$
It probably shouldn't even try to ssh, and instead grab the log file(s) directly.
Related branches
- Juju Engineering: Pending requested
-
Diff: 605 lines (+322/-131)8 files modifiedcmd/args.go (+23/-0)
cmd/args_test.go (+23/-0)
cmd/juju/debuglog.go (+94/-61)
cmd/juju/debuglog_test.go (+149/-56)
cmd/juju/main.go (+1/-1)
errors/errors.go (+22/-0)
errors/errors_test.go (+6/-0)
state/api/client.go (+4/-13)
Changed in juju-core: | |
status: | New → Confirmed |
tags: | added: cts |
Changed in juju-core: | |
status: | Confirmed → Triaged |
importance: | Undecided → High |
tags: | added: debug-log ssh |
tags: | added: local-provider |
tags: |
added: cts-cloud-review removed: cts |
Changed in juju-core: | |
milestone: | none → 2.0 |
Changed in juju-core: | |
assignee: | nobody → Frank Mueller (themue) |
Changed in juju-core: | |
status: | Triaged → In Progress |
Changed in juju-core: | |
milestone: | 2.0 → 1.18.0 |
Changed in juju-core: | |
assignee: | Frank Mueller (themue) → nobody |
assignee: | nobody → Dimiter Naydenov (dimitern) |
Changed in juju-core: | |
status: | In Progress → Triaged |
assignee: | Dimiter Naydenov (dimitern) → nobody |
Changed in juju-core: | |
assignee: | nobody → Tim Penhey (thumper) |
status: | Triaged → In Progress |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
milestone: | 1.20.0 → 1.19.0 |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
tags: | added: landscape |
This looks similar to a bug I'm getting trying to "juju ssh" into a unit deployed using the lxc provider. Is it likely to be the same root cause?