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

error not clear

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 25.10.1
    • 25.10
    • None
    • None
    • MXS-CAPACITY-26-2

    Description

      hello

      when i try to create this user:

      root@mxse-03:~# maxctrl -c /mmd/maxscale_ase1/.maxctrl.cnf  list users
      ┌──────────┬───────┬─────────┬──────────────┬────────────────────────┐
      │ Name     │ Role  │ Created │ Last Updated │ Last Login             │
      ├──────────┼───────┼─────────┼──────────────┼────────────────────────┤
      │ admin    │ admin │         │              │ 7/29/2026, 11:39:04 AM │
      ├──────────┼───────┼─────────┼──────────────┼────────────────────────┤
      │ exporter │ basic │         │              │ 7/29/2026, 11:38:57 AM │
      └──────────┴───────┴─────────┴──────────────┴────────────────────────┘
      root@mxse-03:~# maxctrl -c /mmd/maxscale_ase1/.maxctrl.cnf  create user admin2 '' --role admin
      Error: Server at http://127.0.0.1:8989 responded with 400 Bad Request to `POST users/inet`
      {
          "errors": [
              {
                  "detail": "Value '/data/attributes/password' is empty."
              }
          ]
      }
      root@mxse-03:~#
      Show less
      
      

      the error "detail": "Value '/data/attributes/password' is empty."
      isnt that good, it should be something more clear, without reporting /data/attributes/password that make think something is wrong with configuration/

      " you cant create a user with an empty password" would be more clear

      thanks

      Attachments

        Activity

          People

            johan.wikman Johan Wikman
            massimo.disaro Massimo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

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

                Git Integration

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