Comment 6 for bug 1855701

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (stable/train)

Reviewed: https://review.opendev.org/698019
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=17b16cde7a38f56052f4397fbd707c33b2af0555
Submitter: Zuul
Branch: stable/train

commit 17b16cde7a38f56052f4397fbd707c33b2af0555
Author: Mark Goddard <email address hidden>
Date: Mon Dec 9 11:11:26 2019 +0000

    Fix keystone bootstrap error message display

    In some situations, Keystone bootstrap can fail, and then unhelpfully
    fails displaying the error message output by the 'keystone-manage
    bootstrap' command. This appears to be due to unprintable control
    characters in the error message which prevent the output of the script
    from being valid JSON.

    This change fixes the issue by piping the output through 'cat -v', which
    replaces unprintable characters with control codes.

    Change-Id: I82444bc2272311023cc9e92c5a298d1c4c87483b
    Closes-Bug: #1855701
    (cherry picked from commit bcca3fabe305c1e206fdb231c31809ceff2d4774)