Activity log for bug #1744195

Date Who What changed Old value New value Message
2018-01-19 03:28:11 wangxiyuan bug added bug
2018-01-19 03:39:55 OpenStack Infra keystone: status New In Progress
2018-01-19 03:39:55 OpenStack Infra keystone: assignee wangxiyuan (wangxiyuan)
2018-01-19 14:22:23 Lance Bragstad description Now Keystone runs unit test with sqlite backend by default. But sqlite doesn't enable Foreign Key function by default. It means that we lost the case for all FK related test. Even after enabled FK for the test. There still some problems: 1. We lost root domain (<<keystone.domian.root>>) when setup tests. So that a lot of tests will fail. 2. Some tests, such as test_sql_upgrade and identity.backens.test_sql, use global db engine. It means that the test will meet conflict if the FK is enabled for the global db engine. So we should refactor our test code to satisfy sqilte FK function. There are some steps: 1. Add FK support for the tests. Disable it by default 2. Enable FK for the test one by one. 3. Make sure the Fk is disabled for test_sql_upgrade and identity.backens.test_sql Now Keystone runs unit test with sqlite backend by default. But sqlite doesn't enable Foreign Key function by default. It means that we lost the case for all FK related test. Even after enabled FK for the test. There still some problems: 1. We lost root domain (<<keystone.domian.root>>) when setup tests. So that a lot of tests will fail. 2. Some tests, such as test_sql_upgrade and identity.backends.test_sql, use global db engine. It means that the test will meet conflict if the FK is enabled for the global db engine. So we should refactor our test code to satisfy sqilte FK function. There are some steps: 1. Add FK support for the tests. Disable it by default 2. Enable FK for the test one by one. 3. Make sure the Fk is disabled for test_sql_upgrade and identity.backens.test_sql
2018-01-19 14:22:51 Lance Bragstad description Now Keystone runs unit test with sqlite backend by default. But sqlite doesn't enable Foreign Key function by default. It means that we lost the case for all FK related test. Even after enabled FK for the test. There still some problems: 1. We lost root domain (<<keystone.domian.root>>) when setup tests. So that a lot of tests will fail. 2. Some tests, such as test_sql_upgrade and identity.backends.test_sql, use global db engine. It means that the test will meet conflict if the FK is enabled for the global db engine. So we should refactor our test code to satisfy sqilte FK function. There are some steps: 1. Add FK support for the tests. Disable it by default 2. Enable FK for the test one by one. 3. Make sure the Fk is disabled for test_sql_upgrade and identity.backens.test_sql Now Keystone runs unit test with sqlite backend by default. But sqlite doesn't enable Foreign Key function by default. It means that we lost the case for all FK related test. Even after enabled FK for the test. There still some problems: 1. We lost root domain (<<keystone.domian.root>>) when setup tests. So that a lot of tests will fail. 2. Some tests, such as test_sql_upgrade and identity.backends.test_sql, use global db engine. It means that the test will meet conflict if the FK is enabled for the global db engine. So we should refactor our test code to satisfy sqilte FK function. There are some steps: 1. Add FK support for the tests. Disable it by default 2. Enable FK for the test one by one. 3. Make sure the Fk is disabled for test_sql_upgrade and identity.backends.test_sql
2018-01-19 14:22:54 Lance Bragstad keystone: importance Undecided Medium
2018-02-14 16:54:29 OpenStack Infra keystone: assignee wangxiyuan (wangxiyuan) Morgan Fainberg (mdrnstm)
2018-03-31 04:22:36 OpenStack Infra keystone: assignee Morgan Fainberg (mdrnstm) wangxiyuan (wangxiyuan)
2018-08-22 16:44:09 Lance Bragstad tags test-improvement
2018-08-22 22:12:53 OpenStack Infra keystone: assignee wangxiyuan (wangxiyuan) Lance Bragstad (lbragstad)
2018-08-23 02:42:14 OpenStack Infra keystone: assignee Lance Bragstad (lbragstad) wangxiyuan (wangxiyuan)
2018-08-29 21:57:44 OpenStack Infra keystone: assignee wangxiyuan (wangxiyuan) Lance Bragstad (lbragstad)
2018-08-30 01:23:11 OpenStack Infra keystone: assignee Lance Bragstad (lbragstad) wangxiyuan (wangxiyuan)
2018-09-26 18:35:00 OpenStack Infra keystone: assignee wangxiyuan (wangxiyuan) Lance Bragstad (lbragstad)
2018-10-08 09:29:00 OpenStack Infra keystone: assignee Lance Bragstad (lbragstad) wangxiyuan (wangxiyuan)
2018-10-10 01:39:01 OpenStack Infra keystone: status In Progress Fix Released
2019-01-28 17:59:48 Lance Bragstad keystone: milestone stein-2
2019-01-28 17:59:50 Lance Bragstad keystone: milestone stein-2 stein-1