Description of problem: When using -I to feed standard input to a pssh process, a python exception is raised. Version-Release number of selected component (if applicable): $ rpm -q pssh pssh-2.3.1-15.fc25.noarch How reproducible: Always Steps to Reproduce: $ echo hello | pssh -I -H hostname.domainname ls Traceback (most recent call last): File "/usr/bin/pssh", line 118, in <module> do_pssh(hosts, cmdline, opts) File "/usr/bin/pssh", line 89, in do_pssh statuses = manager.run() File "/usr/lib/python3.5/site-packages/psshlib/manager.py", line 75, in run self.iomap.poll(wait) File "/usr/lib/python3.5/site-packages/psshlib/manager.py", line 257, in poll handler(fd, self) File "/usr/lib/python3.5/site-packages/psshlib/task.py", line 170, in handle_stdin self.byteswritten = start + os.write(fd, chunk) TypeError: a bytes-like object is required, not 'str' Actual results: Exception Expected results: No exception, normal operation and "hello" fed to the pssh process Additional info: The pssh project in code.google.com hsa been abandoned. More development is happening in github https://github.com/lilydjwg/pssh/commits/master, which fixes this issue in one of the last commits. Archlinux has a report and fix for this in https://bugs.archlinux.org/task/51533, same fix as above, verified by me to work in F25.
Thanks for report, I will integrate these fixes.
pssh-2.3.1-18.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-669ee69e85
pssh-2.3.1-18.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-d75ef53705
pssh-2.3.1-18.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-52dc34d3ab
pssh-2.3.1-18.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-52dc34d3ab
pssh-2.3.1-18.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-669ee69e85
pssh-2.3.1-18.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-d75ef53705
Verified to work on F25 with pssh-2.3.1-18.fc25.noarch Thank you!
pssh-2.3.1-18.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
pssh-2.3.1-18.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.
pssh-2.3.1-18.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.