[MXS-2394] global setting "substitute_variables" is rejected as unknown global parameter Created: 2019-03-18  Updated: 2019-03-19  Resolved: 2019-03-19

Status: Closed
Project: MariaDB MaxScale
Component/s: Core
Affects Version/s: 2.3.4
Fix Version/s: 2.3.5

Type: Bug Priority: Major
Reporter: Michael Hinkel Assignee: Johan Wikman
Resolution: Fixed Votes: 0
Labels: None
Environment:

docker image maxscale:2.3 (Ubuntu) running on OpenShift



 Description   

I'm trying to configure the MaxScale proxy and would like to use environment variable substitution in the maxscale.cnf file.
I've prepared a custon maxscale.cnf which starts as follows:

[MaxScale]
substitute_variables=true
threads=auto
...

(I've also tried substitute_variables=1 without success)

When starting up (maxscale -d -l stdout) I get the following error message:

Info : MaxScale will be run in the terminal process.
2019-03-18 21:52:08 notice : syslog logging is enabled.
2019-03-18 21:52:08 notice : maxlog logging is enabled.
2019-03-18 21:52:08 error : Unknown global parameter 'substitute_variables'.
2019-03-18 21:52:08 error : Failed to parse configuration file /etc/maxscale.cnf. Error on line 2.

When searching the web, I could only find one other reference to this error: Error mentionned in KB



 Comments   
Comment by Johan Wikman [ 2019-03-19 ]

There seems to have been a regression, substitute_variables should be supported. We'll fix this as soon as possible.

Comment by Johan Wikman [ 2019-03-19 ]

tocosonic It's fixed now and the fix will be available in the next 2.3 release. Thanks for reporting this.

Generated at Thu Feb 08 04:13:48 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.