[MXS-2373] Generated configs for filters does not include module Created: 2019-03-07  Updated: 2019-03-13  Resolved: 2019-03-13

Status: Closed
Project: MariaDB MaxScale
Component/s: Filter
Affects Version/s: 2.3.3, 2.3.4
Fix Version/s: 2.3.5

Type: Bug Priority: Major
Reporter: Jeffrey Parker Assignee: markus makela
Resolution: Fixed Votes: 0
Labels: None
Environment:

Centos 7, Percona Mysql backend, PHP frontend


Attachments: File CCRFilter.cnf     File Hint.cnf     File QLAProd.cnf     File QLASMP01.cnf     File Top.cnf     File TopSmp01.cnf     File dbm-lock-filter.cnf     File dnr-filter.cnf     File engine-injector-recipients-filter.cnf     File maxscale-minimal.cnf     File test_insert1.sql    

 Description   

The configs generated when adding filters with maxctrl do not include module setting which always causes startup to fail if maxscale needs to be restarted for any reason. See blow for related log entries and attached files generated by maxscale.

Mar  7 03:10:29 maxscale-2 maxscale[30680]: Runtime configuration changes have been done to MaxScale. Loading persisted configuration files and applying them on top of the main configuration file. These changes can override the values of the main configuration file: To revert them, remove all the files in '/var/lib/maxscale/maxscale.cnf.d'.
Mar  7 03:10:29 maxscale-2 maxscale[30680]: Loading /var/lib/maxscale/maxscale.cnf.d/Read-Write-Service.cnf.
Mar  7 03:10:29 maxscale-2 maxscale[30680]: Loading /var/lib/maxscale/maxscale.cnf.d/CCRFilter.cnf.
Mar  7 03:10:29 maxscale-2 maxscale[30680]: Loading /var/lib/maxscale/maxscale.cnf.d/engine-injector-recipients-filter.cnf.
Mar  7 03:10:29 maxscale-2 maxscale[30680]: Loading /var/lib/maxscale/maxscale.cnf.d/TopSmp01.cnf.
Mar  7 03:10:29 maxscale-2 maxscale[30680]: Loading /var/lib/maxscale/maxscale.cnf.d/Top.cnf.
Mar  7 03:10:29 maxscale-2 maxscale[30680]: Loading /var/lib/maxscale/maxscale.cnf.d/QLASMP01.cnf.
Mar  7 03:10:29 maxscale-2 maxscale[30680]: Loading /var/lib/maxscale/maxscale.cnf.d/dnr-filter.cnf.
Mar  7 03:10:29 maxscale-2 maxscale[30680]: Loading /var/lib/maxscale/maxscale.cnf.d/QLAProd.cnf.
Mar  7 03:10:29 maxscale-2 maxscale[30680]: Loading /var/lib/maxscale/maxscale.cnf.d/dbm-lock-filter.cnf.
Mar  7 03:10:29 maxscale-2 maxscale[30680]: Loading /var/lib/maxscale/maxscale.cnf.d/Hint.cnf.
Mar  7 03:10:29 maxscale-2 maxscale[30680]: 'Hint' is missing the required parameter 'module'
Mar  7 03:10:29 maxscale-2 maxscale[30680]: 'dbm-lock-filter' is missing the required parameter 'module'
Mar  7 03:10:29 maxscale-2 maxscale[30680]: 'QLAProd' is missing the required parameter 'module'
Mar  7 03:10:29 maxscale-2 maxscale[30680]: 'dnr-filter' is missing the required parameter 'module'
Mar  7 03:10:29 maxscale-2 maxscale[30680]: 'QLASMP01' is missing the required parameter 'module'
Mar  7 03:10:29 maxscale-2 maxscale[30680]: 'Top' is missing the required parameter 'module'
Mar  7 03:10:29 maxscale-2 maxscale[30680]: 'TopSmp01' is missing the required parameter 'module'
Mar  7 03:10:29 maxscale-2 systemd: maxscale.service: control process exited, code=exited status=1
Mar  7 03:10:29 maxscale-2 maxscale[30680]: 'engine-injector-recipients-filter' is missing the required parameter 'module'
Mar  7 03:10:29 maxscale-2 maxscale[30680]: 'CCRFilter' is missing the required parameter 'module'


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