This bug is a placeholder for any action items regarding integration that may emerge as soon as clufter supports Python 3. No action required for now. To document current state with python-clufter indeed installed: $ pcs config export pcs-commands > Error: Unable to perform export due to missing python-clufter package
There's one change in the spec needed for sure: -Requires: python-clufter +Requires: python3-clufter This is applicable wherever "pcs" executable relies on Python 3, so this covers all currently supported Fedora releases. Moreover, there will likely be a small change required so as to drop "encode('utf-8')" for the products of clufter library because "bytestring" protocol already implies a mere sequence of bytes without higher-level string interpretation (as relevant in Python 3 context).
re [comment 1]: > Moreover, there will likely be a small change required so as to > drop "encode('utf-8')" for the products of clufter library because > "bytestring" protocol already implies a mere sequence of bytes without > higher-level string interpretation (as relevant in Python 3 context). That's indeed the case: https://github.com/ClusterLabs/pcs/pull/130 Tested with: pcs config {import-cman,export pcs-commands*}
Created attachment 1265690 [details] proposed fix
pcs-0.9.156-2.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-71e69a691b
pcs-0.9.156-2.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-7accc8010b
pcs-0.9.156-2.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-7accc8010b
pcs-0.9.156-2.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-71e69a691b
pcs-0.9.156-2.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
pcs-0.9.156-2.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.