Activity log for bug #1199197

Date Who What changed Old value New value Message
2013-07-09 01:01:56 Auston McReynolds bug added bug
2013-07-09 01:07:03 Auston McReynolds description https://github.com/openstack/trove/commit/4419cb1c035e430607492dbf066b463b8323d1d5#L2R125 The user's host is validated against the non_empty_string_pattern, which is defined as: non_empty_string = { "type": "string", "minLength": 1, "maxLength": 255, "pattern": "^.*[0-9a-zA-Z]+.*$" } Previous to this commit, the --host flag was optional (it would conveniently default to '%'). This behavior has been broken, as well as the ability to include wildcards (via % and _). Per http://dev.mysql.com/doc/refman/5.5/en/account-names.html, '%' and '_' are valid wildcard characters and host_ip/netmask is also an accepted format. Note: If it was decided that defaulting the host was in poor taste, then the CLI should enforce the host argument (to be consistent) (see https://github.com/openstack/python-troveclient/blob/4ddb58ce9e609df3c0ac4be555f19643ef0511cc/troveclient/cli.py#L159) [Description] https://github.com/openstack/trove/commit/4419cb1c035e430607492dbf066b463b8323d1d5#L2R125 The user's host is validated against the non_empty_string_pattern, which is defined as: non_empty_string = {     "type": "string",     "minLength": 1,     "maxLength": 255,     "pattern": "^.*[0-9a-zA-Z]+.*$" } Previous to this commit, the --host flag was optional (it would conveniently default to '%'). This behavior has been broken, as well as the ability to include wildcards (via % and _). Per http://dev.mysql.com/doc/refman/5.5/en/account-names.html, '%' and '_' are valid wildcard characters and host_ip/netmask is also an accepted format. Note: If it was decided that defaulting the host was in poor taste, then the CLI should enforce the host argument (to be consistent) (see https://github.com/openstack/python-troveclient/blob/4ddb58ce9e609df3c0ac4be555f19643ef0511cc/troveclient/cli.py#L159) [Example] $ trove-cli user create --id 4a91d343-38bd-4a24-a0b4-942336f1ed03 --name myuser --password myuser --databases mydb --host % --verbose ... BODY: { "users": [ { "databases": [ { "name": "mydb" } ], "host": "%", "name": "myuser", "password": "myuser" } ] } RESPONSE HEADERS: {'date': 'Tue, 09 Jul 2013 01:04:29 GMT', 'status': '400', 'content-length': '102', 'content-type': 'application/json; charset=UTF-8'} RESPONSE BODY : { "badRequest": { "code": 400, "message": "Validation error: u'%' does not match '^.*[0-9a-zA-Z]+.*$'" } } Validation error: u'%' does not match '^.*[0-9a-zA-Z]+.*$' (HTTP 400)
2013-07-09 17:04:30 Michael Basnight trove: status New Confirmed
2013-07-09 17:04:33 Michael Basnight trove: importance Undecided Critical
2013-07-09 17:05:35 Michael Basnight trove: assignee Riddhi (ridhi-j-shah)
2013-07-09 17:05:42 Michael Basnight trove: milestone havana-2
2013-07-15 16:44:19 OpenStack Infra trove: status Confirmed Fix Committed
2013-07-17 12:26:08 Thierry Carrez trove: status Fix Committed Fix Released
2013-10-18 09:13:33 Thierry Carrez trove: milestone havana-2 2013.2
2013-10-28 21:49:57 Auston McReynolds trove: status Fix Released New
2013-10-28 21:54:47 Auston McReynolds trove: assignee Riddhi (ridhi-j-shah)
2013-10-28 21:56:58 Auston McReynolds trove: status New Fix Committed
2014-01-17 16:21:56 Michael Basnight trove: status Fix Committed Triaged
2014-01-17 16:22:01 Michael Basnight trove: milestone 2013.2 icehouse-3
2014-01-17 20:10:47 Sushil Kumar trove: assignee Sushil Kumar (sushil-kumar2)
2014-01-17 20:28:31 OpenStack Infra trove: status Triaged In Progress
2014-03-04 18:42:19 Nikhil Manchanda trove: milestone icehouse-3 next
2014-03-04 18:42:45 Nikhil Manchanda trove: milestone next icehouse-rc1
2014-03-18 16:01:31 Michael Basnight trove: importance Critical Medium
2014-03-18 16:01:33 Michael Basnight trove: milestone icehouse-rc1 next
2014-04-05 00:09:48 Nikhil Manchanda trove: milestone next juno-1
2014-06-09 20:36:42 Nikhil Manchanda trove: milestone juno-1 juno-2
2014-07-16 21:45:26 Nikhil Manchanda trove: milestone juno-2 juno-3
2014-08-27 03:20:52 Nikhil Manchanda trove: milestone juno-3 next
2014-10-23 18:24:40 Amrith Kumar trove: importance Medium Low
2016-04-05 11:32:24 Amrith Kumar trove: status In Progress Confirmed
2016-04-05 11:32:26 Amrith Kumar trove: assignee Sushil Kumar (sushil-kumar2)