)]}'
{"id":"openstack%2Fnova~802848","triplet_id":"openstack%2Fnova~stable%2Ftrain~I03eec634b25582ec9643cacf3e5868c101176983","project":"openstack/nova","branch":"stable/train","topic":"bug/1860312","hashtags":[],"change_id":"I03eec634b25582ec9643cacf3e5868c101176983","subject":"Reproducer unit test for bug 1860312","status":"ABANDONED","created":"2021-07-29 09:01:01.000000000","updated":"2023-09-01 16:57:35.000000000","total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"f7ba14d7c473cf30ada0f17bcd3a742e0eaffd22","_number":802848,"virtual_id_number":802848,"owner":{"_account_id":8864,"name":"Artom Lifshitz","email":"notartom@gmail.com","username":"artom"},"actions":{},"labels":{"Verified":{"disliked":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"all":[{"tag":"autogenerated:zuul:check","value":-1,"date":"2021-07-29 10:18: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":"","value":-1,"default_value":0,"optional":true},"Code-Review":{"all":[{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_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":{"all":[{"_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,"permitted_voting_range":{"min":0,"max":1},"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"values":{" 0":"Default Priority","+1":"Contributor Review Promise","+2":"Core Review Promise"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2021-07-29 10:18:06.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":"02c7de716edb1b4c5227102e5c83694f7f80b055","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":8864,"name":"Artom Lifshitz","email":"notartom@gmail.com","username":"artom"},"date":"2021-07-29 09:01:01.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"e4827e40b23fd10ced3906f314fbe7a79ebc6be5","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2021-07-29 10:18:06.000000000","message":"Patch Set 1: Verified-1\n\nBuild failed (check pipeline).  For information on how to proceed, see\nhttps://docs.opendev.org/opendev/infra-manual/latest/developers.html#automated-testing\n\n\n- openstack-tox-cover https://zuul.opendev.org/t/openstack/build/89c357c737ab4e6383b2b782b5e5f712 : SUCCESS in 19m 05s\n- openstack-tox-lower-constraints https://zuul.opendev.org/t/openstack/build/1dfe2c52846541a885955bc5777722af : SUCCESS in 15m 21s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/c4b0b0a8f9e140ecb26035fb657ef798 : FAILURE in 11m 12s\n- openstack-tox-py27 https://zuul.opendev.org/t/openstack/build/830127f0e079433899ce7b21e86dd89c : SUCCESS in 32m 36s\n- openstack-tox-py36 https://zuul.opendev.org/t/openstack/build/16d4cb67ab5a460393c378e4689b1582 : SUCCESS in 14m 51s\n- openstack-tox-py37 https://zuul.opendev.org/t/openstack/build/57f4aba780f7471dafaa9537cb1e6103 : SUCCESS in 14m 15s\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/517ceede2a36472694633a00a3fd2a32 : SUCCESS in 10m 40s\n- nova-tox-functional https://zuul.opendev.org/t/openstack/build/8f2a3ff4793d4a64a6b6172cedfeb772 : SUCCESS in 17m 58s\n- nova-tox-functional-py36 https://zuul.opendev.org/t/openstack/build/fc47ba5b74664262b3455f4c09eee40c : SUCCESS in 17m 01s","accounts_in_message":[],"_revision_number":1},{"id":"f7ba14d7c473cf30ada0f17bcd3a742e0eaffd22","tag":"autogenerated:gerrit:abandon","author":{"_account_id":17685,"name":"Elod Illes","email":"elod.illes@est.tech","username":"elod.illes"},"date":"2023-09-01 16:57:35.000000000","message":"Abandoned\n\nstable/train branch of nova projects\u0027 have been tagged as End of Life. All open patches have to be abandoned in order to be able to delete the branch.","accounts_in_message":[],"_revision_number":1}],"current_revision_number":1,"current_revision":"538aeb98446e2230e44c579ed1f971fa7883826d","revisions":{"538aeb98446e2230e44c579ed1f971fa7883826d":{"kind":"REWORK","_number":1,"created":"2021-07-29 09:01:01.000000000","uploader":{"_account_id":8864,"name":"Artom Lifshitz","email":"notartom@gmail.com","username":"artom"},"ref":"refs/changes/48/802848/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/nova","ref":"refs/changes/48/802848/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/nova refs/changes/48/802848/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/nova refs/changes/48/802848/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/nova refs/changes/48/802848/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/nova refs/changes/48/802848/1"}}},"commit":{"parents":[{"commit":"1aa571103f90228ddf3dc27386486196ad58ba0e","subject":"[neutron] Get only ID and name of the SGs from Neutron","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/1aa571103f90228ddf3dc27386486196ad58ba0e"}]}],"author":{"name":"Artom Lifshitz","email":"alifshit@redhat.com","date":"2021-07-28 10:48:50.000000000","tz":120},"committer":{"name":"Artom Lifshitz","email":"alifshit@redhat.com","date":"2021-07-29 08:58:02.000000000","tz":120},"subject":"Reproducer unit test for bug 1860312","message":"Reproducer unit test for bug 1860312\n\nConsider the following situation:\n\n- Using the Ironic virt driver\n- Replacing (so removing and re-adding) all baremetal nodes\n  associated with a single nova-compute service\n\nThe update resources periodic will have destroyed the compute node\nrecords because they\u0027re no longer being reported by the virt driver.\nIf we then attempt to manually delete the compute service record, the\ndatbase layer will raise an exception, as there are no longer any\ncompute node records for the host. This exception gets bubbled up as\nan error 500 in the API. This patch adds a unit test to demonstrate\nthis.\n\nRelated bug: 1860312\nChange-Id: I03eec634b25582ec9643cacf3e5868c101176983\n(cherry picked from commit 32257a2a6d159406577c885a9d7e366cbf0c72b9)\n(cherry picked from commit e6cd23c3b4928b421b8c706f9cc218020779e367)\n(cherry picked from commit 9efdd0b085733a0a4c4192aab8fc870c8aadf316)\n(cherry picked from commit 075817983ae2ab71e6fe0b539da67a768d109478)\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/538aeb98446e2230e44c579ed1f971fa7883826d"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/538aeb98446e2230e44c579ed1f971fa7883826d"}]},"branch":"refs/heads/stable/train"}},"requirements":[],"submit_records":[],"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":{}}},{"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":{}}},{"name":"Review-Priority","description":"Review Priority","status":"NOT_APPLICABLE","is_legacy":false,"applicability_expression_result":{"fulfilled":false,"status":"FAIL"},"submittability_expression_result":{"expression":"is:true","fulfilled":true,"status":"NOT_EVALUATED","passing_atoms":[],"failing_atoms":[],"atom_explanations":{}}},{"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":{}}}]}
