Add-Machine does not support non-standard ssh port

Bug #1441749 reported by Charles Butler on 2015-04-08
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
juju-core
Low
Unassigned

Bug Description

This probably bleeds over into other environments as well, but i have personally confirmed this to be the case in a manual provider environment (using the do plugin)

The add-machine command does not appear to accept a non-standard ssh port in the stanza to add a machine:

$ juju add-machine ssh:root@104.131.121.181 -p 8888
error: flag provided but not defined: -p
$ juju add-machine ssh:root@104.131.121.181 --port 8888
error: flag provided but not defined: --port
$ juju add-machine ssh:root@104.131.121.181:8888
ERROR subprocess encountered error code 255 (ssh: Could not resolve hostname 104.131.121.181:8888: Name or service not known)
$ juju add-machine ssh:root@104.131.121.181 8888
error: unrecognized args: ["8888"]

This seems like something we should support unless port 22 is hard coded against all machines, and a base level expectation of the environment.

summary: - Manual environment does not support add-machine with non-standard ssh
- port
+ Add-Machine does not support non-standard ssh port
Curtis Hovey (sinzui) on 2015-04-08
tags: added: ssh
tags: added: add-machine
Changed in juju-core:
status: New → Triaged
importance: Undecided → Low
Dong Xie (xied75) wrote :

On a related point, "juju bootstrap" does not allow port number too. Very annoying.

Changed in juju-core:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers