Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
25.10.1
-
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