Reviewed: https://review.openstack.org/541610 Committed: https://git.openstack.org/cgit/openstack/python-novaclient/commit/?id=d272d6f3df2610a62f81e2ca26798ea8a6674b06 Submitter: Zuul Branch: master
commit d272d6f3df2610a62f81e2ca26798ea8a6674b06 Author: Thomas Goirand <email address hidden> Date: Wed Feb 7 09:17:12 2018 +0100
Fix crashing console-log
Because of encoding issue, the "nova console-log" is prone to a stack dump, as explained in the bug report.
This patch sets the encoding output of stdout to utf8 before attempting to print in it.
Change-Id: I63bc3dc8807021f5a97f58b0fe13a10d93688c7e Closes-Bug: 1746534
Reviewed: https:/ /review. openstack. org/541610 /git.openstack. org/cgit/ openstack/ python- novaclient/ commit/ ?id=d272d6f3df2 610a62f81e2ca26 798ea8a6674b06
Committed: https:/
Submitter: Zuul
Branch: master
commit d272d6f3df2610a 62f81e2ca26798e a8a6674b06
Author: Thomas Goirand <email address hidden>
Date: Wed Feb 7 09:17:12 2018 +0100
Fix crashing console-log
Because of encoding issue, the "nova console-log" is prone to a stack
dump, as explained in the bug report.
This patch sets the encoding output of stdout to utf8 before attempting
to print in it.
Change-Id: I63bc3dc8807021 f5a97f58b0fe13a 10d93688c7e
Closes-Bug: 1746534