Actions
Bug #23583
closedBroken parsing of some complex expressions
Bug #23583:
Broken parsing of some complex expressions
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No
Description
echo "GRANT ALL ON ${db_name}.* TO '${db_user}'@% IDENTIFIED BY '${database.secret[password]}'" | mysql mysql
compiler: rudderc
fallbacked: false
resultCode: 1
msg: 'Exit code=1 for technique: ''/var/rudder/configuration-repository/techniques/ncf_techniques/Single_database/1.0''.'
stdout: |2
Read 204 methods
WARN rudderc::compiler: Error parsing 'echo "GRANT ALL ON ${db_name}.* TO '${db_user}'@% IDENTIFIED BY '${database.secret[password]}'" | mysql mysql': Invalid expression 'echo "GRANT ALL ON ${db_name}.* TO '${db_user}'@% IDENTIFIED BY '${database.secret[password]}'" | mysql mysql' with Error { input: "${database.secret[password]}'\" | mysql mysql", code: Eof }
Compiling Single database v1.0 [Linux]
Wrote target/technique.cf
Compiling Single database v1.0 [Windows]
ERROR rudderc: Invalid expression 'echo "GRANT ALL ON ${db_name}.* TO '${db_user}'@% IDENTIFIED BY '${database.secret[password]}'" | mysql mysql' with Error { input: "${database.secret[password]}'\" | mysql mysql", code: Eof }
Caused by:
Invalid expression 'echo "GRANT ALL ON ${db_name}.* TO '${db_user}'@% IDENTIFIED BY '${database.secret[password]}'" | mysql mysql' with Error { input: "${database.secret[password]}'\" | mysql mysql", code: Eof }
stderr: ''
Updated by Alexis Mousset almost 3 years ago
- Status changed from New to In progress
- Assignee set to Alexis Mousset
Updated by Alexis Mousset almost 3 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Alexis Mousset to Félix DALLIDET
- Pull Request set to https://github.com/Normation/rudder/pull/5104
Updated by Alexis Mousset almost 3 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|a2ac75788bffa88e86f330ba8218af4da3960db9.
Updated by Vincent MEMBRÉ almost 3 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 8.0.0 which was released today.
Actions