juju run gets 'Permission denied (publickey)' in models other than the controller model

Bug #1559233 reported by Casey Marshall
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Critical
Unassigned

Bug Description

If I create models, `juju run` doesn't work on services deployed into those models. `juju run` only works in the controller model.

This is with Juju 2.0-beta3 built from master @ 764671a8ba9b70ff736930642fca5dcaba3a8ece with Go 1.6 (installed from golang.org).

Steps to reproduce:

$ juju bootstrap dev lxd --upload-tools
...
$ juju deploy wordpress
$ juju deploy mysql

$ juju create-model blog
$ juju deploy wordpress
$ juju deploy mysql

...

$ juju run -m dev --all ps
[works]

$ juju run -m blog --all 'ps'
- MachineId: "0"
  ReturnCode: 255
  Stderr: "Permission denied (publickey).\r\n"
  Stdout: ""
- MachineId: "1"
  ReturnCode: 255
  Stderr: "Permission denied (publickey).\r\n"
  Stdout: ""

Changed in juju-core:
status: New → Triaged
importance: Undecided → Critical
milestone: none → 2.0-beta3
tags: added: juju-release-support
Revision history for this message
Andrew Wilkins (axwalk) wrote :

This has been fixed in the admin-controller-model branch. Waiting on a bless from CI so we can merge it across.

Changed in juju-core:
status: Triaged → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
tags: added: 2.0-count
affects: juju-core → juju
Changed in juju:
milestone: 2.0-beta3 → none
milestone: none → 2.0-beta3
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.