)]}'
{"id":"openstack%2Fwatcher~668100","triplet_id":"openstack%2Fwatcher~master~I797ad934a0f8496dbcbf65798e28b0443f238137","project":"openstack/watcher","branch":"master","topic":"bug/1834679","hashtags":[],"change_id":"I797ad934a0f8496dbcbf65798e28b0443f238137","subject":"Reduce the query time of the instances when call get_instance_list()","status":"MERGED","created":"2019-06-28 06:59:05.000000000","updated":"2019-07-09 03:54:20.000000000","submitted":"2019-07-09 03:54:19.000000000","submitter":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"total_comment_count":24,"unresolved_comment_count":0,"has_review_started":true,"submission_id":"668100-1562644460052-10db0568","meta_rev_id":"b087f45c38aac7d365d939cfba8a8c0ed04712a1","_number":668100,"virtual_id_number":668100,"owner":{"_account_id":28748,"name":"chenker","email":"chen.ke14@zte.com.cn","username":"chenke"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"all":[{"value":0,"_account_id":15888,"name":"Zhenyu Zheng","email":"zheng.zhenyu@outlook.com","username":"Kevin_Zheng"},{"value":0,"_account_id":13111,"name":"Hidekazu Nakamura","email":"hidekazuna@gmail.com","username":"hid-nakamura"},{"value":0,"_account_id":29911,"name":"Dantali0n","email":"info@dantalion.nl","username":"Dantali0n"},{"value":0,"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},{"value":0,"_account_id":14107,"name":"zhurong","email":"aaronzhu1121@gmail.com","username":"zhurong"},{"value":0,"_account_id":21692,"name":"licanwei","email":"li.canwei2@zte.com.cn","username":"licanwei"},{"value":0,"_account_id":28748,"name":"chenker","email":"chen.ke14@zte.com.cn","username":"chenke"},{"value":2,"date":"2019-07-09 03:54:19.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"values":{"-2":"Fails","-1":"Doesn\u0027t seem to work"," 0":"No score","+1":"Works for me","+2":"Verified"},"description":"","default_value":0,"optional":true},"Code-Review":{"approved":{"_account_id":21692,"name":"licanwei","email":"li.canwei2@zte.com.cn","username":"licanwei"},"recommended":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"all":[{"value":0,"_account_id":15888,"name":"Zhenyu Zheng","email":"zheng.zhenyu@outlook.com","username":"Kevin_Zheng"},{"value":0,"_account_id":13111,"name":"Hidekazu Nakamura","email":"hidekazuna@gmail.com","username":"hid-nakamura"},{"value":0,"_account_id":29911,"name":"Dantali0n","email":"info@dantalion.nl","username":"Dantali0n"},{"value":1,"date":"2019-07-08 14:12:37.000000000","permitted_voting_range":{"min":1,"max":1},"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},{"value":0,"_account_id":14107,"name":"zhurong","email":"aaronzhu1121@gmail.com","username":"zhurong"},{"value":2,"date":"2019-07-09 01:07:57.000000000","_account_id":21692,"name":"licanwei","email":"li.canwei2@zte.com.cn","username":"licanwei"},{"value":0,"_account_id":28748,"name":"chenker","email":"chen.ke14@zte.com.cn","username":"chenke"},{"value":0,"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"values":{"-2":"Do not merge","-1":"This patch needs further work before it can be merged"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me (core reviewer)"},"description":"","value":1,"default_value":0,"optional":true},"Workflow":{"approved":{"_account_id":28748,"name":"chenker","email":"chen.ke14@zte.com.cn","username":"chenke"},"all":[{"value":0,"_account_id":15888,"name":"Zhenyu Zheng","email":"zheng.zhenyu@outlook.com","username":"Kevin_Zheng"},{"value":0,"_account_id":13111,"name":"Hidekazu Nakamura","email":"hidekazuna@gmail.com","username":"hid-nakamura"},{"value":0,"_account_id":29911,"name":"Dantali0n","email":"info@dantalion.nl","username":"Dantali0n"},{"value":0,"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},{"value":0,"_account_id":14107,"name":"zhurong","email":"aaronzhu1121@gmail.com","username":"zhurong"},{"value":0,"_account_id":21692,"name":"licanwei","email":"li.canwei2@zte.com.cn","username":"licanwei"},{"value":1,"date":"2019-07-09 03:15:06.000000000","_account_id":28748,"name":"chenker","email":"chen.ke14@zte.com.cn","username":"chenke"},{"value":0,"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true},"Review-Priority":{"all":[{"value":0,"_account_id":15888,"name":"Zhenyu Zheng","email":"zheng.zhenyu@outlook.com","username":"Kevin_Zheng"},{"value":0,"_account_id":13111,"name":"Hidekazu Nakamura","email":"hidekazuna@gmail.com","username":"hid-nakamura"},{"value":0,"_account_id":29911,"name":"Dantali0n","email":"info@dantalion.nl","username":"Dantali0n"},{"value":0,"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},{"value":0,"_account_id":14107,"name":"zhurong","email":"aaronzhu1121@gmail.com","username":"zhurong"},{"value":0,"_account_id":21692,"name":"licanwei","email":"li.canwei2@zte.com.cn","username":"licanwei"},{"value":0,"_account_id":28748,"name":"chenker","email":"chen.ke14@zte.com.cn","username":"chenke"},{"value":0,"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"values":{" 0":"Standard Change","+1":"Important Change","+2":"High Priority Change"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},{"_account_id":13111,"name":"Hidekazu Nakamura","email":"hidekazuna@gmail.com","username":"hid-nakamura"},{"_account_id":14107,"name":"zhurong","email":"aaronzhu1121@gmail.com","username":"zhurong"},{"_account_id":15888,"name":"Zhenyu Zheng","email":"zheng.zhenyu@outlook.com","username":"Kevin_Zheng"},{"_account_id":21692,"name":"licanwei","email":"li.canwei2@zte.com.cn","username":"licanwei"},{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"_account_id":28748,"name":"chenker","email":"chen.ke14@zte.com.cn","username":"chenke"},{"_account_id":29911,"name":"Dantali0n","email":"info@dantalion.nl","username":"Dantali0n"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2019-06-28 07:00:58.000000000","updated_by":{"_account_id":14107,"name":"zhurong","email":"aaronzhu1121@gmail.com","username":"zhurong"},"reviewer":{"_account_id":14107,"name":"zhurong","email":"aaronzhu1121@gmail.com","username":"zhurong"},"state":"REVIEWER"},{"updated":"2019-06-28 18:12:39.000000000","updated_by":{"_account_id":15888,"name":"Zhenyu Zheng","email":"zheng.zhenyu@outlook.com","username":"Kevin_Zheng"},"reviewer":{"_account_id":15888,"name":"Zhenyu Zheng","email":"zheng.zhenyu@outlook.com","username":"Kevin_Zheng"},"state":"REVIEWER"},{"updated":"2019-07-01 06:50:59.000000000","updated_by":{"_account_id":29911,"name":"Dantali0n","email":"info@dantalion.nl","username":"Dantali0n"},"reviewer":{"_account_id":29911,"name":"Dantali0n","email":"info@dantalion.nl","username":"Dantali0n"},"state":"REVIEWER"},{"updated":"2019-07-03 13:52:23.000000000","updated_by":{"_account_id":13111,"name":"Hidekazu Nakamura","email":"hidekazuna@gmail.com","username":"hid-nakamura"},"reviewer":{"_account_id":13111,"name":"Hidekazu Nakamura","email":"hidekazuna@gmail.com","username":"hid-nakamura"},"state":"REVIEWER"},{"updated":"2019-07-08 14:12:37.000000000","updated_by":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"reviewer":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"state":"REVIEWER"},{"updated":"2019-07-09 01:07:57.000000000","updated_by":{"_account_id":21692,"name":"licanwei","email":"li.canwei2@zte.com.cn","username":"licanwei"},"reviewer":{"_account_id":21692,"name":"licanwei","email":"li.canwei2@zte.com.cn","username":"licanwei"},"state":"REVIEWER"},{"updated":"2019-07-09 03:54:19.000000000","updated_by":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"reviewer":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"state":"REVIEWER"}],"messages":[{"id":"9b412bd5a823da12800ac29b255dcc47e1621915","author":{"_account_id":28748,"name":"chenker","email":"chen.ke14@zte.com.cn","username":"chenke"},"date":"2019-06-28 06:59:05.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"2cf7271e3747413a037c7c2737e956d0fd7bc777","author":{"_account_id":28748,"name":"chenker","email":"chen.ke14@zte.com.cn","username":"chenke"},"date":"2019-06-28 07:01:38.000000000","message":"Patch Set 1:\n\n@Dantali0n, You can merge this patch to your environment and have a try.","accounts_in_message":[],"_revision_number":1},{"id":"3a638e8c6b062f77183f3e259510fff3712b6999","author":{"_account_id":29911,"name":"Dantali0n","email":"info@dantalion.nl","username":"Dantali0n"},"date":"2019-06-28 07:29:15.000000000","message":"Patch Set 1:\n\nFrom 800 seconds for medium cells to 239, more testing required but this looks really promising!","accounts_in_message":[],"_revision_number":1},{"id":"e0bd531bb30fd674c5a6c77b9ebbc8df1b85b55c","author":{"_account_id":28748,"name":"chenker","email":"chen.ke14@zte.com.cn","username":"chenke"},"date":"2019-06-28 08:05:09.000000000","message":"Patch Set 1:\n\n\u003e From 800 seconds for medium cells to 239, more testing required but\n \u003e this looks really promising!\n\nLooking forward to the next experiment result.","accounts_in_message":[],"_revision_number":1},{"id":"cfb5be2fc7e4a70ca065e77699c3381bd5d15d74","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2019-06-28 08:07:06.000000000","message":"Patch Set 1: Verified+1\n\nBuild succeeded (check pipeline).\n\n- openstack-tox-cover http://logs.openstack.org/00/668100/1/check/openstack-tox-cover/072e139/cover/ : SUCCESS in 4m 20s\n- openstack-tox-lower-constraints http://logs.openstack.org/00/668100/1/check/openstack-tox-lower-constraints/3c750a5/ : SUCCESS in 4m 32s\n- openstack-tox-pep8 http://logs.openstack.org/00/668100/1/check/openstack-tox-pep8/f1208ce/ : SUCCESS in 4m 35s\n- openstack-tox-py27 http://logs.openstack.org/00/668100/1/check/openstack-tox-py27/e76504f/ : SUCCESS in 4m 21s\n- openstack-tox-py36 http://logs.openstack.org/00/668100/1/check/openstack-tox-py36/17f2ba7/ : SUCCESS in 4m 36s\n- openstack-tox-py37 http://logs.openstack.org/00/668100/1/check/openstack-tox-py37/7bca687/ : SUCCESS in 5m 36s\n- openstack-tox-docs http://logs.openstack.org/00/668100/1/check/openstack-tox-docs/823069b/html/ : SUCCESS in 3m 10s\n- watcher-tempest-functional http://logs.openstack.org/00/668100/1/check/watcher-tempest-functional/99616ec/ : SUCCESS in 34m 11s\n- watcher-grenade http://logs.openstack.org/00/668100/1/check/watcher-grenade/1f54525/ : SUCCESS in 41m 54s\n- watcher-tempest-dummy_optim http://logs.openstack.org/00/668100/1/check/watcher-tempest-dummy_optim/5fff112/ : SUCCESS in 42m 40s\n- watcher-tempest-actuator http://logs.openstack.org/00/668100/1/check/watcher-tempest-actuator/d66aa0f/ : SUCCESS in 54m 44s\n- watcher-tempest-basic_optim http://logs.openstack.org/00/668100/1/check/watcher-tempest-basic_optim/9e0596e/ : SUCCESS in 51m 26s\n- watcher-tempest-vm_workload_consolidation http://logs.openstack.org/00/668100/1/check/watcher-tempest-vm_workload_consolidation/6a1e8d4/ : SUCCESS in 50m 36s\n- watcher-tempest-workload_balancing http://logs.openstack.org/00/668100/1/check/watcher-tempest-workload_balancing/b623f97/ : SUCCESS in 51m 18s\n- watcherclient-tempest-functional http://logs.openstack.org/00/668100/1/check/watcherclient-tempest-functional/6b3a88f/ : SUCCESS in 35m 30s\n- watcher-tempest-zone_migration http://logs.openstack.org/00/668100/1/check/watcher-tempest-zone_migration/081f874/ : SUCCESS in 48m 24s\n- watcher-tempest-host_maintenance http://logs.openstack.org/00/668100/1/check/watcher-tempest-host_maintenance/87ce166/ : SUCCESS in 46m 29s\n- watcher-tempest-storage_balance http://logs.openstack.org/00/668100/1/check/watcher-tempest-storage_balance/4527ebe/ : SUCCESS in 1h 03m 02s\n- watcher-tls-test http://logs.openstack.org/00/668100/1/check/watcher-tls-test/78a4a6a/ : SUCCESS in 47m 23s","accounts_in_message":[],"_revision_number":1},{"id":"0c540e5636f9464122c909a739d2d39ad0047953","author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"date":"2019-06-28 17:53:38.000000000","message":"Patch Set 1: Code-Review-1\n\n(2 comments)\n\nYup this is exactly what I was thinking we should do. A couple of things:\n\n1. Let\u0027s have a bug reported for this since we\u0027ll want to backport this to stable/stein since https://review.opendev.org/#/c/661544/ is in stable/stein.\n\n2. Please add some comments / docstring to the code.\n\n3. There is a possibility that we might need to add a marker kwarg to get_instance_list but we don\u0027t need that right now for this fix, but might be worth leaving a TODO in the get_instance_list method itself saying we might want to add a marker kwarg for later client-side paging support.","accounts_in_message":[],"_revision_number":1},{"id":"e84f838280f26be7b7ede60da8c6f3ad9788d211","author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"date":"2019-06-28 18:07:33.000000000","message":"Patch Set 1:\n\n(1 comment)","accounts_in_message":[],"_revision_number":1},{"id":"b44111cb6e1f213649f9e3a30c93cf3e8f96415c","author":{"_account_id":28748,"name":"chenker","email":"chen.ke14@zte.com.cn","username":"chenke"},"date":"2019-06-29 01:40:33.000000000","message":"Patch Set 1:\n\n(3 comments)","accounts_in_message":[],"_revision_number":1},{"id":"318dbcc5f5a6fa5f95e3ed860154d52ce908c0aa","author":{"_account_id":28748,"name":"chenker","email":"chen.ke14@zte.com.cn","username":"chenke"},"date":"2019-06-29 02:47:00.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"9e2a80f2daba7140aacb128e010114e3b2ae5fc5","author":{"_account_id":28748,"name":"chenker","email":"chen.ke14@zte.com.cn","username":"chenke"},"date":"2019-06-29 02:53:23.000000000","message":"Patch Set 2:\n\n(3 comments)","accounts_in_message":[],"_revision_number":2},{"id":"8c6394c3196ec49f62c6c2824d6a88a42fdbca82","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2019-06-29 03:49:56.000000000","message":"Patch Set 2: Verified+1\n\nBuild succeeded (check pipeline).\n\n- openstack-tox-cover http://logs.openstack.org/00/668100/2/check/openstack-tox-cover/e38d49f/cover/ : SUCCESS in 5m 44s\n- openstack-tox-lower-constraints http://logs.openstack.org/00/668100/2/check/openstack-tox-lower-constraints/a3761c6/ : SUCCESS in 4m 14s\n- openstack-tox-pep8 http://logs.openstack.org/00/668100/2/check/openstack-tox-pep8/809f074/ : SUCCESS in 4m 15s\n- openstack-tox-py27 http://logs.openstack.org/00/668100/2/check/openstack-tox-py27/3178992/ : SUCCESS in 6m 04s\n- openstack-tox-py36 http://logs.openstack.org/00/668100/2/check/openstack-tox-py36/4500988/ : SUCCESS in 4m 14s\n- openstack-tox-py37 http://logs.openstack.org/00/668100/2/check/openstack-tox-py37/0b800c6/ : SUCCESS in 6m 50s\n- openstack-tox-docs http://logs.openstack.org/00/668100/2/check/openstack-tox-docs/c73c06c/html/ : SUCCESS in 4m 34s\n- watcher-tempest-functional http://logs.openstack.org/00/668100/2/check/watcher-tempest-functional/3a69727/ : SUCCESS in 27m 12s\n- watcher-grenade http://logs.openstack.org/00/668100/2/check/watcher-grenade/6eeb692/ : SUCCESS in 43m 18s\n- watcher-tempest-dummy_optim http://logs.openstack.org/00/668100/2/check/watcher-tempest-dummy_optim/0f2ef4c/ : SUCCESS in 45m 37s\n- watcher-tempest-actuator http://logs.openstack.org/00/668100/2/check/watcher-tempest-actuator/3fdc8ef/ : SUCCESS in 50m 50s\n- watcher-tempest-basic_optim http://logs.openstack.org/00/668100/2/check/watcher-tempest-basic_optim/adfde6c/ : SUCCESS in 44m 45s\n- watcher-tempest-vm_workload_consolidation http://logs.openstack.org/00/668100/2/check/watcher-tempest-vm_workload_consolidation/0707061/ : SUCCESS in 46m 24s\n- watcher-tempest-workload_balancing http://logs.openstack.org/00/668100/2/check/watcher-tempest-workload_balancing/a78308a/ : SUCCESS in 46m 19s\n- watcherclient-tempest-functional http://logs.openstack.org/00/668100/2/check/watcherclient-tempest-functional/4deb82e/ : SUCCESS in 30m 24s\n- watcher-tempest-zone_migration http://logs.openstack.org/00/668100/2/check/watcher-tempest-zone_migration/abefb48/ : SUCCESS in 46m 43s\n- watcher-tempest-host_maintenance http://logs.openstack.org/00/668100/2/check/watcher-tempest-host_maintenance/cd31c62/ : SUCCESS in 46m 53s\n- watcher-tempest-storage_balance http://logs.openstack.org/00/668100/2/check/watcher-tempest-storage_balance/a37b72f/ : SUCCESS in 45m 30s\n- watcher-tls-test http://logs.openstack.org/00/668100/2/check/watcher-tls-test/310e005/ : SUCCESS in 45m 03s","accounts_in_message":[],"_revision_number":2},{"id":"665400e2f8488407567606d9171b76bde9c487db","author":{"_account_id":29911,"name":"Dantali0n","email":"info@dantalion.nl","username":"Dantali0n"},"date":"2019-07-01 06:50:59.000000000","message":"Patch Set 2:\n\n(1 comment)","accounts_in_message":[],"_revision_number":2},{"id":"81ae33182114fdc099a056f78a68760e1f8f64d2","author":{"_account_id":28748,"name":"chenker","email":"chen.ke14@zte.com.cn","username":"chenke"},"date":"2019-07-01 13:08:46.000000000","message":"Patch Set 2:\n\n(1 comment)","accounts_in_message":[],"_revision_number":2},{"id":"d5a768e8e84d8e6b8546aa8ee65510bb36af1ef9","author":{"_account_id":28748,"name":"chenker","email":"chen.ke14@zte.com.cn","username":"chenke"},"date":"2019-07-01 13:14:00.000000000","message":"Uploaded patch set 3.","accounts_in_message":[],"_revision_number":3},{"id":"90d450e5b491242aee82b3a4d9269ec4a20d9102","author":{"_account_id":28748,"name":"chenker","email":"chen.ke14@zte.com.cn","username":"chenke"},"date":"2019-07-01 13:18:13.000000000","message":"Patch Set 3:\n\n(1 comment)","accounts_in_message":[],"_revision_number":3},{"id":"78ced63af3e751a35fb3d58f23120a900e03bb2d","author":{"_account_id":28748,"name":"chenker","email":"chen.ke14@zte.com.cn","username":"chenke"},"date":"2019-07-01 14:18:18.000000000","message":"Patch Set 3:\n\nrecheck","accounts_in_message":[],"_revision_number":3},{"id":"13bb65ce2a2f194fd4c93a7b1fd6212c5d2e59c1","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2019-07-01 14:19:09.000000000","message":"Patch Set 3: Verified-1\n\nBuild failed (check pipeline).  For information on how to proceed, see\nhttp://docs.openstack.org/infra/manual/developers.html#automated-testing\n\n\n- openstack-tox-cover http://logs.openstack.org/00/668100/3/check/openstack-tox-cover/fa3f42b/cover/ : SUCCESS in 5m 50s\n- openstack-tox-lower-constraints http://logs.openstack.org/00/668100/3/check/openstack-tox-lower-constraints/a982353/ : SUCCESS in 4m 38s\n- openstack-tox-pep8 http://logs.openstack.org/00/668100/3/check/openstack-tox-pep8/22278e1/ : SUCCESS in 4m 10s\n- openstack-tox-py27 http://logs.openstack.org/00/668100/3/check/openstack-tox-py27/333f8f3/ : SUCCESS in 4m 08s\n- openstack-tox-py36 http://logs.openstack.org/00/668100/3/check/openstack-tox-py36/cdb3e1f/ : SUCCESS in 5m 22s\n- openstack-tox-py37 http://logs.openstack.org/00/668100/3/check/openstack-tox-py37/0004664/ : SUCCESS in 4m 46s\n- openstack-tox-docs http://logs.openstack.org/00/668100/3/check/openstack-tox-docs/4e42084/html/ : SUCCESS in 3m 30s\n- watcher-tempest-functional http://logs.openstack.org/00/668100/3/check/watcher-tempest-functional/a078920/ : SUCCESS in 33m 25s\n- watcher-grenade http://logs.openstack.org/00/668100/3/check/watcher-grenade/1b6fed3/ : FAILURE in 43m 37s\n- watcher-tempest-dummy_optim http://logs.openstack.org/00/668100/3/check/watcher-tempest-dummy_optim/f809ec0/ : SUCCESS in 47m 10s\n- watcher-tempest-actuator http://logs.openstack.org/00/668100/3/check/watcher-tempest-actuator/61fbbd6/ : SUCCESS in 53m 50s\n- watcher-tempest-basic_optim http://logs.openstack.org/00/668100/3/check/watcher-tempest-basic_optim/08081c8/ : SUCCESS in 57m 33s\n- watcher-tempest-vm_workload_consolidation http://logs.openstack.org/00/668100/3/check/watcher-tempest-vm_workload_consolidation/997f33a/ : SUCCESS in 50m 03s\n- watcher-tempest-workload_balancing http://logs.openstack.org/00/668100/3/check/watcher-tempest-workload_balancing/a880b79/ : SUCCESS in 51m 27s\n- watcherclient-tempest-functional http://logs.openstack.org/00/668100/3/check/watcherclient-tempest-functional/2bf2e81/ : SUCCESS in 39m 07s\n- watcher-tempest-zone_migration http://logs.openstack.org/00/668100/3/check/watcher-tempest-zone_migration/4f1a564/ : SUCCESS in 50m 46s\n- watcher-tempest-host_maintenance http://logs.openstack.org/00/668100/3/check/watcher-tempest-host_maintenance/5febcc7/ : SUCCESS in 48m 13s\n- watcher-tempest-storage_balance http://logs.openstack.org/00/668100/3/check/watcher-tempest-storage_balance/a0ba8dc/ : SUCCESS in 51m 12s\n- watcher-tls-test http://logs.openstack.org/00/668100/3/check/watcher-tls-test/92ae563/ : SUCCESS in 55m 58s","accounts_in_message":[],"_revision_number":3},{"id":"f3b7da7137c9a5e077e4c262afc221ba264dc4e1","author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"date":"2019-07-01 14:20:53.000000000","message":"Patch Set 3: Code-Review-1\n\n(3 comments)","accounts_in_message":[],"_revision_number":3},{"id":"18f2c9d3941aabaec9cdd214f75d78849781293b","author":{"_account_id":28748,"name":"chenker","email":"chen.ke14@zte.com.cn","username":"chenke"},"date":"2019-07-01 14:27:25.000000000","message":"Patch Set 3:\n\n(3 comments)","accounts_in_message":[],"_revision_number":3},{"id":"c20b87a5506350e549fed2c8e83f002746bb459d","author":{"_account_id":28748,"name":"chenker","email":"chen.ke14@zte.com.cn","username":"chenke"},"date":"2019-07-04 02:46:30.000000000","message":"Uploaded patch set 4.","accounts_in_message":[],"_revision_number":4},{"id":"003385db2fed72c58436f8f1605c2011bf73e420","author":{"_account_id":28748,"name":"chenker","email":"chen.ke14@zte.com.cn","username":"chenke"},"date":"2019-07-04 02:49:05.000000000","message":"Patch Set 3:\n\n(3 comments)","accounts_in_message":[],"_revision_number":3},{"id":"22fb7197e0479d08720793ba4f6830d28599c9e0","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2019-07-04 03:52:56.000000000","message":"Patch Set 4: Verified+1\n\nBuild succeeded (check pipeline).\n\n- openstack-tox-cover http://logs.openstack.org/00/668100/4/check/openstack-tox-cover/ee31019/cover/ : SUCCESS in 5m 36s\n- openstack-tox-lower-constraints http://logs.openstack.org/00/668100/4/check/openstack-tox-lower-constraints/f9e23ea/ : SUCCESS in 4m 52s\n- openstack-tox-pep8 http://logs.openstack.org/00/668100/4/check/openstack-tox-pep8/06c5cfe/ : SUCCESS in 4m 53s\n- openstack-tox-py27 http://logs.openstack.org/00/668100/4/check/openstack-tox-py27/5d7a2a0/ : SUCCESS in 4m 59s\n- openstack-tox-py36 http://logs.openstack.org/00/668100/4/check/openstack-tox-py36/4919207/ : SUCCESS in 5m 11s\n- openstack-tox-py37 http://logs.openstack.org/00/668100/4/check/openstack-tox-py37/f8a9a89/ : SUCCESS in 6m 00s\n- openstack-tox-docs http://logs.openstack.org/00/668100/4/check/openstack-tox-docs/b6ecf09/html/ : SUCCESS in 6m 48s\n- watcher-tempest-functional http://logs.openstack.org/00/668100/4/check/watcher-tempest-functional/bb59c6a/ : SUCCESS in 27m 30s\n- watcher-grenade http://logs.openstack.org/00/668100/4/check/watcher-grenade/88d464f/ : SUCCESS in 41m 21s\n- watcher-tempest-dummy_optim http://logs.openstack.org/00/668100/4/check/watcher-tempest-dummy_optim/9d54878/ : SUCCESS in 44m 01s\n- watcher-tempest-actuator http://logs.openstack.org/00/668100/4/check/watcher-tempest-actuator/3eff74c/ : SUCCESS in 47m 00s\n- watcher-tempest-basic_optim http://logs.openstack.org/00/668100/4/check/watcher-tempest-basic_optim/c90abd2/ : SUCCESS in 45m 24s\n- watcher-tempest-vm_workload_consolidation http://logs.openstack.org/00/668100/4/check/watcher-tempest-vm_workload_consolidation/ea0145b/ : SUCCESS in 47m 33s\n- watcher-tempest-workload_balancing http://logs.openstack.org/00/668100/4/check/watcher-tempest-workload_balancing/99ffcfc/ : SUCCESS in 51m 15s\n- watcherclient-tempest-functional http://logs.openstack.org/00/668100/4/check/watcherclient-tempest-functional/2dd1a6e/ : SUCCESS in 35m 42s\n- watcher-tempest-zone_migration http://logs.openstack.org/00/668100/4/check/watcher-tempest-zone_migration/a8c485e/ : SUCCESS in 47m 48s\n- watcher-tempest-host_maintenance http://logs.openstack.org/00/668100/4/check/watcher-tempest-host_maintenance/1854085/ : SUCCESS in 58m 25s\n- watcher-tempest-storage_balance http://logs.openstack.org/00/668100/4/check/watcher-tempest-storage_balance/fcf92e0/ : SUCCESS in 52m 31s\n- watcher-tls-test http://logs.openstack.org/00/668100/4/check/watcher-tls-test/b2d5f81/ : SUCCESS in 53m 19s","accounts_in_message":[],"_revision_number":4},{"id":"46b19950539f102c50f89aabc7c9409d59984f66","author":{"_account_id":28748,"name":"chenker","email":"chen.ke14@zte.com.cn","username":"chenke"},"date":"2019-07-04 05:08:02.000000000","message":"Uploaded patch set 5.","accounts_in_message":[],"_revision_number":5},{"id":"2495ceedabd012d8f2371f2ec4cc788e562c4442","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2019-07-04 06:06:24.000000000","message":"Patch Set 5: Verified+1\n\nBuild succeeded (check pipeline).\n\n- openstack-tox-cover http://logs.openstack.org/00/668100/5/check/openstack-tox-cover/1739fcf/cover/ : SUCCESS in 4m 20s\n- openstack-tox-lower-constraints http://logs.openstack.org/00/668100/5/check/openstack-tox-lower-constraints/8dd43df/ : SUCCESS in 4m 39s\n- openstack-tox-pep8 http://logs.openstack.org/00/668100/5/check/openstack-tox-pep8/719b809/ : SUCCESS in 3m 51s\n- openstack-tox-py27 http://logs.openstack.org/00/668100/5/check/openstack-tox-py27/da7e6bd/ : SUCCESS in 5m 33s\n- openstack-tox-py36 http://logs.openstack.org/00/668100/5/check/openstack-tox-py36/b8fb825/ : SUCCESS in 4m 33s\n- openstack-tox-py37 http://logs.openstack.org/00/668100/5/check/openstack-tox-py37/7e98171/ : SUCCESS in 4m 36s\n- openstack-tox-docs http://logs.openstack.org/00/668100/5/check/openstack-tox-docs/351021e/html/ : SUCCESS in 3m 20s\n- watcher-tempest-functional http://logs.openstack.org/00/668100/5/check/watcher-tempest-functional/75b019d/ : SUCCESS in 27m 36s\n- watcher-grenade http://logs.openstack.org/00/668100/5/check/watcher-grenade/c1840cc/ : SUCCESS in 43m 50s\n- watcher-tempest-dummy_optim http://logs.openstack.org/00/668100/5/check/watcher-tempest-dummy_optim/3ce0cc0/ : SUCCESS in 44m 57s\n- watcher-tempest-actuator http://logs.openstack.org/00/668100/5/check/watcher-tempest-actuator/6d77f3a/ : SUCCESS in 46m 34s\n- watcher-tempest-basic_optim http://logs.openstack.org/00/668100/5/check/watcher-tempest-basic_optim/dd3218d/ : SUCCESS in 49m 22s\n- watcher-tempest-vm_workload_consolidation http://logs.openstack.org/00/668100/5/check/watcher-tempest-vm_workload_consolidation/eedf3db/ : SUCCESS in 44m 28s\n- watcher-tempest-workload_balancing http://logs.openstack.org/00/668100/5/check/watcher-tempest-workload_balancing/ddbe00a/ : SUCCESS in 47m 25s\n- watcherclient-tempest-functional http://logs.openstack.org/00/668100/5/check/watcherclient-tempest-functional/d314257/ : SUCCESS in 30m 42s\n- watcher-tempest-zone_migration http://logs.openstack.org/00/668100/5/check/watcher-tempest-zone_migration/f083bb9/ : SUCCESS in 44m 36s\n- watcher-tempest-host_maintenance http://logs.openstack.org/00/668100/5/check/watcher-tempest-host_maintenance/94114b0/ : SUCCESS in 47m 28s\n- watcher-tempest-storage_balance http://logs.openstack.org/00/668100/5/check/watcher-tempest-storage_balance/da36f0f/ : SUCCESS in 46m 31s\n- watcher-tls-test http://logs.openstack.org/00/668100/5/check/watcher-tls-test/64bde30/ : SUCCESS in 44m 59s","accounts_in_message":[],"_revision_number":5},{"id":"59d71a6e4e948d409bea72f22090fe69091b6705","author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"date":"2019-07-05 22:21:01.000000000","message":"Patch Set 5: Code-Review+1\n\n(1 comment)","accounts_in_message":[],"_revision_number":5},{"id":"2a729f6861605cbb3da5f46d93257b9978f90230","author":{"_account_id":28748,"name":"chenker","email":"chen.ke14@zte.com.cn","username":"chenke"},"date":"2019-07-08 01:55:52.000000000","message":"Patch Set 5:\n\n(1 comment)","accounts_in_message":[],"_revision_number":5},{"id":"194d8086f3df128ec0983cad5198e0a3ef905ac5","author":{"_account_id":28748,"name":"chenker","email":"chen.ke14@zte.com.cn","username":"chenke"},"date":"2019-07-08 01:59:43.000000000","message":"Uploaded patch set 6.","accounts_in_message":[],"_revision_number":6},{"id":"df210ab7750f903cae259cc0c3989432e8d1008b","author":{"_account_id":28748,"name":"chenker","email":"chen.ke14@zte.com.cn","username":"chenke"},"date":"2019-07-08 02:00:43.000000000","message":"Patch Set 6:\n\n(1 comment)","accounts_in_message":[],"_revision_number":6},{"id":"73426eb2ea05638c14ae681600fd1ab8dc03c1b3","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2019-07-08 03:02:30.000000000","message":"Patch Set 6: Verified+1\n\nBuild succeeded (check pipeline).\n\n- openstack-tox-cover http://logs.openstack.org/00/668100/6/check/openstack-tox-cover/c19fe66/cover/ : SUCCESS in 4m 29s\n- openstack-tox-lower-constraints http://logs.openstack.org/00/668100/6/check/openstack-tox-lower-constraints/8d269ab/ : SUCCESS in 3m 55s\n- openstack-tox-pep8 http://logs.openstack.org/00/668100/6/check/openstack-tox-pep8/218e839/ : SUCCESS in 3m 45s\n- openstack-tox-py27 http://logs.openstack.org/00/668100/6/check/openstack-tox-py27/a99785c/ : SUCCESS in 4m 22s\n- openstack-tox-py36 http://logs.openstack.org/00/668100/6/check/openstack-tox-py36/ac72637/ : SUCCESS in 4m 16s\n- openstack-tox-py37 http://logs.openstack.org/00/668100/6/check/openstack-tox-py37/1c52567/ : SUCCESS in 4m 15s\n- openstack-tox-docs http://logs.openstack.org/00/668100/6/check/openstack-tox-docs/00bc192/html/ : SUCCESS in 3m 25s\n- watcher-tempest-functional http://logs.openstack.org/00/668100/6/check/watcher-tempest-functional/4f9e3ec/ : SUCCESS in 29m 32s\n- watcher-grenade http://logs.openstack.org/00/668100/6/check/watcher-grenade/35a3058/ : SUCCESS in 43m 40s\n- watcher-tempest-dummy_optim http://logs.openstack.org/00/668100/6/check/watcher-tempest-dummy_optim/7a1f357/ : SUCCESS in 42m 18s\n- watcher-tempest-actuator http://logs.openstack.org/00/668100/6/check/watcher-tempest-actuator/75ce40d/ : SUCCESS in 47m 50s\n- watcher-tempest-basic_optim http://logs.openstack.org/00/668100/6/check/watcher-tempest-basic_optim/3791ec5/ : SUCCESS in 47m 05s\n- watcher-tempest-vm_workload_consolidation http://logs.openstack.org/00/668100/6/check/watcher-tempest-vm_workload_consolidation/354b9b8/ : SUCCESS in 45m 10s\n- watcher-tempest-workload_balancing http://logs.openstack.org/00/668100/6/check/watcher-tempest-workload_balancing/11c0080/ : SUCCESS in 45m 36s\n- watcherclient-tempest-functional http://logs.openstack.org/00/668100/6/check/watcherclient-tempest-functional/7067d9c/ : SUCCESS in 31m 38s\n- watcher-tempest-zone_migration http://logs.openstack.org/00/668100/6/check/watcher-tempest-zone_migration/fe020c7/ : SUCCESS in 41m 55s\n- watcher-tempest-host_maintenance http://logs.openstack.org/00/668100/6/check/watcher-tempest-host_maintenance/eaef82d/ : SUCCESS in 42m 21s\n- watcher-tempest-storage_balance http://logs.openstack.org/00/668100/6/check/watcher-tempest-storage_balance/fe03e07/ : SUCCESS in 46m 21s\n- watcher-tls-test http://logs.openstack.org/00/668100/6/check/watcher-tls-test/fa3496a/ : SUCCESS in 45m 00s","accounts_in_message":[],"_revision_number":6},{"id":"a65bb848b43af8efd6d19a955b6116a223231e5a","author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"date":"2019-07-08 14:12:37.000000000","message":"Patch Set 6: Code-Review+1\n\nlgtm","accounts_in_message":[],"_revision_number":6},{"id":"18eef5191cdb8985400deef3a5c476c653a91bfc","author":{"_account_id":21692,"name":"licanwei","email":"li.canwei2@zte.com.cn","username":"licanwei"},"date":"2019-07-09 01:07:57.000000000","message":"Patch Set 6: Code-Review+2","accounts_in_message":[],"_revision_number":6},{"id":"f41d53ed690c6b3ed54315a86712719c84291105","author":{"_account_id":28748,"name":"chenker","email":"chen.ke14@zte.com.cn","username":"chenke"},"date":"2019-07-09 03:15:06.000000000","message":"Patch Set 6: Workflow+1","accounts_in_message":[],"_revision_number":6},{"id":"41321a01be1a0e38016c25df540e3305cab989d9","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2019-07-09 03:15:18.000000000","message":"Patch Set 6: -Verified\n\nStarting gate jobs.","accounts_in_message":[],"_revision_number":6},{"id":"ec5a1ad24297999ccb32d065f1572b935c0239bd","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2019-07-09 03:54:19.000000000","message":"Patch Set 6: Verified+2\n\nBuild succeeded (gate pipeline).\n\n- openstack-tox-lower-constraints http://logs.openstack.org/00/668100/6/gate/openstack-tox-lower-constraints/b9bb607/ : SUCCESS in 3m 55s\n- openstack-tox-pep8 http://logs.openstack.org/00/668100/6/gate/openstack-tox-pep8/1a35916/ : SUCCESS in 3m 48s\n- openstack-tox-py27 http://logs.openstack.org/00/668100/6/gate/openstack-tox-py27/550d9a4/ : SUCCESS in 3m 58s\n- openstack-tox-py36 http://logs.openstack.org/00/668100/6/gate/openstack-tox-py36/c51dd1c/ : SUCCESS in 4m 04s\n- openstack-tox-py37 http://logs.openstack.org/00/668100/6/gate/openstack-tox-py37/1c2028e/ : SUCCESS in 4m 40s\n- openstack-tox-docs http://logs.openstack.org/00/668100/6/gate/openstack-tox-docs/2e000e2/html/ : SUCCESS in 3m 36s\n- watcher-tempest-functional http://logs.openstack.org/00/668100/6/gate/watcher-tempest-functional/b8ad2fc/ : SUCCESS in 33m 42s","accounts_in_message":[],"_revision_number":6},{"id":"105f5c9f2e908a7679ac5d0b72251ee7c7b64719","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2019-07-09 03:54:20.000000000","message":"Change has been successfully merged by Zuul","accounts_in_message":[],"_revision_number":6}],"current_revision_number":6,"current_revision":"1e8b17ac46a9052234c9f56da42a2a4bb8250216","revisions":{"322598e61f92f20cc407cc00619835c9bdc30c5f":{"kind":"REWORK","_number":1,"created":"2019-06-28 06:59:05.000000000","uploader":{"_account_id":28748,"name":"chenker","email":"chen.ke14@zte.com.cn","username":"chenke"},"ref":"refs/changes/00/668100/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/watcher","ref":"refs/changes/00/668100/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/watcher refs/changes/00/668100/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/watcher refs/changes/00/668100/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/watcher refs/changes/00/668100/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/watcher refs/changes/00/668100/1"}}},"commit":{"parents":[{"commit":"1b41d92b9effd17498597383913832db2d2b496b","subject":"Merge \"Add uWSGI support\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/watcher/commit/1b41d92b9effd17498597383913832db2d2b496b"}]}],"author":{"name":"chenke","email":"chen.ke14@zte.com.cn","date":"2019-06-28 06:43:57.000000000","tz":480},"committer":{"name":"chenke","email":"chen.ke14@zte.com.cn","date":"2019-06-28 06:58:29.000000000","tz":480},"subject":"Reduce the query time of the instances when call get_instance_list()","message":"Reduce the query time of the instances when call get_instance_list()\n\nChange-Id: I797ad934a0f8496dbcbf65798e28b0443f238137\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/watcher/commit/322598e61f92f20cc407cc00619835c9bdc30c5f"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/watcher/commit/322598e61f92f20cc407cc00619835c9bdc30c5f"}]},"branch":"refs/heads/master"},"6332fb01835e092c5de5a030b4c605468200ed30":{"kind":"REWORK","_number":2,"created":"2019-06-29 02:47:00.000000000","uploader":{"_account_id":28748,"name":"chenker","email":"chen.ke14@zte.com.cn","username":"chenke"},"ref":"refs/changes/00/668100/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/watcher","ref":"refs/changes/00/668100/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/watcher refs/changes/00/668100/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/watcher refs/changes/00/668100/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/watcher refs/changes/00/668100/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/watcher refs/changes/00/668100/2"}}},"commit":{"parents":[{"commit":"1b41d92b9effd17498597383913832db2d2b496b","subject":"Merge \"Add uWSGI support\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/watcher/commit/1b41d92b9effd17498597383913832db2d2b496b"}]}],"author":{"name":"chenke","email":"chen.ke14@zte.com.cn","date":"2019-06-28 06:43:57.000000000","tz":480},"committer":{"name":"chenke","email":"chen.ke14@zte.com.cn","date":"2019-06-29 02:38:21.000000000","tz":480},"subject":"Reduce the query time of the instances when call get_instance_list()","message":"Reduce the query time of the instances when call get_instance_list()\n\nThe problem is that watcher is passing limit\u003d-1 to novaclient when\nlisting servers which will always make at least two API calls to be\nsure it\u0027s done paging:\n\nhttps://github.com/openstack/python-novaclient/blob/13.0.1/novaclient/v2/servers.py#L896\n\nIf we can determine before we list servers that there are only a\ncertain number - 4 in this example - we should just pass the\nlimit\u003dlen(servers) to novaclient and avoid the second call for\npaging which takes extra time and yields no results.\n\nChange-Id: I797ad934a0f8496dbcbf65798e28b0443f238137\nCloses-Bug: #1833665\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/watcher/commit/6332fb01835e092c5de5a030b4c605468200ed30"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/watcher/commit/6332fb01835e092c5de5a030b4c605468200ed30"}]},"branch":"refs/heads/master"},"aa7eee55d38045dc2499cc3b4f0f0099fdf36f3c":{"kind":"REWORK","_number":3,"created":"2019-07-01 13:14:00.000000000","uploader":{"_account_id":28748,"name":"chenker","email":"chen.ke14@zte.com.cn","username":"chenke"},"ref":"refs/changes/00/668100/3","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/watcher","ref":"refs/changes/00/668100/3","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/watcher refs/changes/00/668100/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/watcher refs/changes/00/668100/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/watcher refs/changes/00/668100/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/watcher refs/changes/00/668100/3"}}},"commit":{"parents":[{"commit":"1b41d92b9effd17498597383913832db2d2b496b","subject":"Merge \"Add uWSGI support\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/watcher/commit/1b41d92b9effd17498597383913832db2d2b496b"}]}],"author":{"name":"chenke","email":"chen.ke14@zte.com.cn","date":"2019-06-28 06:43:57.000000000","tz":480},"committer":{"name":"chenke","email":"chen.ke14@zte.com.cn","date":"2019-07-01 13:13:05.000000000","tz":480},"subject":"Reduce the query time of the instances when call get_instance_list()","message":"Reduce the query time of the instances when call get_instance_list()\n\nThe problem is that watcher is passing limit\u003d-1 to novaclient when\nlisting servers which will always make at least two API calls to be\nsure it\u0027s done paging:\n\nhttps://github.com/openstack/python-novaclient/blob/13.0.1/novaclient/v2/servers.py#L896\n\nIf we can determine before we list servers that there are only a\ncertain number - 4 in this example - we should just pass the\nlimit\u003dlen(servers) to novaclient and avoid the second call for\npaging which takes extra time and yields no results.\n\nChange-Id: I797ad934a0f8496dbcbf65798e28b0443f238137\nCloses-Bug: #1833665\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/watcher/commit/aa7eee55d38045dc2499cc3b4f0f0099fdf36f3c"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/watcher/commit/aa7eee55d38045dc2499cc3b4f0f0099fdf36f3c"}]},"branch":"refs/heads/master"},"1f3420ff05daf6c165f1acca0d0da7c1750c3010":{"kind":"REWORK","_number":4,"created":"2019-07-04 02:46:30.000000000","uploader":{"_account_id":28748,"name":"chenker","email":"chen.ke14@zte.com.cn","username":"chenke"},"ref":"refs/changes/00/668100/4","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/watcher","ref":"refs/changes/00/668100/4","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/watcher refs/changes/00/668100/4 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/watcher refs/changes/00/668100/4 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/watcher refs/changes/00/668100/4 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/watcher refs/changes/00/668100/4"}}},"commit":{"parents":[{"commit":"1b41d92b9effd17498597383913832db2d2b496b","subject":"Merge \"Add uWSGI support\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/watcher/commit/1b41d92b9effd17498597383913832db2d2b496b"}]}],"author":{"name":"chenke","email":"chen.ke14@zte.com.cn","date":"2019-06-28 06:43:57.000000000","tz":480},"committer":{"name":"chenke","email":"chen.ke14@zte.com.cn","date":"2019-07-04 02:45:43.000000000","tz":480},"subject":"Reduce the query time of the instances when call get_instance_list()","message":"Reduce the query time of the instances when call get_instance_list()\n\nThe problem is that watcher is passing limit\u003d-1 to novaclient when\nlisting servers which will always make at least two API calls to be\nsure it\u0027s done paging:\n\nhttps://github.com/openstack/python-novaclient/blob/13.0.1/novaclient/v2/servers.py#L896\n\nIf we can determine before we list servers that there are only a\ncertain number where the number of servers is less than 1000. For\nexample: 4, we should just pass the limit\u003dlen(servers) to novaclient\nand avoid the second call for paging which takes extra time and\nyields no results.\n\nChange-Id: I797ad934a0f8496dbcbf65798e28b0443f238137\nCloses-Bug: #1834679\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/watcher/commit/1f3420ff05daf6c165f1acca0d0da7c1750c3010"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/watcher/commit/1f3420ff05daf6c165f1acca0d0da7c1750c3010"}]},"branch":"refs/heads/master"},"415a4268b3039f2062d7b2a3c1972543d4bfa8b1":{"kind":"REWORK","_number":5,"created":"2019-07-04 05:08:02.000000000","uploader":{"_account_id":28748,"name":"chenker","email":"chen.ke14@zte.com.cn","username":"chenke"},"ref":"refs/changes/00/668100/5","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/watcher","ref":"refs/changes/00/668100/5","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/watcher refs/changes/00/668100/5 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/watcher refs/changes/00/668100/5 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/watcher refs/changes/00/668100/5 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/watcher refs/changes/00/668100/5"}}},"commit":{"parents":[{"commit":"1b41d92b9effd17498597383913832db2d2b496b","subject":"Merge \"Add uWSGI support\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/watcher/commit/1b41d92b9effd17498597383913832db2d2b496b"}]}],"author":{"name":"chenke","email":"chen.ke14@zte.com.cn","date":"2019-06-28 06:43:57.000000000","tz":480},"committer":{"name":"chenke","email":"chen.ke14@zte.com.cn","date":"2019-07-04 05:07:29.000000000","tz":480},"subject":"Reduce the query time of the instances when call get_instance_list()","message":"Reduce the query time of the instances when call get_instance_list()\n\nThe problem is that watcher is passing limit\u003d-1 to novaclient when\nlisting servers which will always make at least two API calls to be\nsure it\u0027s done paging:\n\nhttps://github.com/openstack/python-novaclient/blob/13.0.1/novaclient/v2/servers.py#L896\n\nIf we can determine before we list servers that there are only a\ncertain number where the number of servers is less than 1000. For\nexample: 4, we should just pass the limit\u003dlen(servers) to novaclient\nand avoid the second call for paging which takes extra time and\nyields no results.\n\nChange-Id: I797ad934a0f8496dbcbf65798e28b0443f238137\nCloses-Bug: #1834679\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/watcher/commit/415a4268b3039f2062d7b2a3c1972543d4bfa8b1"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/watcher/commit/415a4268b3039f2062d7b2a3c1972543d4bfa8b1"}]},"branch":"refs/heads/master"},"1e8b17ac46a9052234c9f56da42a2a4bb8250216":{"kind":"REWORK","_number":6,"created":"2019-07-08 01:59:43.000000000","uploader":{"_account_id":28748,"name":"chenker","email":"chen.ke14@zte.com.cn","username":"chenke"},"ref":"refs/changes/00/668100/6","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/watcher","ref":"refs/changes/00/668100/6","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/watcher refs/changes/00/668100/6 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/watcher refs/changes/00/668100/6 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/watcher refs/changes/00/668100/6 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/watcher refs/changes/00/668100/6"}}},"commit":{"parents":[{"commit":"1b41d92b9effd17498597383913832db2d2b496b","subject":"Merge \"Add uWSGI support\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/watcher/commit/1b41d92b9effd17498597383913832db2d2b496b"}]}],"author":{"name":"chenke","email":"chen.ke14@zte.com.cn","date":"2019-06-28 06:43:57.000000000","tz":480},"committer":{"name":"chenke","email":"chen.ke14@zte.com.cn","date":"2019-07-08 01:58:01.000000000","tz":480},"subject":"Reduce the query time of the instances when call get_instance_list()","message":"Reduce the query time of the instances when call get_instance_list()\n\nThe problem is that watcher is passing limit\u003d-1 to novaclient when\nlisting servers which will always make at least two API calls to be\nsure it\u0027s done paging:\n\nhttps://github.com/openstack/python-novaclient/blob/13.0.1/novaclient/v2/servers.py#L896\n\nIf we can determine before we list servers that there are only a\ncertain number where the number of servers is less than 1000. For\nexample: 4, we should just pass the limit\u003dlen(servers) to novaclient\nand avoid the second call for paging which takes extra time and\nyields no results.\n\nChange-Id: I797ad934a0f8496dbcbf65798e28b0443f238137\nCloses-Bug: #1834679\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/watcher/commit/1e8b17ac46a9052234c9f56da42a2a4bb8250216"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/watcher/commit/1e8b17ac46a9052234c9f56da42a2a4bb8250216"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
