juju run --all does not work with local provider
Bug #1426118 reported by
Aaron Bentley
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
$ juju run --all uname
- MachineId: "0"
ReturnCode: 255
Stderr: "Permission denied (publickey,
Stdout: ""
- MachineId: "1"
Stdout: 'Linux
'
- MachineId: "2"
Stdout: 'Linux
'
Presumably this is caused by juju attempting to ssh into machine 0 (i.e. localhost) as ubuntu.
$ juju ssh 0
Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.
Permission denied (publickey,
ERROR subprocess encountered error code 255
Changed in juju-core: | |
status: | Triaged → Won't Fix |
To post a comment you must log in.
For local provider, juju ssh and juju run etc have to be executed as sudo.