Comment 2 for bug 1916083

Revision history for this message
Thiago Paiva Brito (outbrito) wrote :

The fm-rest-api problem is caused because oslo_db's password has a "=" character on it as we can see on the excerpt below:

| system_overrides | endpoints: |
| | identity: |
| | auth: |
| | admin: {password: ******, region_name: RegionOne, username: admin} |
| | fm: {password: ******, region_name: RegionOne} |
| | stx_admin: {password: ******, region_name: RegionOne, username: stx_admin} |
| | test: {password: ******, region_name: RegionOne, username: test} |
| | oslo_db: |
| | auth: |
| | admin: {password: ******} |
| | fm: {password: b0B=somethingelse} |
| | pod: |

But on https://opendev.org/starlingx/helm-charts/src/branch/master/fm-rest-api/fm-rest-api/helm-charts/fm-rest-api/templates/bin/_fm-rest-api.sh.tpl#L11, the startup script for fm-rest-api does an awk -F "=" on that line, after the yaml is mounted on fm.conf and therefore it breaks the line in 3, but only gets $2 (which is b0B).