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

Empty passwords in monitors and services do not work with configuration synchronization

    XMLWordPrintable

Details

    Description

      The monitors and services support authentication without a password e.g. for TLS certificate based authentication via REQUIRE. The configuration serializes empty password values as JSON nulls with the expectation that they're not defined if they're empty. This does not work when the password is defined but empty in the original configuration as it gets removed via the serialization to JSON when stored in the database.

      The failure will look something like this:

      2026-07-07 15:05:17   error  : (ConfigManager); monitors: The mandatory parameter 'password' is not provided.
      2026-07-07 15:05:17   error  : (ConfigManager); Failed to revert the failed configuration change, the MaxScale configuration is in an indeterminate state. The error that caused the failure was: Failed to update monitor 'MariaDB-Monitor'
      2026-07-07 15:05:17   error  : (ConfigManager); Cached configuration was not removed, cannot safely abort the process.
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0d
                0d
                Logged:
                Time Spent - 1h
                1h

                Git Integration

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