I had to discover a password restriction.
Any :
will be interpreted as a port separator and cause a
File \"/snap/maas/26274/lib/python3.8/site-packages/maascli/snap.py\",
line 519, in get_database_settings", "
database_settings[\"database_port\"] = int(parsed_dsn[\"port\"])",
"ValueError: invalid literal for int() with base 10: 'm@192.168.0.2:5432'"], "stdout": "", "stdout_lines": []}
Where m was the last letter in my password after an 123yxz:m
.
At least this restriction if there are not more should be handled or documented.
I consider it a bug, but don’t know how issue reporting for maas works.