)]}'
{"id":"openstack%2Ftempest~949595","triplet_id":"openstack%2Ftempest~master~Iaa0740961db0c0b40e7f507af4a8e898a112c97c","project":"openstack/tempest","branch":"master","topic":"fix-location-apis","attention_set":{"27615":{"account":{"_account_id":27615,"name":"Rajat Dhasmana","email":"rajatdhasmana@gmail.com","username":"whoami-rajat"},"last_update":"2025-05-13 19:57:00.000000000","reason":"\u003cGERRIT_ACCOUNT_4523\u003e replied on the change","reason_account":{"_account_id":4523,"name":"Eric Harney","email":"eharney@redhat.com","username":"eharney"}}},"removed_from_attention_set":{"4523":{"account":{"_account_id":4523,"name":"Eric Harney","email":"eharney@redhat.com","username":"eharney"},"last_update":"2025-05-13 19:57:00.000000000","reason":"\u003cGERRIT_ACCOUNT_4523\u003e replied on the change","reason_account":{"_account_id":4523,"name":"Eric Harney","email":"eharney@redhat.com","username":"eharney"}}},"hashtags":[],"change_id":"Iaa0740961db0c0b40e7f507af4a8e898a112c97c","subject":"Add wait task for server image tests","status":"NEW","created":"2025-05-13 11:04:32.000000000","updated":"2025-05-19 15:33:03.000000000","submit_type":"MERGE_IF_NECESSARY","mergeable":true,"submittable":false,"total_comment_count":3,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"c878836fd9243e78bcd23ab463e98aef81665c24","_number":949595,"virtual_id_number":949595,"owner":{"_account_id":27615,"name":"Rajat Dhasmana","email":"rajatdhasmana@gmail.com","username":"whoami-rajat"},"actions":{},"labels":{"Verified":{"recommended":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"all":[{"tag":"autogenerated:zuul:check","value":1,"date":"2025-05-13 21:18:40.000000000","permitted_voting_range":{"min":-2,"max":2},"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},{"_account_id":4523,"name":"Eric Harney","email":"eharney@redhat.com","username":"eharney"}],"values":{"-2":"Fails","-1":"Doesn\u0027t seem to work"," 0":"No score","+1":"Works for me","+2":"Verified"},"description":"","value":1,"default_value":0,"optional":true},"Code-Review":{"disliked":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"all":[{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"value":-1,"date":"2025-05-19 15:33:03.000000000","permitted_voting_range":{"min":-1,"max":1},"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},{"value":-1,"date":"2025-05-13 19:57:00.000000000","permitted_voting_range":{"min":-1,"max":1},"_account_id":4523,"name":"Eric Harney","email":"eharney@redhat.com","username":"eharney"}],"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":{"all":[{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},{"_account_id":4523,"name":"Eric Harney","email":"eharney@redhat.com","username":"eharney"}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true},"Review-Priority":{"all":[{"value":0,"permitted_voting_range":{"min":0,"max":2},"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"value":0,"permitted_voting_range":{"min":0,"max":2},"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},{"value":0,"permitted_voting_range":{"min":0,"max":2},"_account_id":4523,"name":"Eric Harney","email":"eharney@redhat.com","username":"eharney"}],"values":{"-1":"Release Freeze"," 0":"No Priority","+1":"Important Change","+2":"Gate Blocker Fix / Urgent Change"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},{"_account_id":4523,"name":"Eric Harney","email":"eharney@redhat.com","username":"eharney"},{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2025-05-13 11:41:56.000000000","updated_by":{"_account_id":4523,"name":"Eric Harney","email":"eharney@redhat.com","username":"eharney"},"reviewer":{"_account_id":4523,"name":"Eric Harney","email":"eharney@redhat.com","username":"eharney"},"state":"REVIEWER"},{"updated":"2025-05-13 13:33:32.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":"2025-05-19 15:33:03.000000000","updated_by":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"reviewer":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"state":"REVIEWER"}],"messages":[{"id":"f53c1614b0a556d41ca487b17ef4bb157076fbdf","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":27615,"name":"Rajat Dhasmana","email":"rajatdhasmana@gmail.com","username":"whoami-rajat"},"date":"2025-05-13 11:04:32.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"691e2ad89ba7ae6b7eb4e4a579d03c0f0b498c95","author":{"_account_id":4523,"name":"Eric Harney","email":"eharney@redhat.com","username":"eharney"},"date":"2025-05-13 11:41:56.000000000","message":"Patch Set 1: Code-Review-1\n\n(1 comment)","accounts_in_message":[],"_revision_number":1},{"id":"5da874b79c89596a94d2e3ce6ebcfd48bf65bcfd","author":{"_account_id":27615,"name":"Rajat Dhasmana","email":"rajatdhasmana@gmail.com","username":"whoami-rajat"},"date":"2025-05-13 11:50:19.000000000","message":"Patch Set 1:\n\n(1 comment)","accounts_in_message":[],"_revision_number":1},{"id":"259b10e4112466c9cbf87735805685a8a82f6655","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2025-05-13 13:33:32.000000000","message":"Patch Set 1: Verified+1\n\nBuild succeeded (check pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/48d7490cce664af497fb705f561779b5\n\n- grenade https://zuul.opendev.org/t/openstack/build/249128d2599144b3b9ae8f0402bc7aa0 : SUCCESS in 1h 01m 13s\n- tempest-full-py3 https://zuul.opendev.org/t/openstack/build/004e09f94fea4bf99d853a47038e0c4c : SUCCESS in 1h 34m 20s\n- openstack-tox-cover https://zuul.opendev.org/t/openstack/build/6e66aa1998df4a7f9de0850364a7decb : SUCCESS in 5m 03s\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/cd998961b72847a4ad6bd905f1309cf9 : SUCCESS in 11m 36s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/7145867fb4cd472d88123ce32c545900 : SUCCESS in 3m 21s\n- openstack-tox-py39 https://zuul.opendev.org/t/openstack/build/1b55737406d6433bb1c078bbbc0e1a5e : SUCCESS in 3m 58s\n- openstack-tox-py310 https://zuul.opendev.org/t/openstack/build/54543b87073649bcb54e2afeb87b04eb : SUCCESS in 2m 24s\n- openstack-tox-py311 https://zuul.opendev.org/t/openstack/build/2cd00652ea4b453d98f15be40c63dd5b : SUCCESS in 5m 25s\n- openstack-tox-py312 https://zuul.opendev.org/t/openstack/build/33ee75fa14894258b3519d474a17d969 : SUCCESS in 2m 50s\n- tempest-extra-tests https://zuul.opendev.org/t/openstack/build/67af048ac13b4384b114df084b1143b3 : SUCCESS in 42m 49s\n- glance-multistore-cinder-import https://zuul.opendev.org/t/openstack/build/40ec9e94e33145f89bfa975a3b3be621 : SUCCESS in 2h 26m 51s (non-voting)\n- tempest-full-2025-1 https://zuul.opendev.org/t/openstack/build/f13d6545d9144b768e5e9da97a65e372 : SUCCESS in 54m 29s\n- tempest-full-2023-2 https://zuul.opendev.org/t/openstack/build/57c9cc475e7f4777b63b24bc1fa6b729 : SUCCESS in 58m 57s\n- tempest-multinode-full-py3 https://zuul.opendev.org/t/openstack/build/fdf84f5ce4a44eddb5a388c29a951142 : SUCCESS in 1h 05m 33s\n- tempest-tox-plugin-sanity-check https://zuul.opendev.org/t/openstack/build/4ade34710d4449c78ecdd8c66da25413 : SUCCESS in 35m 54s\n- tempest-ipv6-only https://zuul.opendev.org/t/openstack/build/f653a9768a8a4c2ca43e59321b087d88 : SUCCESS in 49m 27s\n- tempest-slow-py3 https://zuul.opendev.org/t/openstack/build/59ca5235dcff4fab9f9972ebe1b9a14a : SUCCESS in 1h 38m 44s\n- nova-live-migration https://zuul.opendev.org/t/openstack/build/c6579b69fce848aeac762152a731d78a : SUCCESS in 48m 29s\n- tempest-full-enforce-scope-new-defaults https://zuul.opendev.org/t/openstack/build/6f739d186e5541c99016e8848b4ed213 : SUCCESS in 1h 36m 21s\n- nova-ceph-multistore https://zuul.opendev.org/t/openstack/build/7f1c95d820f544a3a3c2fd8ae4db75c0 : SUCCESS in 1h 08m 29s\n- neutron-ovs-grenade-multinode https://zuul.opendev.org/t/openstack/build/614b1ed9b94e4027b257ccb2af2f94d3 : SUCCESS in 52m 18s\n- grenade-skip-level-always https://zuul.opendev.org/t/openstack/build/fd992cd33b1648528b0f9014f4e253ed : SUCCESS in 1h 00m 08s\n- neutron-ovs-tempest-dvr https://zuul.opendev.org/t/openstack/build/264aa9bd76b84509bb2c914588488335 : SUCCESS in 1h 15m 41s (non-voting)\n- interop-tempest-consistency https://zuul.opendev.org/t/openstack/build/4a9424f25ea44eb59d39a08989d28584 : SUCCESS in 3m 39s\n- tempest-full-test-account-py3 https://zuul.opendev.org/t/openstack/build/c0512966d37c46bd981515268881601b : FAILURE in 1h 05m 40s (non-voting)\n- ironic-tempest-bios-ipmi-direct-tinyipa https://zuul.opendev.org/t/openstack/build/a1f1bbeb23e548009b43f79ba287f25c : SUCCESS in 1h 15m 17s\n- openstack-tox-bashate https://zuul.opendev.org/t/openstack/build/251e5b8d1b5f4884b7c15a61699f01d3 : SUCCESS in 2m 32s","accounts_in_message":[],"_revision_number":1},{"id":"b9e0d6ceb38a7d7bd6c3017ce9a205ad936915b4","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":27615,"name":"Rajat Dhasmana","email":"rajatdhasmana@gmail.com","username":"whoami-rajat"},"date":"2025-05-13 18:43:42.000000000","message":"Uploaded patch set 2.\n\nOutdated Votes:\n* Code-Review-1 (copy condition: \"changekind:TRIVIAL_REBASE OR is:MIN\")\n* Verified+1\n","accounts_in_message":[],"_revision_number":2},{"id":"e25cb30424325682b75d4c265da57300fc5f9ffc","tag":"autogenerated:gerrit:setTopic","author":{"_account_id":27615,"name":"Rajat Dhasmana","email":"rajatdhasmana@gmail.com","username":"whoami-rajat"},"date":"2025-05-13 19:04:59.000000000","message":"Topic set to fix-location-apis","accounts_in_message":[],"_revision_number":2},{"id":"6e3bb0e18cbdde6507c3183b67c0b4295390f70a","author":{"_account_id":4523,"name":"Eric Harney","email":"eharney@redhat.com","username":"eharney"},"date":"2025-05-13 19:57:00.000000000","message":"Patch Set 2: Code-Review-1","accounts_in_message":[],"_revision_number":2},{"id":"c54f9c8c5c769e02374c55cc30a0bc2e185a8804","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2025-05-13 21:18:40.000000000","message":"Patch Set 2: Verified+1\n\nBuild succeeded (check pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/f6930844b45b46b08d0e50e72261ae35\n\n- grenade https://zuul.opendev.org/t/openstack/build/74c234443cf041a0bd232b5c3631bbbe : SUCCESS in 53m 06s\n- tempest-full-py3 https://zuul.opendev.org/t/openstack/build/eca2810d52f34ba29fa50c15fb4407a8 : SUCCESS in 1h 42m 32s\n- openstack-tox-cover https://zuul.opendev.org/t/openstack/build/2a36b3588b804168a30fba7dee8b9127 : SUCCESS in 5m 23s\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/0ffc9ac6530b4af19e79b242e070dbd0 : SUCCESS in 12m 09s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/c638d7769eea4cad88eb766c2f530421 : SUCCESS in 3m 11s\n- openstack-tox-py39 https://zuul.opendev.org/t/openstack/build/13740ae02e2046ebb757e6dd5d5f6c67 : SUCCESS in 3m 54s\n- openstack-tox-py310 https://zuul.opendev.org/t/openstack/build/35d1ebfe942f4e9a92ccd7229f5ba0f1 : SUCCESS in 3m 28s\n- openstack-tox-py311 https://zuul.opendev.org/t/openstack/build/7a30fc0c590a4df9b9d72e344bb112c4 : SUCCESS in 4m 11s\n- openstack-tox-py312 https://zuul.opendev.org/t/openstack/build/78a331b6bd304fc89db5149191dc899b : SUCCESS in 4m 07s\n- tempest-extra-tests https://zuul.opendev.org/t/openstack/build/5d44f87c8c254186ad4758504446b6d6 : SUCCESS in 1h 23m 26s\n- glance-multistore-cinder-import https://zuul.opendev.org/t/openstack/build/0dfa666851fd4944924b389a6d7095b1 : SUCCESS in 2h 22m 59s (non-voting)\n- tempest-full-2025-1 https://zuul.opendev.org/t/openstack/build/66dc5a6f490c41b091632fd17c861332 : SUCCESS in 1h 00m 23s\n- tempest-full-2023-2 https://zuul.opendev.org/t/openstack/build/9850cedbaa7e4323ba4ebd636aacd128 : SUCCESS in 1h 36m 22s\n- tempest-multinode-full-py3 https://zuul.opendev.org/t/openstack/build/56de4179fbb6454f9e3d56c205a36cc5 : SUCCESS in 42m 22s\n- tempest-tox-plugin-sanity-check https://zuul.opendev.org/t/openstack/build/e5878cb6e1e34f19b197a77dfdc97701 : SUCCESS in 36m 26s\n- tempest-ipv6-only https://zuul.opendev.org/t/openstack/build/3489ade3c6a54ee3b09a17377157a189 : SUCCESS in 30m 07s\n- tempest-slow-py3 https://zuul.opendev.org/t/openstack/build/1ba5a7a193534a0fbbf992fbf5c5c0e5 : SUCCESS in 1h 02m 17s\n- nova-live-migration https://zuul.opendev.org/t/openstack/build/e980e00865634654969c160c3eab2bad : SUCCESS in 50m 00s\n- tempest-full-enforce-scope-new-defaults https://zuul.opendev.org/t/openstack/build/f37714d1e2f4468f9d24c2adeff408f1 : SUCCESS in 56m 20s\n- nova-ceph-multistore https://zuul.opendev.org/t/openstack/build/e5eb8c554a0941a69cd51b36b6e72699 : SUCCESS in 1h 56m 03s\n- neutron-ovs-grenade-multinode https://zuul.opendev.org/t/openstack/build/47c5a3f89c4d45eb9e693db8498fb046 : SUCCESS in 58m 17s\n- grenade-skip-level-always https://zuul.opendev.org/t/openstack/build/138f87ac85fd4ace9d37eed61dae5bcc : SUCCESS in 32m 42s\n- neutron-ovs-tempest-dvr https://zuul.opendev.org/t/openstack/build/0ac0182bbccc4ae7af78df593f22a82e : SUCCESS in 1h 05m 11s (non-voting)\n- interop-tempest-consistency https://zuul.opendev.org/t/openstack/build/e82c2444d1814b6da364789270d7a395 : SUCCESS in 3m 17s\n- tempest-full-test-account-py3 https://zuul.opendev.org/t/openstack/build/94a9eceb2a154ebc85e276aca6d1af2d : FAILURE in 44m 27s (non-voting)\n- ironic-tempest-bios-ipmi-direct-tinyipa https://zuul.opendev.org/t/openstack/build/c03e23a0d1ab4f8db2dbc6d6eb6aebd9 : SUCCESS in 56m 03s\n- openstack-tox-bashate https://zuul.opendev.org/t/openstack/build/fb570ea0902f4443a2634228c2de3125 : SUCCESS in 2m 48s","accounts_in_message":[],"_revision_number":2},{"id":"c878836fd9243e78bcd23ab463e98aef81665c24","author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"date":"2025-05-19 15:33:03.000000000","message":"Patch Set 2: Code-Review-1\n\n(1 comment)","accounts_in_message":[],"_revision_number":2}],"current_revision_number":2,"current_revision":"817d54ca55b91f20da80fc4815d6e77dd35659d3","revisions":{"8c37e975f560e6add239b2125c012cda99c54098":{"kind":"REWORK","_number":1,"created":"2025-05-13 11:04:32.000000000","uploader":{"_account_id":27615,"name":"Rajat Dhasmana","email":"rajatdhasmana@gmail.com","username":"whoami-rajat"},"ref":"refs/changes/95/949595/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/tempest","ref":"refs/changes/95/949595/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/tempest refs/changes/95/949595/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/tempest refs/changes/95/949595/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/tempest refs/changes/95/949595/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/tempest refs/changes/95/949595/1"}}},"commit":{"parents":[{"commit":"b72f28e6fc622f813e43a883ed57919dc748d8e9","subject":"Merge \"Use volume_type config for create_test_server function\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/tempest/commit/b72f28e6fc622f813e43a883ed57919dc748d8e9"}]}],"author":{"name":"Rajat Dhasmana","email":"rajatdhasmana@gmail.com","date":"2025-05-13 11:03:48.000000000","tz":330},"committer":{"name":"Rajat Dhasmana","email":"rajatdhasmana@gmail.com","date":"2025-05-13 11:04:28.000000000","tz":330},"subject":"Add wait task for server image tests","message":"Add wait task for server image tests\n\nRecently we added the new location API support in nova[1].\nIt is used when nova and glance, both are using RBD and we create\na server snapshot which creates a optimized clone from vms pool to\nimages pool.\nThe nature of new location API is async so nova finishes the\noperation whereas the location tasks are going on in background like\nupdating location, calculating hash etc.\nThis causes a problem if we try to delete the image when the tasks\nare still ongoing, which we saw recently in some tempest tests failing\nwith the following error.\n\nDetails: {\u0027message\u0027: \u0027Image 35492906-4f33-438d-95e6-2b932aac9a64 could\nnot be deleted because it is in use: The image cannot be deleted\nbecause it is in use through the backend store outside of\nGlance.\u003cbr /\u003e\u003cbr /\u003e\\n\\n\\n\u0027, \u0027code\u0027: \u0027409 Conflict\u0027, \u0027title\u0027: \u0027Conflict\u0027}\n\nThis patch adds the wait for the tasks to be finished hence enabling\nthe images to be deleted successfully later.\n\n[1] https://review.opendev.org/c/openstack/nova/+/891036\n\nChange-Id: Iaa0740961db0c0b40e7f507af4a8e898a112c97c\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/tempest/commit/8c37e975f560e6add239b2125c012cda99c54098"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/tempest/commit/8c37e975f560e6add239b2125c012cda99c54098"}]},"branch":"refs/heads/master"},"817d54ca55b91f20da80fc4815d6e77dd35659d3":{"kind":"REWORK","_number":2,"created":"2025-05-13 18:43:42.000000000","uploader":{"_account_id":27615,"name":"Rajat Dhasmana","email":"rajatdhasmana@gmail.com","username":"whoami-rajat"},"ref":"refs/changes/95/949595/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/tempest","ref":"refs/changes/95/949595/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/tempest refs/changes/95/949595/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/tempest refs/changes/95/949595/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/tempest refs/changes/95/949595/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/tempest refs/changes/95/949595/2"}}},"commit":{"parents":[{"commit":"b72f28e6fc622f813e43a883ed57919dc748d8e9","subject":"Merge \"Use volume_type config for create_test_server function\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/tempest/commit/b72f28e6fc622f813e43a883ed57919dc748d8e9"}]}],"author":{"name":"Rajat Dhasmana","email":"rajatdhasmana@gmail.com","date":"2025-05-13 11:03:48.000000000","tz":330},"committer":{"name":"Rajat Dhasmana","email":"rajatdhasmana@gmail.com","date":"2025-05-13 18:43:29.000000000","tz":330},"subject":"Add wait task for server image tests","message":"Add wait task for server image tests\n\nRecently we added the new location API support in nova[1].\nIt is used when nova and glance, both are using RBD and we create\na server snapshot which creates a optimized clone from vms pool to\nimages pool.\nThe nature of new location API is async so nova finishes the\noperation whereas the location tasks are going on in background like\nupdating location, calculating hash etc.\nThis causes a problem if we try to delete the image when the tasks\nare still ongoing, which we saw recently in some tempest tests failing\nwith the following error.\n\nDetails: {\u0027message\u0027: \u0027Image 35492906-4f33-438d-95e6-2b932aac9a64 could\nnot be deleted because it is in use: The image cannot be deleted\nbecause it is in use through the backend store outside of\nGlance.\u003cbr /\u003e\u003cbr /\u003e\\n\\n\\n\u0027, \u0027code\u0027: \u0027409 Conflict\u0027, \u0027title\u0027: \u0027Conflict\u0027}\n\nThis patch adds the wait for the tasks to be finished hence enabling\nthe images to be deleted successfully later.\n\n[1] https://review.opendev.org/c/openstack/nova/+/891036\n\nChange-Id: Iaa0740961db0c0b40e7f507af4a8e898a112c97c\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/tempest/commit/817d54ca55b91f20da80fc4815d6e77dd35659d3"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/tempest/commit/817d54ca55b91f20da80fc4815d6e77dd35659d3"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[{"rule_name":"gerrit~DefaultSubmitRule","status":"OK","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":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"}},{"label":"Workflow","status":"MAY"},{"label":"Review-Priority","status":"MAY"}]}],"submit_requirements":[{"name":"Verified","description":"Verified in gate by CI","status":"UNSATISFIED","is_legacy":false,"submittability_expression_result":{"expression":"label:Verified\u003dMAX AND -label:Verified\u003dMIN","fulfilled":false,"status":"FAIL","passing_atoms":[],"failing_atoms":["label:Verified\u003dMAX","label:Verified\u003dMIN"],"atom_explanations":{"label:Verified\u003dMAX":"","label:Verified\u003dMIN":""}}},{"name":"Code-Review","description":"Code reviewed by core reviewer","status":"UNSATISFIED","is_legacy":false,"submittability_expression_result":{"expression":"label:Code-Review\u003dMAX AND -label:Code-Review\u003dMIN","fulfilled":false,"status":"FAIL","passing_atoms":[],"failing_atoms":["label:Code-Review\u003dMAX","label:Code-Review\u003dMIN"],"atom_explanations":{"label:Code-Review\u003dMAX":"","label:Code-Review\u003dMIN":""}}},{"name":"Review-Priority","description":"Review priority","status":"SATISFIED","is_legacy":false,"submittability_expression_result":{"expression":"-label:Review-Priority\u003dMIN","fulfilled":true,"status":"PASS","passing_atoms":[],"failing_atoms":["label:Review-Priority\u003dMIN"],"atom_explanations":{"label:Review-Priority\u003dMIN":""}}},{"name":"Workflow","description":"Approved for gate by core reviewer","status":"UNSATISFIED","is_legacy":false,"submittability_expression_result":{"expression":"label:Workflow\u003dMAX AND -label:Workflow\u003dMIN","fulfilled":false,"status":"FAIL","passing_atoms":[],"failing_atoms":["label:Workflow\u003dMAX","label:Workflow\u003dMIN"],"atom_explanations":{"label:Workflow\u003dMAX":"","label:Workflow\u003dMIN":""}}}]}
