commit aaf34cfa2570a65fb36fea12f38edeeb3ad2a4db
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/698021 /git.openstack. org/cgit/ openstack/ kolla/commit/ ?id=aaf34cfa257 0a65fb36fea12f3 8edeeb3ad2a4db
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit aaf34cfa2570a65 fb36fea12f38ede eb3ad2a4db
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