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)
Reviewed: https:/ /review. opendev. org/698019 /git.openstack. org/cgit/ openstack/ kolla/commit/ ?id=17b16cde7a3 8f56052f4397fbd 707c33b2af0555
Committed: https:/
Submitter: Zuul
Branch: stable/train
commit 17b16cde7a38f56 052f4397fbd707c 33b2af0555
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: I82444bc2272311 023cc9e92c5a298 d1c4c87483b 206fdb231c31809 ceff2d4774)
Closes-Bug: #1855701
(cherry picked from commit bcca3fabe305c1e