)]}'
{"id":"openstack%2Fnova~802842","triplet_id":"openstack%2Fnova~stable%2Fvictoria~I03eec634b25582ec9643cacf3e5868c101176983","project":"openstack/nova","branch":"stable/victoria","topic":"bug/1860312","hashtags":[],"change_id":"I03eec634b25582ec9643cacf3e5868c101176983","subject":"Reproducer unit test for bug 1860312","status":"MERGED","created":"2021-07-29 08:49:37.000000000","updated":"2021-09-01 13:44:13.000000000","submitted":"2021-09-01 13:42:07.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":"802842-bug/1860312","meta_rev_id":"59af3b1d2b53610d51bb4e5827d43190e6d5c4a4","_number":802842,"virtual_id_number":802842,"owner":{"_account_id":8864,"name":"Artom Lifshitz","email":"notartom@gmail.com","username":"artom"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"all":[{"tag":"autogenerated:zuul:gate","value":2,"date":"2021-09-01 13:42:06.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"value":0,"_account_id":17685,"name":"Elod Illes","email":"elod.illes@est.tech","username":"elod.illes"},{"value":0,"_account_id":10135,"name":"Lee Yarwood","display_name":"Lee Yarwood","email":"lyarwood@redhat.com","username":"lyarwood"}],"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":17685,"name":"Elod Illes","email":"elod.illes@est.tech","username":"elod.illes"},"all":[{"value":0,"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"value":2,"date":"2021-08-31 15:09:33.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":17685,"name":"Elod Illes","email":"elod.illes@est.tech","username":"elod.illes"},{"value":2,"date":"2021-09-01 11:45:36.000000000","_account_id":10135,"name":"Lee Yarwood","display_name":"Lee Yarwood","email":"lyarwood@redhat.com","username":"lyarwood"}],"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":10135,"name":"Lee Yarwood","display_name":"Lee Yarwood","email":"lyarwood@redhat.com","username":"lyarwood"},"all":[{"value":0,"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"value":0,"_account_id":17685,"name":"Elod Illes","email":"elod.illes@est.tech","username":"elod.illes"},{"value":1,"date":"2021-09-01 11:45:36.000000000","_account_id":10135,"name":"Lee Yarwood","display_name":"Lee Yarwood","email":"lyarwood@redhat.com","username":"lyarwood"}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true},"Review-Priority":{"all":[{"value":0,"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"value":0,"_account_id":17685,"name":"Elod Illes","email":"elod.illes@est.tech","username":"elod.illes"},{"value":0,"_account_id":10135,"name":"Lee Yarwood","display_name":"Lee Yarwood","email":"lyarwood@redhat.com","username":"lyarwood"}],"values":{" 0":"Default Priority","+1":"Contributor Review Promise","+2":"Core Review Promise"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"CC":[{"_account_id":26515,"name":"Cloudbase Nova Hyper-V CI","email":"nova_hyperv_ci@cloudbasesolutions.com","username":"nova_hyperv_ci"}],"REVIEWER":[{"_account_id":10135,"name":"Lee Yarwood","display_name":"Lee Yarwood","email":"lyarwood@redhat.com","username":"lyarwood"},{"_account_id":17685,"name":"Elod Illes","email":"elod.illes@est.tech","username":"elod.illes"},{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2021-07-29 09:56:23.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":"2021-07-29 11:31:45.000000000","updated_by":{"_account_id":26515,"name":"Cloudbase Nova Hyper-V CI","email":"nova_hyperv_ci@cloudbasesolutions.com","username":"nova_hyperv_ci"},"reviewer":{"_account_id":26515,"name":"Cloudbase Nova Hyper-V CI","email":"nova_hyperv_ci@cloudbasesolutions.com","username":"nova_hyperv_ci"},"state":"CC"},{"updated":"2021-08-31 15:09:33.000000000","updated_by":{"_account_id":17685,"name":"Elod Illes","email":"elod.illes@est.tech","username":"elod.illes"},"reviewer":{"_account_id":17685,"name":"Elod Illes","email":"elod.illes@est.tech","username":"elod.illes"},"state":"REVIEWER"},{"updated":"2021-09-01 11:45:36.000000000","updated_by":{"_account_id":10135,"name":"Lee Yarwood","display_name":"Lee Yarwood","email":"lyarwood@redhat.com","username":"lyarwood"},"reviewer":{"_account_id":10135,"name":"Lee Yarwood","display_name":"Lee Yarwood","email":"lyarwood@redhat.com","username":"lyarwood"},"state":"REVIEWER"}],"messages":[{"id":"05687a31b02c1085b8c2caab747f4d89b8ddf38a","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":8864,"name":"Artom Lifshitz","email":"notartom@gmail.com","username":"artom"},"date":"2021-07-29 08:49:37.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"8eaa9658848f04c41bcc2dbf3a6af3e88ec4621b","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2021-07-29 09:56:23.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/31a9afec95df43db803ed6a093f01fa1 : SUCCESS in 19m 22s\n- openstack-tox-lower-constraints https://zuul.opendev.org/t/openstack/build/ed067df9a43946288361f5c8a7f3ca72 : SUCCESS in 16m 28s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/80e07b7a12434f3bb139beceed70c00c : FAILURE in 8m 19s\n- openstack-tox-py36 https://zuul.opendev.org/t/openstack/build/be39d2da801d4eca81eb3421abb825de : SUCCESS in 13m 52s\n- openstack-tox-py38 https://zuul.opendev.org/t/openstack/build/c0fe358153cc4e4c84fc016042b6c845 : SUCCESS in 13m 58s\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/461d0323e0f34a92b89a32dcb79d8ae7 : SUCCESS in 10m 58s\n- nova-tox-functional-py38 https://zuul.opendev.org/t/openstack/build/2acd6bbd8c9e4e85ab1ac03d310cfb8f : SUCCESS in 15m 53s","accounts_in_message":[],"_revision_number":1},{"id":"cf21190d72b1cefe331c69310e1f1e1b387600a5","tag":"autogenerated:cloudbase-ci","author":{"_account_id":26515,"name":"Cloudbase Nova Hyper-V CI","email":"nova_hyperv_ci@cloudbasesolutions.com","username":"nova_hyperv_ci"},"date":"2021-07-29 11:31:45.000000000","message":"Patch Set 1:\n\nBuild succeeded. For checking Nova with Ceph, add a comment with run-Cloudbase Nova Ceph Hyper-V CI\n\n- nova http://cloudbase-ci.com/nova/802842/1/iscsi : SUCCESS in 2h 41m 03s","accounts_in_message":[],"_revision_number":1},{"id":"9b81b0c5aa3f8e6659b1cf51e1c90ee5108073db","author":{"_account_id":17685,"name":"Elod Illes","email":"elod.illes@est.tech","username":"elod.illes"},"date":"2021-08-31 15:09:33.000000000","message":"Patch Set 1: Code-Review+2\n\nClean cherry pick of a bug fix reproducing test patch, merged in stable/wallaby. LGTM.","accounts_in_message":[],"_revision_number":1},{"id":"4ebcf7cc7baf5ca5da033bde8669fdc2a7744737","author":{"_account_id":17685,"name":"Elod Illes","email":"elod.illes@est.tech","username":"elod.illes"},"date":"2021-08-31 15:09:49.000000000","message":"Patch Set 1:\n\nrecheck - patch has merged in stable/wallaby","accounts_in_message":[],"_revision_number":1},{"id":"db062aae9e49689ef7ce1e51defd86033d3755fb","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2021-08-31 17:51:44.000000000","message":"Patch Set 1: Verified+1\n\nBuild succeeded (check pipeline).\n\n- openstack-tox-cover https://zuul.opendev.org/t/openstack/build/381705c09ee34c5f86b8fead4e6ba5fb : SUCCESS in 24m 21s\n- openstack-tox-lower-constraints https://zuul.opendev.org/t/openstack/build/bfeadc4c85d4481ab40f38a15cbec0fa : SUCCESS in 21m 20s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/b8974b2c4fe14d708dbc9d7ec7206b36 : SUCCESS in 10m 40s\n- openstack-tox-py36 https://zuul.opendev.org/t/openstack/build/72a3c2c41ed742aa8bd67fc3e85a87f8 : SUCCESS in 15m 18s\n- openstack-tox-py38 https://zuul.opendev.org/t/openstack/build/b016dffdc581497ca8d03e3bbe985a5d : SUCCESS in 14m 22s\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/d200ddc4a871433ebfef6b91a3b7de7c : SUCCESS in 13m 51s\n- nova-tox-validate-backport https://zuul.opendev.org/t/openstack/build/2a287e59e02242b89a052d056b830a47 : SUCCESS in 7m 07s (non-voting)\n- nova-tox-functional-py38 https://zuul.opendev.org/t/openstack/build/befadeeb2b0244fda2db399f2cd51a47 : SUCCESS in 19m 37s","accounts_in_message":[],"_revision_number":1},{"id":"6b432ca8145f20dff748b61f41e6f7aff15487bb","tag":"autogenerated:cloudbase-ci","author":{"_account_id":26515,"name":"Cloudbase Nova Hyper-V CI","email":"nova_hyperv_ci@cloudbasesolutions.com","username":"nova_hyperv_ci"},"date":"2021-08-31 18:26:18.000000000","message":"Patch Set 1:\n\nBuild succeeded. For checking Nova with Ceph, add a comment with run-Cloudbase Nova Ceph Hyper-V CI\n\n- nova http://cloudbase-ci.com/nova/802842/1/iscsi : SUCCESS in 2h 37m 17s","accounts_in_message":[],"_revision_number":1},{"id":"7f8d7892894d49892d500ad6b6d154c758ed2382","author":{"_account_id":10135,"name":"Lee Yarwood","display_name":"Lee Yarwood","email":"lyarwood@redhat.com","username":"lyarwood"},"date":"2021-09-01 11:45:36.000000000","message":"Patch Set 1: Code-Review+2 Workflow+1","accounts_in_message":[],"_revision_number":1},{"id":"439cd475879ced75dfd6f81550974789db4e6dc7","tag":"autogenerated:zuul:gate","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2021-09-01 11:46:02.000000000","message":"Patch Set 1: -Verified\n\nStarting gate jobs.","accounts_in_message":[],"_revision_number":1},{"id":"4549054e36cd64aa7a756e3b83604dd13cf4b5d6","tag":"autogenerated:zuul:gate","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2021-09-01 13:42:06.000000000","message":"Patch Set 1: Verified+2\n\nBuild succeeded (gate pipeline).\n\n- openstack-tox-lower-constraints https://zuul.opendev.org/t/openstack/build/920f93664a844acab658570719e3e907 : SUCCESS in 19m 31s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/46923b84172f452aba472e1a0a377c7f : SUCCESS in 10m 31s\n- openstack-tox-py36 https://zuul.opendev.org/t/openstack/build/204dcd76f5e8496394b6bcbf9a786ad5 : SUCCESS in 14m 57s\n- openstack-tox-py38 https://zuul.opendev.org/t/openstack/build/72e63da1d61f4175b6949fbd546a7835 : SUCCESS in 15m 36s\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/8a0840675af94ad799cb679f71cfe31b : SUCCESS in 12m 10s\n- nova-tox-functional-py38 https://zuul.opendev.org/t/openstack/build/5aaf785db55042d59a84fcfa60a661dc : SUCCESS in 23m 05s\n- nova-tox-validate-backport https://zuul.opendev.org/t/openstack/build/a9848eb216ab43a5b0681c1a2778104f : SUCCESS in 6m 15s","accounts_in_message":[],"_revision_number":1},{"id":"7a3575cffa299d7d318ed5bfd279637883edeebf","tag":"autogenerated:gerrit:merged","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2021-09-01 13:42:07.000000000","message":"Change has been successfully merged by Zuul","accounts_in_message":[],"_revision_number":1},{"id":"59af3b1d2b53610d51bb4e5827d43190e6d5c4a4","tag":"autogenerated:zuul:promote","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2021-09-01 13:44:13.000000000","message":"Patch Set 1:\n\nBuild succeeded (promote pipeline).\n\n- promote-openstack-tox-docs https://zuul.opendev.org/t/openstack/build/1c52e7be8cee47369ac666b3dc8b8524 : SUCCESS in 1m 38s","accounts_in_message":[],"_revision_number":1}],"current_revision_number":1,"current_revision":"9efdd0b085733a0a4c4192aab8fc870c8aadf316","revisions":{"9efdd0b085733a0a4c4192aab8fc870c8aadf316":{"kind":"REWORK","_number":1,"created":"2021-07-29 08:49:37.000000000","uploader":{"_account_id":8864,"name":"Artom Lifshitz","email":"notartom@gmail.com","username":"artom"},"ref":"refs/changes/42/802842/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/nova","ref":"refs/changes/42/802842/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/nova refs/changes/42/802842/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/nova refs/changes/42/802842/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/nova refs/changes/42/802842/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/nova refs/changes/42/802842/1"}}},"commit":{"parents":[{"commit":"b2fd01f0b4871dd0182daf234e0531a59e910621","subject":"Merge \"Reject open redirection in the console proxy\" into stable/victoria","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/b2fd01f0b4871dd0182daf234e0531a59e910621"}]}],"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:47:26.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","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/9efdd0b085733a0a4c4192aab8fc870c8aadf316"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/9efdd0b085733a0a4c4192aab8fc870c8aadf316"}]},"branch":"refs/heads/stable/victoria"}},"requirements":[],"submit_records":[{"status":"CLOSED","labels":[{"label":"Verified","status":"OK","applied_by":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}},{"label":"Code-Review","status":"OK","applied_by":{"_account_id":10135,"name":"Lee Yarwood","display_name":"Lee Yarwood","email":"lyarwood@redhat.com","username":"lyarwood"}},{"label":"Workflow","status":"OK","applied_by":{"_account_id":10135,"name":"Lee Yarwood","display_name":"Lee Yarwood","email":"lyarwood@redhat.com","username":"lyarwood"}},{"label":"Review-Priority","status":"MAY"}]}],"submit_requirements":[{"name":"Verified","status":"SATISFIED","is_legacy":true,"submittability_expression_result":{"expression":"label:Verified\u003dCustom-Rule","fulfilled":true,"status":"PASS","passing_atoms":["label:Verified\u003dCustom-Rule"],"failing_atoms":[],"atom_explanations":{}}},{"name":"Workflow","status":"SATISFIED","is_legacy":true,"submittability_expression_result":{"expression":"label:Workflow\u003dCustom-Rule","fulfilled":true,"status":"PASS","passing_atoms":["label:Workflow\u003dCustom-Rule"],"failing_atoms":[],"atom_explanations":{}}},{"name":"Code-Review","status":"SATISFIED","is_legacy":true,"submittability_expression_result":{"expression":"label:Code-Review\u003dCustom-Rule","fulfilled":true,"status":"PASS","passing_atoms":["label:Code-Review\u003dCustom-Rule"],"failing_atoms":[],"atom_explanations":{}}}]}
