Comment 9 for bug 1604311

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-astute (stable/mitaka)

Reviewed: https://review.openstack.org/357009
Committed: https://git.openstack.org/cgit/openstack/fuel-astute/commit/?id=4ee5991a8be7c647e04a8ef43942d2412aabfce7
Submitter: Jenkins
Branch: stable/mitaka

commit 4ee5991a8be7c647e04a8ef43942d2412aabfce7
Author: Georgy Kibardin <email address hidden>
Date: Mon Jul 25 15:29:11 2016 +0300

    Fix encoding of shotgun stdout

    Mcollective uses sustemu module to execute shell commands. This module
    doesn't care about encoding and as a result we get shotgun stdout as a
    string with ASCII-8BIT encoding. Later we get a failure at the attempt
    to encode it to JSON. However, shotgun output depends on locale settings
    and is usually UTF-8.

    Change-Id: I838f1aa55ea2885c1353a352c537dfe1bcd1e7e3
    Closes-Bug: #1604311
    (cherry picked from commit 90d0aa8ecd1677c9ec00b7ea9ff5e3dee6f9bc51)