)]}'
{"id":"openstack%2Fpython-openstackclient~639652","triplet_id":"openstack%2Fpython-openstackclient~master~I1b639fe386b7b7db3223f6965495094b9d51533a","project":"openstack/python-openstackclient","branch":"master","topic":"usage-list-marker","hashtags":[],"change_id":"I1b639fe386b7b7db3223f6965495094b9d51533a","subject":"Paginate over usage list to return all usages","status":"MERGED","created":"2019-02-27 12:47:46.000000000","updated":"2019-09-09 15:32:56.000000000","submitted":"2019-03-06 19:37:36.000000000","submitter":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"total_comment_count":1,"unresolved_comment_count":0,"has_review_started":true,"submission_id":"639652-1551901056367-98014b58","meta_rev_id":"506c5ee480ff1450dd211da2e0e7374d5130372e","_number":639652,"virtual_id_number":639652,"owner":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"all":[{"value":2,"date":"2019-03-06 19:37:36.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"value":0,"_account_id":970,"name":"Dean Troyer","email":"dtroyer@gmail.com","username":"dtroyer"},{"value":0,"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"}],"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":970,"name":"Dean Troyer","email":"dtroyer@gmail.com","username":"dtroyer"},"all":[{"value":0,"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"value":2,"date":"2019-03-05 23:23:55.000000000","_account_id":970,"name":"Dean Troyer","email":"dtroyer@gmail.com","username":"dtroyer"},{"value":0,"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"}],"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":"","default_value":0,"optional":true},"Workflow":{"approved":{"_account_id":970,"name":"Dean Troyer","email":"dtroyer@gmail.com","username":"dtroyer"},"all":[{"value":0,"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"value":1,"date":"2019-03-06 17:55:43.000000000","_account_id":970,"name":"Dean Troyer","email":"dtroyer@gmail.com","username":"dtroyer"},{"value":0,"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":970,"name":"Dean Troyer","email":"dtroyer@gmail.com","username":"dtroyer"},{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2019-03-06 17:55:43.000000000","updated_by":{"_account_id":970,"name":"Dean Troyer","email":"dtroyer@gmail.com","username":"dtroyer"},"reviewer":{"_account_id":970,"name":"Dean Troyer","email":"dtroyer@gmail.com","username":"dtroyer"},"state":"REVIEWER"},{"updated":"2019-03-06 19:37:36.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":"f2ac39d16320815bbeaa1f14d7dc40519e9f8217","author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"date":"2019-02-27 12:47:46.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"c12120a5af8f8d1e5f44d7ddd26f8d85f4b75aab","author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"date":"2019-02-27 12:48:07.000000000","message":"Patch Set 1: Workflow-1\n\ntests needed","accounts_in_message":[],"_revision_number":1},{"id":"7d79faa0e051bd45a33039a4dcd029a60c640d67","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2019-02-27 14:28:08.000000000","message":"Patch Set 1: 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- openstackclient-check-plugins http://logs.openstack.org/52/639652/1/check/openstackclient-check-plugins/ea72794/ : SUCCESS in 7m 37s (non-voting)\n- osc-tox-py27-tips http://logs.openstack.org/52/639652/1/check/osc-tox-py27-tips/439a84c/ : SUCCESS in 6m 15s\n- osc-tox-py35-tips http://logs.openstack.org/52/639652/1/check/osc-tox-py35-tips/950dc23/ : SUCCESS in 6m 43s\n- openstack-tox-cover http://logs.openstack.org/52/639652/1/check/openstack-tox-cover/fd3557b/cover/ : SUCCESS in 5m 59s\n- openstack-tox-lower-constraints http://logs.openstack.org/52/639652/1/check/openstack-tox-lower-constraints/9ad286b/ : SUCCESS in 6m 04s\n- openstack-tox-pep8 http://logs.openstack.org/52/639652/1/check/openstack-tox-pep8/c74af87/ : SUCCESS in 5m 37s\n- openstack-tox-py27 http://logs.openstack.org/52/639652/1/check/openstack-tox-py27/83a3f1b/ : SUCCESS in 5m 34s\n- openstack-tox-py35 http://logs.openstack.org/52/639652/1/check/openstack-tox-py35/712138b/ : SUCCESS in 5m 37s\n- openstack-tox-py36 http://logs.openstack.org/52/639652/1/check/openstack-tox-py36/511645d/ : SUCCESS in 5m 33s\n- openstack-tox-docs http://logs.openstack.org/52/639652/1/check/openstack-tox-docs/1983708/html/ : SUCCESS in 6m 04s\n- tempest-full http://logs.openstack.org/52/639652/1/check/tempest-full/bc1d493/ : SUCCESS in 1h 38m 08s\n- tempest-full-py3 http://logs.openstack.org/52/639652/1/check/tempest-full-py3/b97110d/ : FAILURE in 1h 24m 15s\n- osc-functional-devstack http://logs.openstack.org/52/639652/1/check/osc-functional-devstack/554aeef/ : SUCCESS in 44m 15s\n- osc-functional-devstack-tips http://logs.openstack.org/52/639652/1/check/osc-functional-devstack-tips/2481c04/ : SUCCESS in 48m 21s","accounts_in_message":[],"_revision_number":1},{"id":"6101a272945d5677f27d51734d94ecb6324bea82","author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"date":"2019-02-28 18:40:37.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"288fdb74704011dfefaeabf5334f99e248fbb5ef","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2019-02-28 20:37:48.000000000","message":"Patch Set 2: Verified+1\n\nBuild succeeded (check pipeline).\n\n- openstackclient-check-plugins http://logs.openstack.org/52/639652/2/check/openstackclient-check-plugins/3bf75ca/ : SUCCESS in 7m 10s (non-voting)\n- osc-tox-py27-tips http://logs.openstack.org/52/639652/2/check/osc-tox-py27-tips/349d80f/ : SUCCESS in 8m 20s\n- osc-tox-py35-tips http://logs.openstack.org/52/639652/2/check/osc-tox-py35-tips/a727cba/ : SUCCESS in 7m 04s\n- openstack-tox-cover http://logs.openstack.org/52/639652/2/check/openstack-tox-cover/b1f4d15/cover/ : SUCCESS in 6m 10s\n- openstack-tox-lower-constraints http://logs.openstack.org/52/639652/2/check/openstack-tox-lower-constraints/87c67f4/ : SUCCESS in 8m 15s\n- openstack-tox-pep8 http://logs.openstack.org/52/639652/2/check/openstack-tox-pep8/0482e82/ : SUCCESS in 6m 06s\n- openstack-tox-py27 http://logs.openstack.org/52/639652/2/check/openstack-tox-py27/a279165/ : SUCCESS in 8m 32s\n- openstack-tox-py35 http://logs.openstack.org/52/639652/2/check/openstack-tox-py35/1dd8236/ : SUCCESS in 5m 49s\n- openstack-tox-py36 http://logs.openstack.org/52/639652/2/check/openstack-tox-py36/583e3bc/ : SUCCESS in 5m 30s\n- openstack-tox-py37 http://logs.openstack.org/52/639652/2/check/openstack-tox-py37/983b359/ : SUCCESS in 5m 43s\n- openstack-tox-docs http://logs.openstack.org/52/639652/2/check/openstack-tox-docs/6d26eea/html/ : SUCCESS in 5m 47s\n- tempest-full http://logs.openstack.org/52/639652/2/check/tempest-full/e5bebdd/ : SUCCESS in 1h 51m 23s\n- tempest-full-py3 http://logs.openstack.org/52/639652/2/check/tempest-full-py3/3f583ca/ : SUCCESS in 1h 45m 30s\n- osc-functional-devstack http://logs.openstack.org/52/639652/2/check/osc-functional-devstack/78794f3/ : SUCCESS in 42m 58s\n- osc-functional-devstack-tips http://logs.openstack.org/52/639652/2/check/osc-functional-devstack-tips/5a67471/ : SUCCESS in 58m 12s","accounts_in_message":[],"_revision_number":2},{"id":"2cbec5e7adcc22d3d07584847164570591f17cd5","author":{"_account_id":970,"name":"Dean Troyer","email":"dtroyer@gmail.com","username":"dtroyer"},"date":"2019-03-05 23:23:55.000000000","message":"Patch Set 2: Code-Review+2","accounts_in_message":[],"_revision_number":2},{"id":"35cb0e2e1c76f44c8d3e9d0314b29a73356bba3e","author":{"_account_id":970,"name":"Dean Troyer","email":"dtroyer@gmail.com","username":"dtroyer"},"date":"2019-03-06 17:55:43.000000000","message":"Patch Set 2: Workflow+1","accounts_in_message":[],"_revision_number":2},{"id":"c1d98a416414e25796396dfca3e035c97695f792","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2019-03-06 17:55:56.000000000","message":"Patch Set 2: -Verified\n\nStarting gate jobs.","accounts_in_message":[],"_revision_number":2},{"id":"0333d48eae7d8f6b7f07fb5f41e5db1608faba58","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2019-03-06 19:37:36.000000000","message":"Change has been successfully merged by Zuul","accounts_in_message":[],"_revision_number":2},{"id":"7aae77efa0cacb9c4afd7ebc0d9295881d6e36b8","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2019-03-06 19:37:36.000000000","message":"Patch Set 2: Verified+2\n\nBuild succeeded (gate pipeline).\n\n- osc-tox-py27-tips http://logs.openstack.org/52/639652/2/gate/osc-tox-py27-tips/6151a37/ : SUCCESS in 6m 13s\n- osc-tox-py35-tips http://logs.openstack.org/52/639652/2/gate/osc-tox-py35-tips/5b9f432/ : SUCCESS in 6m 16s\n- openstack-tox-lower-constraints http://logs.openstack.org/52/639652/2/gate/openstack-tox-lower-constraints/a5e0f68/ : SUCCESS in 6m 23s\n- openstack-tox-pep8 http://logs.openstack.org/52/639652/2/gate/openstack-tox-pep8/7cb24dc/ : SUCCESS in 6m 31s\n- openstack-tox-py27 http://logs.openstack.org/52/639652/2/gate/openstack-tox-py27/ac85cfc/ : SUCCESS in 6m 16s\n- openstack-tox-py35 http://logs.openstack.org/52/639652/2/gate/openstack-tox-py35/2823adb/ : SUCCESS in 6m 08s\n- openstack-tox-py36 http://logs.openstack.org/52/639652/2/gate/openstack-tox-py36/145728b/ : SUCCESS in 5m 48s\n- openstack-tox-py37 http://logs.openstack.org/52/639652/2/gate/openstack-tox-py37/ae58860/ : SUCCESS in 6m 22s\n- openstack-tox-docs http://logs.openstack.org/52/639652/2/gate/openstack-tox-docs/03e9ea9/html/ : SUCCESS in 6m 08s\n- tempest-full http://logs.openstack.org/52/639652/2/gate/tempest-full/a72ae20/ : SUCCESS in 1h 39m 00s\n- tempest-full-py3 http://logs.openstack.org/52/639652/2/gate/tempest-full-py3/32a069a/ : SUCCESS in 1h 35m 25s\n- osc-functional-devstack http://logs.openstack.org/52/639652/2/gate/osc-functional-devstack/d0faf70/ : SUCCESS in 39m 48s","accounts_in_message":[],"_revision_number":2},{"id":"90af5ef7ae7e98f613ae2f1113c15419ed0a875a","author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"date":"2019-09-09 13:36:24.000000000","message":"Patch Set 2:\n\n(1 comment)","accounts_in_message":[],"_revision_number":2},{"id":"167203b879b0090cb6545a3f574686a9bb63c923","author":{"_account_id":970,"name":"Dean Troyer","email":"dtroyer@gmail.com","username":"dtroyer"},"date":"2019-09-09 15:32:56.000000000","message":"Patch Set 2:\n\nI\u0027ve added a doc update and release note for this in https://review.opendev.org/681049","accounts_in_message":[],"_revision_number":2}],"current_revision_number":2,"current_revision":"c79de8a90bc1f1149b8302052580e5a76876724c","revisions":{"804c669102b43a4706d03ff20f42efb311c3553f":{"kind":"REWORK","_number":1,"created":"2019-02-27 12:47:46.000000000","uploader":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"ref":"refs/changes/52/639652/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-openstackclient","ref":"refs/changes/52/639652/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-openstackclient refs/changes/52/639652/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-openstackclient refs/changes/52/639652/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-openstackclient refs/changes/52/639652/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-openstackclient refs/changes/52/639652/1"}}},"commit":{"parents":[{"commit":"55cbbbe4692002e58120b0c129eb2add4f0bc18a","subject":"Fix help message of image add project","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-openstackclient/commit/55cbbbe4692002e58120b0c129eb2add4f0bc18a"}]}],"author":{"name":"Pavlo Shchelokovskyy","email":"shchelokovskyy@gmail.com","date":"2019-02-27 12:21:08.000000000","tz":120},"committer":{"name":"Pavlo Shchelokovskyy","email":"shchelokovskyy@gmail.com","date":"2019-02-27 12:47:30.000000000","tz":120},"subject":"Paginate over usage list to return all usages","message":"Paginate over usage list to return all usages\n\nsince nova api 2.40 the os-simple-tenant-usage API supports pagination\nand will by default return a number of entities configured internally in\nNova.\nThis means that when there are many enough projects,\nthe single call to usage.list() will not return usages for all projects.\n\nThis patch effectively copy-pastes the logic to paginate over usage list\nresults from novaclient/v2/shell.py code.\n\nChange-Id: I1b639fe386b7b7db3223f6965495094b9d51533a\nStory: #2005099\nTask: #29713\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-openstackclient/commit/804c669102b43a4706d03ff20f42efb311c3553f"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-openstackclient/commit/804c669102b43a4706d03ff20f42efb311c3553f"}]},"parents_data":[{"branch_name":"refs/heads/master","commit_id":"55cbbbe4692002e58120b0c129eb2add4f0bc18a","is_merged_in_target_branch":true,"change_id":"I2d11c07a256917d12c46a7c302c5a5e8752a1df0","change_number":637828,"patch_set_number":1,"change_status":"MERGED"}],"branch":"refs/heads/master"},"c79de8a90bc1f1149b8302052580e5a76876724c":{"kind":"REWORK","_number":2,"created":"2019-02-28 18:40:37.000000000","uploader":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"ref":"refs/changes/52/639652/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-openstackclient","ref":"refs/changes/52/639652/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-openstackclient refs/changes/52/639652/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-openstackclient refs/changes/52/639652/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-openstackclient refs/changes/52/639652/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-openstackclient refs/changes/52/639652/2"}}},"commit":{"parents":[{"commit":"55cbbbe4692002e58120b0c129eb2add4f0bc18a","subject":"Fix help message of image add project","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-openstackclient/commit/55cbbbe4692002e58120b0c129eb2add4f0bc18a"}]}],"author":{"name":"Pavlo Shchelokovskyy","email":"shchelokovskyy@gmail.com","date":"2019-02-27 12:21:08.000000000","tz":120},"committer":{"name":"Pavlo Shchelokovskyy","email":"shchelokovskyy@gmail.com","date":"2019-02-28 18:27:04.000000000","tz":120},"subject":"Paginate over usage list to return all usages","message":"Paginate over usage list to return all usages\n\nsince nova api 2.40 the os-simple-tenant-usage API supports pagination\nand will by default return a number of entities configured internally in\nNova.\nThis means that when there are many enough projects,\nthe single call to usage.list() will not return usages for all projects.\n\nThis patch effectively copy-pastes the logic to paginate over usage list\nresults from novaclient/v2/shell.py code.\n\nChange-Id: I1b639fe386b7b7db3223f6965495094b9d51533a\nStory: #2005099\nTask: #29713\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-openstackclient/commit/c79de8a90bc1f1149b8302052580e5a76876724c"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-openstackclient/commit/c79de8a90bc1f1149b8302052580e5a76876724c"}]},"parents_data":[{"branch_name":"refs/heads/master","commit_id":"55cbbbe4692002e58120b0c129eb2add4f0bc18a","is_merged_in_target_branch":true,"change_id":"I2d11c07a256917d12c46a7c302c5a5e8752a1df0","change_number":637828,"patch_set_number":1,"change_status":"MERGED"}],"branch":"refs/heads/master"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
