The patch allows '%' as a host, but more complex examples do not work:
$ trove user-create 45f6bc02-0d84-46e1-83e6-db7f3f064677 newuser mypass --host '%.com'
ERROR: The server could not comply with the request since it is either malformed or otherwise incorrect.
The patch allows '%' as a host, but more complex examples do not work:
$ trove user-create 45f6bc02- 0d84-46e1- 83e6-db7f3f0646 77 newuser mypass --host '%.com'
ERROR: The server could not comply with the request since it is either malformed or otherwise incorrect.
REQ: curl -i http:// IP:8779/ v1.0/549d075f78 c045e984bb03e62 f6ba91c/ instances/ 45f6bc02- 0d84-46e1- 83e6-db7f3f0646 77/users -X POST -H "X-Auth-Project-Id: admin" -H "User-Agent: python-troveclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: REDACTED" -d '{"users": [{"host": "%.com", "password": "mypass", "name": "newuser", "databases": []}]}'
Per http:// dev.mysql. com/doc/ refman/ 5.5/en/ account- names.html, this should work.