Activity log for bug #1473848

Date Who What changed Old value New value Message
2015-07-13 06:24:01 Dave Chen bug added bug
2015-07-13 06:40:22 Dave Chen keystone: assignee Dave Chen (wei-d-chen)
2015-07-13 06:40:42 Dave Chen description When I am debugging the code for the proposed fixing of bug #1468597, #1466872 [1], I found some testcases failure, they are `test_create_region_with_duplicate_id`, `test_create_region_with_matching_ids` and `test_create_region_with_id`. After digging into the code, I found when the region is created with id provided is not given schema validation at all, this is beasue region reference data is not passed as dict, see [2], but validator expect the reference data is in kwargs [3] which is common usage when it's resource is request with restful API. So, the region creation with id given missed the schema validation. [1] https://review.openstack.org/#/c/195903/ [2] https://github.com/openstack/keystone/blob/master/keystone/catalog/controllers.py#L173 [3] https://github.com/openstack/keystone/blob/master/keystone/common/validation/__init__.py#L34-L35 When I am debugging the code for the fixing of bug #1468597, #1466872 [1], I found some testcases failure, they are `test_create_region_with_duplicate_id`, `test_create_region_with_matching_ids` and `test_create_region_with_id`. After digging into the code, I found when the region is created with id provided is not given schema validation at all, this is beasue region reference data is not passed as dict, see [2], but validator expect the reference data is in kwargs [3] which is common usage when it's resource is request with restful API. So, the region creation with id given missed the schema validation. [1] https://review.openstack.org/#/c/195903/ [2] https://github.com/openstack/keystone/blob/master/keystone/catalog/controllers.py#L173 [3] https://github.com/openstack/keystone/blob/master/keystone/common/validation/__init__.py#L34-L35
2015-07-13 06:41:16 Dave Chen description When I am debugging the code for the fixing of bug #1468597, #1466872 [1], I found some testcases failure, they are `test_create_region_with_duplicate_id`, `test_create_region_with_matching_ids` and `test_create_region_with_id`. After digging into the code, I found when the region is created with id provided is not given schema validation at all, this is beasue region reference data is not passed as dict, see [2], but validator expect the reference data is in kwargs [3] which is common usage when it's resource is request with restful API. So, the region creation with id given missed the schema validation. [1] https://review.openstack.org/#/c/195903/ [2] https://github.com/openstack/keystone/blob/master/keystone/catalog/controllers.py#L173 [3] https://github.com/openstack/keystone/blob/master/keystone/common/validation/__init__.py#L34-L35 When I am debugging the code for the fixing of bug #1468597, #1466872 [1], I found some testcases failure, they are `test_create_region_with_duplicate_id`, `test_create_region_with_matching_ids` and `test_create_region_with_id`. After digging into the code, I found when the region is created with id provided is not given schema validation at all, this is beasue region reference data is not passed as dict, see [2], but validator expect the reference data is in kwargs [3] which is common usage when the resource is request with restful API. So, the region creation with id given missed the schema validation. [1] https://review.openstack.org/#/c/195903/ [2] https://github.com/openstack/keystone/blob/master/keystone/catalog/controllers.py#L173 [3] https://github.com/openstack/keystone/blob/master/keystone/common/validation/__init__.py#L34-L35
2015-07-13 18:17:05 Dolph Mathews keystone: importance Undecided Medium
2015-07-13 18:17:10 Dolph Mathews keystone: status New Triaged
2015-07-27 01:39:51 OpenStack Infra keystone: status Triaged In Progress
2015-08-04 15:06:21 OpenStack Infra keystone: assignee Dave Chen (wei-d-chen) David Stanek (dstanek)
2015-08-14 05:32:16 OpenStack Infra keystone: assignee David Stanek (dstanek) Dave Chen (wei-d-chen)
2015-08-14 16:10:28 OpenStack Infra keystone: assignee Dave Chen (wei-d-chen) David Stanek (dstanek)
2015-08-15 18:04:50 OpenStack Infra keystone: status In Progress Fix Committed
2015-09-03 18:14:12 Doug Hellmann keystone: status Fix Committed Fix Released
2015-09-03 18:14:12 Doug Hellmann keystone: milestone liberty-3
2015-10-15 09:58:08 Thierry Carrez keystone: milestone liberty-3 8.0.0