commit bcca3fabe305c1e206fdb231c31809ceff2d4774
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.
Reviewed: https:/ /review. opendev. org/697982 /git.openstack. org/cgit/ openstack/ kolla/commit/ ?id=bcca3fabe30 5c1e206fdb231c3 1809ceff2d4774
Committed: https:/
Submitter: Zuul
Branch: master
commit bcca3fabe305c1e 206fdb231c31809 ceff2d4774
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
Closes-Bug: #1855701