juju run fails on manually provisioned instance
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
We have an environment running in OpenStack that has some MAAS deployed machines that have been added via manual provisioning. We're able to do pretty much any operation on the instances in the environment, with the exception of juju run:
$ juju run --unit ubuntu/0 "uname -a"
Linux juju-prodstack-
Warning: Permanently added '10.35.24.22' (ECDSA) to the list of known hosts.
$ juju run --unit postgresql/0 "uname -a"
ssh: connect to host 10.22.96.32 port 22: Connection timed out
ERROR rc: 255
$ juju ssh postgresql/0 "uname -a"
Linux myhostname 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 17:43:14 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Connection to myhostname.internal closed.
Here we see that juju run works on the ubuntu/0 unit (an OpenStack instance), but fails on postgresql/0 (a manually provisioned instance). However, juju ssh works fine on postgresql/0
I've since discovered https:/
In our case, the OpenStack subnet is 10.35.24.0/22 but the manually provisioned instance is on a 10.22.96.x subnet. Are there simply firewall rules we need to ensure are in place so that the instances can reach each other in some way to be able to do a juju run?
description: | updated |
tags: | added: ssh |
Changed in juju-core: | |
importance: | High → Medium |
tags: | added: manual-story |
Changed in juju-core: | |
status: | Triaged → Won't Fix |
This issue relates to bug 1429790. In general, ssh to manually provided machines is dodgy.