bootstrapping talks to the remote machine one character at a time

Bug #1543388 reported by Dave Cheney
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Medium
Andrew Wilkins

Bug Description

Attempting to connect to 54.79.178.105:22
Attempting to connect to 10.251.56.24:22
2016-02-09 01:43:24 DEBUG juju.provider.common bootstrap.go:318 connection attempt for 54.79.178.105 failed: Warning: Permanently added '54.79.178.105' (ECDSA) to the list of known hosts.
/var/lib/juju/nonce.txt does not exist
2016-02-09 01:43:30 DEBUG juju.provider.common bootstrap.go:318 connection attempt for 54.79.178.105 failed: /var/lib/juju/nonce.txt does not exist
2016-02-09 01:43:36 DEBUG juju.utils.ssh ssh.go:249 using OpenSSH ssh client

^ after this point the local juju binary sends some data to the shell on the other side. This happens _one_ _character_ _at_ _a_ _time_, consuming minutes of wall time, and gallons of CPU for the ssh overhead.

Tags: tech-debt
Revision history for this message
Dave Cheney (dave-cheney) wrote :

Stdin is coming in one character at a time

read(0, "e", 1) = 1
read(0, "H", 1) = 1
read(0, "t", 1) = 1
read(0, "D", 1) = 1
read(0, "N", 1) = 1
read(0, "y", 1) = 1
read(0, "q", 1) = 1
read(0, "5", 1) = 1
read(0, "g", 1) = 1
read(0, "H", 1) = 1
read(0, "/", 1) = 1
read(0, "S", 1) = 1
read(0, "o", 1) = 1
read(0, "5", 1) = 1
read(0, "t", 1) = 1
read(0, "6", 1) = 1
read(0, "C", 1) = 1

Changed in juju-core:
status: New → Triaged
importance: Undecided → Medium
Andrew Wilkins (axwalk)
Changed in juju-core:
status: Triaged → In Progress
assignee: nobody → Andrew Wilkins (axwalk)
milestone: none → 2.0-beta1
Revision history for this message
Andrew Wilkins (axwalk) wrote :
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta1 → 2.0-beta2
Andrew Wilkins (axwalk)
Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
tags: added: tech-debt
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
affects: juju-core → juju
Changed in juju:
milestone: 2.0-beta2 → none
milestone: none → 2.0-beta2
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.