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

Error loading kubernetes mounted cnf

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 2.3.20, 2.4.11, 2.5.2
    • 2.3.21, 2.4.12, 2.5.3
    • Core
    • kubernetes v1.17.3

    Description

      This was reported and fixed in MXS-1932. however I am having this issue now in mariadb/maxscale:2.5.2

      when kubernetes mounts files from config maps it creates duplicates of the files in a hidden directory causing me to get the following errors

      2020-08-17 14:27:24 notice : MariaDB MaxScale 2.5.2 started (Commit: 72a689b961fdf92feec722453ad6e250e1b2682c
      ...
      2020-08-17 14:27:25 notice : Loading /etc/maxscale.cnf.
      2020-08-17 14:27:25 warning: Symbolic link /etc/maxscale.cnf.d/..data in configuration directory points to a directory; it will be ignored.
      2020-08-17 14:27:25 notice : Using up to 2.28GiB of memory for query classifier cache
      2020-08-17 14:27:25 notice : Loading /etc/maxscale.cnf.d/..2020_08_17_14_21_37.188227681/maxscale.cnf.
      2020-08-17 14:27:25 notice : Using up to 2.28GiB of memory for query classifier cache
      2020-08-17 14:27:25 notice : Loading /etc/maxscale.cnf.d/maxscale.cnf.
      2020-08-17 14:27:25 error : Duplicate section found: mariadb-0
      2020-08-17 14:27:25 error : Duplicate section found: mariadb-1
      2020-08-17 14:27:25 error : Duplicate section found: mariadb-2
      2020-08-17 14:27:25 error : Duplicate section found: MariaDB-Monitor
      2020-08-17 14:27:25 error : Duplicate section found: Read-Write-Service
      2020-08-17 14:27:25 error : Duplicate section found: Read-Write-Listener
      alert : Failed to open, read or process the MaxScale configuration file. See the error log for details.
      2020-08-17 14:27:25 alert : Failed to open, read or process the MaxScale configuration file /etc/maxscale.cnf.

      Attachments

        Issue Links

          Activity

            People

              markus makela markus makela
              stephendahl Stephen Dahl
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.