)]}'
{"id":"openstack%2Fplacement~807155","triplet_id":"openstack%2Fplacement~master~I232acaad8b350b3cf924dd7a59d97eb8ad5d0fcc","project":"openstack/placement","branch":"master","topic":"story-2009167","hashtags":[],"change_id":"I232acaad8b350b3cf924dd7a59d97eb8ad5d0fcc","subject":"Fix adding \u0027unknown\u0027 to the ConsumerTypeCache","status":"MERGED","created":"2021-09-02 14:04:13.000000000","updated":"2021-09-13 11:59:54.000000000","submitted":"2021-09-13 11:57:53.000000000","submitter":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"total_comment_count":5,"unresolved_comment_count":2,"has_review_started":true,"submission_id":"807155-story-2009167","meta_rev_id":"c8286b8d50a911cecabc897900b96bd7709abfec","_number":807155,"virtual_id_number":807155,"owner":{"_account_id":9708,"name":"Balazs Gibizer","display_name":"gibi","email":"gibizer@gmail.com","username":"gibi"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"all":[{"value":0,"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},{"value":0,"_account_id":10135,"name":"Lee Yarwood","display_name":"Lee Yarwood","email":"lyarwood@redhat.com","username":"lyarwood"},{"tag":"autogenerated:zuul:gate","value":2,"date":"2021-09-13 11:57:53.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":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"all":[{"value":2,"date":"2021-09-02 16:09:34.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},{"value":2,"date":"2021-09-13 10:29:56.000000000","_account_id":10135,"name":"Lee Yarwood","display_name":"Lee Yarwood","email":"lyarwood@redhat.com","username":"lyarwood"},{"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":10135,"name":"Lee Yarwood","display_name":"Lee Yarwood","email":"lyarwood@redhat.com","username":"lyarwood"},"all":[{"value":0,"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},{"value":1,"date":"2021-09-13 10:29:56.000000000","_account_id":10135,"name":"Lee Yarwood","display_name":"Lee Yarwood","email":"lyarwood@redhat.com","username":"lyarwood"},{"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},"Review-Priority":{"all":[{"value":0,"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},{"value":0,"_account_id":10135,"name":"Lee Yarwood","display_name":"Lee Yarwood","email":"lyarwood@redhat.com","username":"lyarwood"},{"value":0,"_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":[{"_account_id":7166,"name":"Sylvain Bauza","email":"sbauza@redhat.com","username":"sbauza"}],"reviewers":{"REVIEWER":[{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},{"_account_id":7166,"name":"Sylvain Bauza","email":"sbauza@redhat.com","username":"sbauza"},{"_account_id":10135,"name":"Lee Yarwood","display_name":"Lee Yarwood","email":"lyarwood@redhat.com","username":"lyarwood"},{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2021-09-02 14:30:38.000000000","updated_by":{"_account_id":9708,"name":"Balazs Gibizer","display_name":"gibi","email":"gibizer@gmail.com","username":"gibi"},"reviewer":{"_account_id":10135,"name":"Lee Yarwood","display_name":"Lee Yarwood","email":"lyarwood@redhat.com","username":"lyarwood"},"state":"REVIEWER"},{"updated":"2021-09-02 14:30:38.000000000","updated_by":{"_account_id":9708,"name":"Balazs Gibizer","display_name":"gibi","email":"gibizer@gmail.com","username":"gibi"},"reviewer":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"state":"REVIEWER"},{"updated":"2021-09-02 15:23:30.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-09-06 10:22:17.000000000","updated_by":{"_account_id":9708,"name":"Balazs Gibizer","display_name":"gibi","email":"gibizer@gmail.com","username":"gibi"},"reviewer":{"_account_id":7166,"name":"Sylvain Bauza","email":"sbauza@redhat.com","username":"sbauza"},"state":"REVIEWER"}],"messages":[{"id":"2b6946186b9fa2ca18dffca7c19859ce68842aa3","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":9708,"name":"Balazs Gibizer","display_name":"gibi","email":"gibizer@gmail.com","username":"gibi"},"date":"2021-09-02 14:04:13.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"817d07f75d7f019ce483cf13c57e0933063d53d0","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2021-09-02 15:23:30.000000000","message":"Patch Set 1: Verified+1\n\nBuild succeeded (check pipeline).\n\n- grenade https://zuul.opendev.org/t/openstack/build/e8d2cfff5fec4143b4910ff01c4b50f0 : SUCCESS in 1h 03m 15s\n- tempest-integrated-placement https://zuul.opendev.org/t/openstack/build/dc90384757c14c06ba6294352e8bc53a : SUCCESS in 1h 14m 52s\n- openstack-tox-cover https://zuul.opendev.org/t/openstack/build/8a55965bdae645a48273ce95398e873b : SUCCESS in 8m 32s\n- openstack-tox-lower-constraints https://zuul.opendev.org/t/openstack/build/5dc11da4fb8240a2aa94402c8b5d7ab9 : SUCCESS in 8m 35s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/12aac7689f2e4270b49eee2aa84685e7 : SUCCESS in 6m 27s\n- openstack-tox-py36 https://zuul.opendev.org/t/openstack/build/9dc8c60b65254a43b4f175ea888f0f49 : SUCCESS in 8m 10s\n- openstack-tox-py38 https://zuul.opendev.org/t/openstack/build/4a8650cea3b74baf8c6b528640c8a546 : SUCCESS in 5m 50s\n- openstack-tox-py39 https://zuul.opendev.org/t/openstack/build/95cc811e458b4f58a9fa0355026a4ad0 : SUCCESS in 6m 21s (non-voting)\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/36fc78c6ef084ca1b8dc6a0757451c16 : SUCCESS in 8m 04s\n- openstack-tox-functional-py36 https://zuul.opendev.org/t/openstack/build/a0a6f2929f4249aab3abdcbba65881bf : SUCCESS in 5m 52s\n- openstack-tox-functional-py37 https://zuul.opendev.org/t/openstack/build/b8899eddf6c947fa82881028d2f073be : SUCCESS in 7m 50s\n- openstack-tox-functional-py38 https://zuul.opendev.org/t/openstack/build/1accc78eb1d44fb690255a565cd7b57e : SUCCESS in 6m 17s\n- openstack-tox-functional-py39 https://zuul.opendev.org/t/openstack/build/dc7bffbe587d4cdc8874d7ddf0ea5ded : SUCCESS in 6m 43s (non-voting)\n- placement-nova-tox-functional-py38 https://zuul.opendev.org/t/openstack/build/0b854ac881f2449297ab3ca0f3ca0266 : SUCCESS in 17m 26s\n- placement-nested-perfload https://zuul.opendev.org/t/openstack/build/7c927e64f07447a89544c29359307781 : SUCCESS in 24m 56s (non-voting)\n- placement-perfload https://zuul.opendev.org/t/openstack/build/19e4da8210fa4f89af66ebb238f66dcb : SUCCESS in 14m 07s (non-voting)\n- tempest-ipv6-only https://zuul.opendev.org/t/openstack/build/e6e61cc47dfe409eb4e8d056045055de : SUCCESS in 38m 17s","accounts_in_message":[],"_revision_number":1},{"id":"9bc8feee19431f8311914f4922451adc658c8250","author":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"date":"2021-09-02 16:09:34.000000000","message":"Patch Set 1: Code-Review+2\n\n(3 comments)\n\nNicely done, thank you for finding and fixing this. LGTM.","accounts_in_message":[],"_revision_number":1},{"id":"65f5887ef286a166217becdf351e73e191f671f0","author":{"_account_id":10135,"name":"Lee Yarwood","display_name":"Lee Yarwood","email":"lyarwood@redhat.com","username":"lyarwood"},"date":"2021-09-13 10:29:56.000000000","message":"Patch Set 1: Code-Review+2 Workflow+1\n\n(2 comments)\n\nLGTM, thanks for fixing this!","accounts_in_message":[],"_revision_number":1},{"id":"75e8a850c33fbec0cf9c2baf374ad3e7713b382c","tag":"autogenerated:zuul:gate","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2021-09-13 10:30:29.000000000","message":"Patch Set 1: -Verified\n\nStarting gate jobs.","accounts_in_message":[],"_revision_number":1},{"id":"a56a4b2314f2b8a92337bd4d76c8214629a80802","tag":"autogenerated:zuul:gate","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2021-09-13 11:57:53.000000000","message":"Patch Set 1: Verified+2\n\nBuild succeeded (gate pipeline).\n\n- grenade https://zuul.opendev.org/t/openstack/build/8573f82d418140fba06f631cb8bab975 : SUCCESS in 1h 15m 07s\n- tempest-integrated-placement https://zuul.opendev.org/t/openstack/build/10ecc66e7a364c60bd7af688dada708c : SUCCESS in 1h 13m 32s\n- openstack-tox-lower-constraints https://zuul.opendev.org/t/openstack/build/3f213ceedf0f4a6290f8bec84aa74fde : SUCCESS in 7m 14s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/5de2892aa613459a835bfc23b0527e2a : SUCCESS in 6m 04s\n- openstack-tox-py36 https://zuul.opendev.org/t/openstack/build/7d187b82835e4ce7a5fd3680386697e3 : SUCCESS in 5m 32s\n- openstack-tox-py38 https://zuul.opendev.org/t/openstack/build/c79c57b4c9ce42529f54f33dd6c6d4ed : SUCCESS in 6m 47s\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/f1e7d8303c7243848bf2889b2da41813 : SUCCESS in 8m 39s\n- openstack-tox-functional-py36 https://zuul.opendev.org/t/openstack/build/0a5d6f419ec342039bb39b36ac9025fc : SUCCESS in 6m 18s\n- openstack-tox-functional-py37 https://zuul.opendev.org/t/openstack/build/c9412707053649829cb63704cd967b93 : SUCCESS in 7m 15s\n- openstack-tox-functional-py38 https://zuul.opendev.org/t/openstack/build/46a7daa258f44f1c8df61a4fd858a7ba : SUCCESS in 6m 54s\n- placement-nova-tox-functional-py38 https://zuul.opendev.org/t/openstack/build/8e6114f820f8461a93422b7d27467167 : SUCCESS in 15m 30s\n- tempest-ipv6-only https://zuul.opendev.org/t/openstack/build/3c06974f484b4eb98330218289feb5b4 : SUCCESS in 49m 30s","accounts_in_message":[],"_revision_number":1},{"id":"5f7ead40edd25f9aa4ba812fe59c8c55cf322c01","tag":"autogenerated:gerrit:merged","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2021-09-13 11:57:53.000000000","message":"Change has been successfully merged by Zuul","accounts_in_message":[],"_revision_number":1},{"id":"c8286b8d50a911cecabc897900b96bd7709abfec","tag":"autogenerated:zuul:promote","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2021-09-13 11:59:54.000000000","message":"Patch Set 1:\n\nBuild succeeded (promote pipeline).\n\n- promote-openstack-tox-docs https://zuul.opendev.org/t/openstack/build/68c7c6ca2338440eb30a650a5bc4ca8c : SUCCESS in 1m 00s","accounts_in_message":[],"_revision_number":1}],"current_revision_number":1,"current_revision":"e9b6a2ec253491771b9c900b32c1370e4d334984","revisions":{"e9b6a2ec253491771b9c900b32c1370e4d334984":{"kind":"REWORK","_number":1,"created":"2021-09-02 14:04:13.000000000","uploader":{"_account_id":9708,"name":"Balazs Gibizer","display_name":"gibi","email":"gibizer@gmail.com","username":"gibi"},"ref":"refs/changes/55/807155/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/placement","ref":"refs/changes/55/807155/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/placement refs/changes/55/807155/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/placement refs/changes/55/807155/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/placement refs/changes/55/807155/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/placement refs/changes/55/807155/1"}}},"commit":{"parents":[{"commit":"40a756c7b3bb8e94ee4b008543181c2e4cb69627","subject":"Reproduce 404 when allocation queried with 1.38","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/placement/commit/40a756c7b3bb8e94ee4b008543181c2e4cb69627"}]}],"author":{"name":"Balazs Gibizer","email":"balazs.gibizer@est.tech","date":"2021-09-02 13:54:44.000000000","tz":120},"committer":{"name":"Balazs Gibizer","email":"balazs.gibizer@est.tech","date":"2021-09-02 13:59:56.000000000","tz":120},"subject":"Fix adding \u0027unknown\u0027 to the ConsumerTypeCache","message":"Fix adding \u0027unknown\u0027 to the ConsumerTypeCache\n\nThe attribute cache added for consumer types in\nI32499b2616e253a06f8a003fd3eef91006b58f42. It added the\n`unknown` value to the cache as that is not persisted. But it\nmixed up which internal dict represents which direction of\nthe cache and only populated one direction of the cache.\nThis is causes lookup errors for allocation with\nconsumer_type_id \u003d None.\n\nThe cache is fixed now.\n\nStory: 2009167\nTask: 43183\nChange-Id: I232acaad8b350b3cf924dd7a59d97eb8ad5d0fcc\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/placement/commit/e9b6a2ec253491771b9c900b32c1370e4d334984"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/placement/commit/e9b6a2ec253491771b9c900b32c1370e4d334984"}]},"branch":"refs/heads/master"}},"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":{}}}]}
