diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2020-12-08 10:59:12 +0100 |
---|---|---|
committer | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2020-12-08 10:59:12 +0100 |
commit | 523e660780e8fb0c2bdfc8420ebe8041448c1a4b (patch) | |
tree | 835cb448d1663012417f5f9549b21d29a0412d68 /kubernetes/so/components | |
parent | 255126b2dc45957afb9418406d21da8568034216 (diff) |
[SO] Add more debug when password is not well set
Sometimes, password generated by AAF is not well escaped by sh. As we
don't know which characters are giving bad results, we'll temporarily
show SO faulty generated passwords and check generated file exists.
Issue-ID: OOM-2617
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: I0b45432447a672a90cbcf96a03efd18b9ea1d6cf
Diffstat (limited to 'kubernetes/so/components')
-rw-r--r-- | kubernetes/so/components/soHelpers/templates/_certificates.tpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kubernetes/so/components/soHelpers/templates/_certificates.tpl b/kubernetes/so/components/soHelpers/templates/_certificates.tpl index cc22dc97c3..c5232e8f48 100644 --- a/kubernetes/so/components/soHelpers/templates/_certificates.tpl +++ b/kubernetes/so/components/soHelpers/templates/_certificates.tpl @@ -21,6 +21,8 @@ if [ "${EXIT_VALUE}" != "0" ] then echo "issue with password: $cadi_truststore_password" + ls -lh {{ $subchartDot.Values.certInitializer.credsPath }}/mycreds.prop + cat {{ $subchartDot.Values.certInitializer.credsPath }}/mycreds.prop exit $EXIT_VALUE else keytool -importkeystore -srckeystore "{{ $subchartDot.Values.certInitializer.credsPath }}/truststoreONAPall.jks" \ |