juju ssh connects to incorrect units

Bug #1496166 reported by Matt Rae
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Won't Fix
High
Unassigned

Bug Description

juju ssh to different units, all take me to the same unit. See below where I juju ssh to keystone/0 and keystone/1, but they both take me to the same host, juju-machine-1-lxc-2

# juju ssh keystone/0
...
ubuntu@juju-machine-1-lxc-2:~$ exit

# juju ssh keystone/1
...
ubuntu@juju-machine-1-lxc-2:~$

Restarting the machine keystone/1 is running on resolves the issue and juju ssh takes me to the correct node.

Matt Rae (mattrae)
tags: added: cpec
Revision history for this message
Matt Rae (mattrae) wrote :

noting this was seen with juju 1.24.5

Curtis Hovey (sinzui)
tags: added: lxc ssh
Changed in juju-core:
status: New → Triaged
importance: Undecided → High
milestone: none → 1.25.1
tags: added: network
Revision history for this message
Matt Rae (mattrae) wrote :

Potential reproduction steps are to deploy a 3 unit service where each unit is deployed --to lxc:X on different machines. The issue appeared after some of the hosts were powered off and then back on. After the hosts were online, we saw that juju ssh for different keystone units was taking us to the same container.

Changed in juju-core:
milestone: 1.25.1 → 1.25.2
Changed in juju-core:
milestone: 1.25.2 → 1.25.3
Jesse Meek (waigani)
Changed in juju-core:
assignee: nobody → Jesse Meek (waigani)
Revision history for this message
Matt Rae (mattrae) wrote :

I wonder if this bug is related to lp:1519527 'lxc units all have the same IP address'. if both keystone units had the same address, then I think we would see the same symptom as this bug. i believe juju ssh keystone/0 and juju ssh keystone/1 would end up connecting to one of the 2 keystone units. In my case, the issue seemed to only be with keystone units.. other units in lxc didn't appear to have the same issue. Perhaps the keystone units were deployed at the same time which accounts for the issue only being with keystone units.

Jesse Meek (waigani)
Changed in juju-core:
assignee: Jesse Meek (waigani) → nobody
Changed in juju-core:
milestone: 1.25.3 → 1.25.4
Changed in juju-core:
milestone: 1.25.4 → 1.25.5
Changed in juju-core:
milestone: 1.25.5 → 1.25.6
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 1.25.6 → 1.25.7
Changed in juju-core:
status: Triaged → Won't Fix
Changed in juju-core:
milestone: 1.25.7 → none
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.