SSHClient.connect() should wait for SSH to open the port
Bug #613990 reported by
Gustavo Niemeyer
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Fix Released
|
High
|
Kapil Thangavelu |
Bug Description
SSHClient.connect() must wait for the tunnel port to come up before following up with the ZookeeperClient
In addition to waiting, error conditions must also be handled, but this task is being tracked in bug #616817.
Related branches
lp:~hazmat/pyjuju/lp-613990-sshclient-waits-for-tunnel
- Gustavo Niemeyer: Approve
- Kapil Thangavelu: Pending requested
-
Diff: 792 lines (+563/-54)7 files modifiedensemble/ftests/test_connection.py (+45/-16)
ensemble/state/sshclient.py (+137/-14)
ensemble/state/sshforward.py (+51/-7)
ensemble/state/tests/test_sshclient.py (+154/-13)
ensemble/state/tests/test_sshforward.py (+69/-4)
ensemble/state/tests/test_utils.py (+61/-0)
ensemble/state/utils.py (+46/-0)
Changed in ensemble: | |
importance: | Undecided → High |
status: | New → Confirmed |
description: | updated |
Changed in ensemble: | |
assignee: | nobody → Kapil Thangavelu (hazmat) |
status: | Confirmed → In Progress |
Changed in ensemble: | |
milestone: | none → 0.1 |
Changed in ensemble: | |
status: | In Progress → Fix Committed |
Changed in ensemble: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.