Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-2373

Generated configs for filters does not include module

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.3, 2.3.4
    • Fix Version/s: 2.3.5
    • Component/s: Filter
    • Labels:
      None
    • Environment:
      Centos 7, Percona Mysql backend, PHP frontend

      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'
      

        Attachments

        1. TopSmp01.cnf
          0.1 kB
        2. Top.cnf
          0.0 kB
        3. test_insert1.sql
          0.1 kB
        4. QLASMP01.cnf
          0.1 kB
        5. QLAProd.cnf
          0.1 kB
        6. maxscale-minimal.cnf
          2 kB
        7. Hint.cnf
          0.0 kB
        8. engine-injector-recipients-filter.cnf
          0.1 kB
        9. dnr-filter.cnf
          0.1 kB
        10. dbm-lock-filter.cnf
          0.2 kB
        11. CCRFilter.cnf
          0.0 kB

          Activity

            People

            Assignee:
            markus makela markus makela
            Reporter:
            jparker-resgen Jeffrey Parker
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: