)]}'
{"id":"openstack%2Fmetalsmith~876672","triplet_id":"openstack%2Fmetalsmith~stable%2Fxena~Ic4cef61e338fb57bea5de4f96eb3584386cc5152","project":"openstack/metalsmith","branch":"stable/xena","topic":"story/2010571-stable/zed-stable/xena","attention_set":{},"removed_from_attention_set":{"24245":{"account":{"_account_id":24245,"name":"Harald Jensås","email":"hjensas@redhat.com","username":"harald.jensas"},"last_update":"2023-03-09 18:51:06.000000000","reason":"Change was submitted"}},"hashtags":[],"change_id":"Ic4cef61e338fb57bea5de4f96eb3584386cc5152","subject":"list_instances - cache allocations","status":"MERGED","created":"2023-03-07 09:06:20.000000000","updated":"2023-03-09 18:52:09.000000000","submitted":"2023-03-09 18:51:06.000000000","submitter":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"submission_id":"876672-story/2010571-stable/zed-stable/xena","cherry_pick_of_change":873589,"cherry_pick_of_patch_set":1,"meta_rev_id":"d7f51f153e8a056ce0af65cd7cd7d438a9860645","_number":876672,"virtual_id_number":876672,"owner":{"_account_id":24245,"name":"Harald Jensås","email":"hjensas@redhat.com","username":"harald.jensas"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"all":[{"value":0,"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},{"value":0,"_account_id":4571,"name":"Steve Baker","email":"sbaker@redhat.com","username":"steve-stevebaker"},{"tag":"autogenerated:zuul:gate","value":2,"date":"2023-03-09 18:51:06.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":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"all":[{"value":2,"date":"2023-03-07 14:18:42.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},{"value":2,"date":"2023-03-09 04:19:40.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":4571,"name":"Steve Baker","email":"sbaker@redhat.com","username":"steve-stevebaker"},{"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":"","default_value":0,"optional":true},"Workflow":{"approved":{"_account_id":4571,"name":"Steve Baker","email":"sbaker@redhat.com","username":"steve-stevebaker"},"all":[{"value":0,"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},{"value":1,"date":"2023-03-09 04:19:40.000000000","permitted_voting_range":{"min":1,"max":1},"_account_id":4571,"name":"Steve Baker","email":"sbaker@redhat.com","username":"steve-stevebaker"},{"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},"Backport-Candidate":{"all":[{"value":0,"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},{"value":0,"_account_id":4571,"name":"Steve Baker","email":"sbaker@redhat.com","username":"steve-stevebaker"},{"value":0,"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"values":{"-1":"Do Not Backport"," 0":"Backport Review Needed","+1":"Should Backport"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":4571,"name":"Steve Baker","email":"sbaker@redhat.com","username":"steve-stevebaker"},{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2023-03-07 10:57:10.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"},{"updated":"2023-03-07 14:18:42.000000000","updated_by":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"reviewer":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"state":"REVIEWER"},{"updated":"2023-03-09 04:19:40.000000000","updated_by":{"_account_id":4571,"name":"Steve Baker","email":"sbaker@redhat.com","username":"steve-stevebaker"},"reviewer":{"_account_id":4571,"name":"Steve Baker","email":"sbaker@redhat.com","username":"steve-stevebaker"},"state":"REVIEWER"}],"messages":[{"id":"4e9494d691e2cc200823fc4230f68187c29c9a8b","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":24245,"name":"Harald Jensås","email":"hjensas@redhat.com","username":"harald.jensas"},"date":"2023-03-07 09:06:20.000000000","message":"Patch Set 1: Cherry Picked from branch stable/zed.","accounts_in_message":[],"_revision_number":1},{"id":"a43eac4c99d8f70b684eab0030978d2d816b0a7a","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2023-03-07 10:57:10.000000000","message":"Patch Set 1: Verified+1\n\nBuild succeeded (check pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/679ea0194ba54bcb834dfd0b6fb1a5e6\n\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/e8af12f25d954a3ab3b397dcb4a1a8c9 : SUCCESS in 2m 18s\n- openstack-tox-py36 https://zuul.opendev.org/t/openstack/build/336d170f1ca94abb92bf5702b5593820 : SUCCESS in 5m 24s\n- openstack-tox-py38 https://zuul.opendev.org/t/openstack/build/d0263b8a6c534e03bab0ed0a4047fa28 : SUCCESS in 3m 23s\n- openstack-tox-py39 https://zuul.opendev.org/t/openstack/build/ae1e3f902bbc4d988d16eb89899972ba : SUCCESS in 3m 33s (non-voting)\n- openstack-tox-cover https://zuul.opendev.org/t/openstack/build/e69dca5bda344f42bf1704ea0722b470 : SUCCESS in 3m 35s\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/ce16d8ba5654423db5c4882362b30a6f : SUCCESS in 6m 10s\n- metalsmith-integration-glance-localboot-centos8-uefi https://zuul.opendev.org/t/openstack/build/67c244d8a6804c5da279bdffcbbe0d5e : SUCCESS in 1h 40m 09s\n- metalsmith-integration-glance-netboot-cirros https://zuul.opendev.org/t/openstack/build/3a27d23078f946ebb4430b176775cf9d : SUCCESS in 1h 05m 57s\n- metalsmith-integration-http-netboot-cirros https://zuul.opendev.org/t/openstack/build/8c94dc36aae44de285521ad0c6e4c143 : SUCCESS in 59m 40s\n- openstack-tox-linters https://zuul.opendev.org/t/openstack/build/c3cefc294ff444c88c6be3f104aeb8ff : SUCCESS in 5m 42s","accounts_in_message":[],"_revision_number":1},{"id":"6c7b1bb5a059aec4df5b9661ffcdf0af805c1da5","author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"date":"2023-03-07 14:18:42.000000000","message":"Patch Set 1: Code-Review+2","accounts_in_message":[],"_revision_number":1},{"id":"b1b24fb9599c827780cb57c441f2e2abcd649069","author":{"_account_id":4571,"name":"Steve Baker","email":"sbaker@redhat.com","username":"steve-stevebaker"},"date":"2023-03-09 04:19:40.000000000","message":"Patch Set 1: Code-Review+2 Workflow+1","accounts_in_message":[],"_revision_number":1},{"id":"3327bfe1af97d6fccc88cc075392f6ea1fe9b601","tag":"autogenerated:zuul:gate","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2023-03-09 04:20:05.000000000","message":"Patch Set 1: -Verified\n\nStarting gate jobs.","accounts_in_message":[],"_revision_number":1},{"id":"9707e18e8c98c4c4bc38ed59a2718f104460a62b","tag":"autogenerated:zuul:gate","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2023-03-09 06:06:53.000000000","message":"Patch Set 1: Verified+2\n\nBuild succeeded (gate pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/be6bd004db3b4289bceebfa7cfcf1cf4\n\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/5f531511f1fb491eba7176fc26fc7b3c : SUCCESS in 3m 24s\n- openstack-tox-py36 https://zuul.opendev.org/t/openstack/build/0976a16039904294a55f9dc29fda72e6 : SUCCESS in 5m 22s\n- openstack-tox-py38 https://zuul.opendev.org/t/openstack/build/982dd6f325444f57af0b4a60a38bd2c4 : SUCCESS in 4m 07s\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/18cd2c7c73c945f18cf43f862674d9d6 : SUCCESS in 7m 31s\n- metalsmith-integration-glance-localboot-centos8-uefi https://zuul.opendev.org/t/openstack/build/b223c597b16046fcacbcc9bdda04fef4 : SUCCESS in 1h 42m 08s\n- metalsmith-integration-glance-netboot-cirros https://zuul.opendev.org/t/openstack/build/4eb90cbb31be40f5b04271b3ac14fb7d : SUCCESS in 52m 25s\n- metalsmith-integration-http-netboot-cirros https://zuul.opendev.org/t/openstack/build/14182712c77b44ada8adf4681a3c4291 : SUCCESS in 1h 00m 31s\n- openstack-tox-linters https://zuul.opendev.org/t/openstack/build/5254d2309b0e436a8952d7327428c564 : SUCCESS in 5m 39s","accounts_in_message":[],"_revision_number":1},{"id":"eff6ff5c770c7ffaca1ed1f83530c5ad71a0adda","tag":"autogenerated:zuul:gate","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2023-03-09 17:08:48.000000000","message":"Patch Set 1: -Verified\n\nStarting gate jobs.","accounts_in_message":[],"_revision_number":1},{"id":"d4bf755b4ac35e60e8c618f24fe07ec5380772ab","tag":"autogenerated:zuul:gate","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2023-03-09 18:51:06.000000000","message":"Patch Set 1: Verified+2\n\nBuild succeeded (gate pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/a03bf37df182412c9a694b97e4670225\n\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/35bd7a1eb0b74428b69689d45f9db50d : SUCCESS in 2m 39s\n- openstack-tox-py36 https://zuul.opendev.org/t/openstack/build/269fe0cdad6f46ec832ed2ce4b799298 : SUCCESS in 5m 37s\n- openstack-tox-py38 https://zuul.opendev.org/t/openstack/build/4697ea8e7fdf40668069592a9a1e10c0 : SUCCESS in 3m 25s\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/56a5200d2b0641f49f6660ecc94c23ca : SUCCESS in 6m 09s\n- metalsmith-integration-glance-localboot-centos8-uefi https://zuul.opendev.org/t/openstack/build/6fbe315603c145f2b8870648b6e94b29 : SUCCESS in 1h 23m 09s\n- metalsmith-integration-glance-netboot-cirros https://zuul.opendev.org/t/openstack/build/dfb94ea8846a4c6abb0844e021b18a7b : SUCCESS in 51m 35s\n- metalsmith-integration-http-netboot-cirros https://zuul.opendev.org/t/openstack/build/ca8851b9bc3f4f7db2be369d75227a82 : SUCCESS in 1h 03m 19s\n- openstack-tox-linters https://zuul.opendev.org/t/openstack/build/cdae1ceeecf941daa159d49ee3ac6ebf : SUCCESS in 4m 37s","accounts_in_message":[],"_revision_number":1},{"id":"b9f4485d8a3c7510eb05a013fb3cc593f7d6f993","tag":"autogenerated:gerrit:merged","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2023-03-09 18:51:06.000000000","message":"Change has been successfully merged","accounts_in_message":[],"_revision_number":1},{"id":"d7f51f153e8a056ce0af65cd7cd7d438a9860645","tag":"autogenerated:zuul:promote","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2023-03-09 18:52:09.000000000","message":"Patch Set 1:\n\nBuild succeeded (promote pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/fe81cf75ce324071a57ec091b344ba82\n\n- promote-openstack-tox-docs https://zuul.opendev.org/t/openstack/build/8056562a817745909a5d15461f84c060 : SUCCESS in 45s","accounts_in_message":[],"_revision_number":1}],"current_revision_number":1,"current_revision":"7e88d25d0345a832c543f1adf36b00dd7c4139cd","revisions":{"7e88d25d0345a832c543f1adf36b00dd7c4139cd":{"kind":"REWORK","_number":1,"created":"2023-03-07 09:06:20.000000000","uploader":{"_account_id":24245,"name":"Harald Jensås","email":"hjensas@redhat.com","username":"harald.jensas"},"ref":"refs/changes/72/876672/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/metalsmith","ref":"refs/changes/72/876672/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/metalsmith refs/changes/72/876672/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/metalsmith refs/changes/72/876672/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/metalsmith refs/changes/72/876672/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/metalsmith refs/changes/72/876672/1"}}},"commit":{"parents":[{"commit":"1b49e8ec1de9996886d3b3ab1c44f20e69f6a775","subject":"Use a network cache in Instance","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/metalsmith/commit/1b49e8ec1de9996886d3b3ab1c44f20e69f6a775"}]}],"author":{"name":"Harald Jensås","email":"hjensas@redhat.com","date":"2023-02-08 00:34:10.000000000","tz":60},"committer":{"name":"Harald Jensås","email":"hjensas@redhat.com","date":"2023-03-07 09:06:20.000000000","tz":0},"subject":"list_instances - cache allocations","message":"list_instances - cache allocations\n\nWhen listing instances fetch all allocations to a cache,\nfetch each nodes allocation from the cache. This is\nsignificantly faster than calling get_allocation for each\nnode.\n\ntime metealsmith list # 250 nodes:\n  real 0m54.970s vs real 1m45.048s without \"cached\".\n\nStory: 2010571\nTask: 47318\nChange-Id: Ic4cef61e338fb57bea5de4f96eb3584386cc5152\n(cherry picked from commit 364fa239165702d5cedc134666046aa9de1a595b)\n(cherry picked from commit 392593dd7707f7d7b90c2a96c14f7eb984d1d0d4)\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/metalsmith/commit/7e88d25d0345a832c543f1adf36b00dd7c4139cd"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/metalsmith/commit/7e88d25d0345a832c543f1adf36b00dd7c4139cd"}]},"branch":"refs/heads/stable/xena"}},"requirements":[],"submit_records":[{"rule_name":"gerrit~DefaultSubmitRule","status":"CLOSED","labels":[{"label":"Verified","status":"MAY","applied_by":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}},{"label":"Code-Review","status":"MAY","applied_by":{"_account_id":4571,"name":"Steve Baker","email":"sbaker@redhat.com","username":"steve-stevebaker"}},{"label":"Workflow","status":"MAY","applied_by":{"_account_id":4571,"name":"Steve Baker","email":"sbaker@redhat.com","username":"steve-stevebaker"}}]}],"submit_requirements":[{"name":"Verified","description":"Verified in gate by CI","status":"SATISFIED","is_legacy":false,"submittability_expression_result":{"expression":"label:Verified\u003dMAX AND -label:Verified\u003dMIN","fulfilled":true,"status":"PASS","passing_atoms":["label:Verified\u003dMAX"],"failing_atoms":["label:Verified\u003dMIN"],"atom_explanations":{}}},{"name":"Code-Review","description":"Code reviewed by core reviewer","status":"SATISFIED","is_legacy":false,"submittability_expression_result":{"expression":"label:Code-Review\u003dMAX AND -label:Code-Review\u003dMIN","fulfilled":true,"status":"PASS","passing_atoms":["label:Code-Review\u003dMAX"],"failing_atoms":["label:Code-Review\u003dMIN"],"atom_explanations":{}}},{"name":"Workflow","description":"Approved for gate by core reviewer","status":"SATISFIED","is_legacy":false,"submittability_expression_result":{"expression":"label:Workflow\u003dMAX AND -label:Workflow\u003dMIN","fulfilled":true,"status":"PASS","passing_atoms":["label:Workflow\u003dMAX"],"failing_atoms":["label:Workflow\u003dMIN"],"atom_explanations":{}}}]}
