-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Overview of the Issue
the code will hang on func newSession() in communicator/ssh/communicator.go
sometimes when rebooting remote server.
Reproduction Steps
- the provisioner config is as follow and the reboot.sh will reboot the remote system.
"provisioners": [ { "type": "shell", "scripts": [ "reboot.sh" ], "expect_disconnect": true }, ..... ]
- when rebootting the remote system, the the packer will hang on newSession()
sometimes.
Packer Plugin SDK version
v0.2.11
Operating system and Environment details
it's a copy of golang/go#50604
and after view the the issue golang/go#26643
maybe we deal with the problem on sdk level.
Log Fragments and crash.log files
Include appropriate log fragments. If the log is longer than a few dozen lines,
please include the URL to the gist of the log or
use the Github detailed format instead of posting it directly in the issue.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working