)]}'
{"id":"openstack%2Fplacement~679440","triplet_id":"openstack%2Fplacement~master~Ib57ba2e046acb0e5b0f717d85557caf40fa0d515","project":"openstack/placement","branch":"master","topic":"bp/support-consumer-types","hashtags":[],"change_id":"Ib57ba2e046acb0e5b0f717d85557caf40fa0d515","subject":"Consumer_types: the database and object bits","status":"ABANDONED","created":"2019-08-30 13:09:44.000000000","updated":"2019-09-02 09:40:38.000000000","total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"4c4366d5972e9d97afbfeb5029bcac7b5c625d51","_number":679440,"virtual_id_number":679440,"owner":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"actions":{},"labels":{"Verified":{"disliked":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"all":[{"value":-1,"date":"2019-08-30 19:36:08.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":"2019-08-30 19:36:08.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":"b4eddfd49147679dc5b9a516e7a282ec1d2fe20a","author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"date":"2019-08-30 13:09:44.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"df1ded59efdb24c0f6d69ba0f94c18b5bca0c42e","author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"date":"2019-08-30 13:11:22.000000000","message":"Uploaded patch set 2: Commit message was updated.","accounts_in_message":[],"_revision_number":2},{"id":"34fd3c6279457466de3abb88946efa5c5a06c75e","author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"date":"2019-08-30 16:14:18.000000000","message":"Uploaded patch set 3.","accounts_in_message":[],"_revision_number":3},{"id":"45a06e077a0229c3f79ce68f9ded7604a311ee2c","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2019-08-30 19:36:08.000000000","message":"Patch Set 3: Verified-1\n\nBuild failed (check pipeline).  For information on how to proceed, see\nhttp://docs.openstack.org/infra/manual/developers.html#automated-testing\n\n\n- grenade-py3 https://zuul.opendev.org/t/openstack/build/aa197477fa8e4efda913a7a15c9aa77e : FAILURE in 54m 20s\n- tempest-integrated-placement https://zuul.opendev.org/t/openstack/build/ec6a77d13ce045c689b26da4a4b3d89d : SUCCESS in 1h 19m 02s\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/e494411ecc7441168b3c6e7561b32400 : SUCCESS in 6m 31s\n- openstack-tox-cover https://zuul.opendev.org/t/openstack/build/5f658052bf4945a89dcb2f2492f0d26d : SUCCESS in 7m 29s\n- openstack-tox-lower-constraints https://zuul.opendev.org/t/openstack/build/d30d0534b026427d81fe2aed83e40719 : FAILURE in 8m 03s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/47015a6537224935a340dd0d546cd208 : SUCCESS in 5m 11s\n- openstack-tox-py27 https://zuul.opendev.org/t/openstack/build/099dd5ed98f84511849c37d320f9a9c4 : SUCCESS in 5m 05s\n- openstack-tox-py36 https://zuul.opendev.org/t/openstack/build/ed961ecc80484aa1bd022820ec5dae1c : SUCCESS in 6m 15s\n- openstack-tox-py37 https://zuul.opendev.org/t/openstack/build/7d7c18dfe90b40b89dd3e5b0b2f4820f : SUCCESS in 4m 57s\n- openstack-tox-functional https://zuul.opendev.org/t/openstack/build/e66ba745597c4600838f77127eed46a9 : SUCCESS in 6m 35s\n- openstack-tox-functional-py36 https://zuul.opendev.org/t/openstack/build/3160a7c0780e4a40a8c96cb3726ab29c : SUCCESS in 7m 37s\n- openstack-tox-functional-py37 https://zuul.opendev.org/t/openstack/build/e65873c44ce0431bb56217efc3b35bd3 : SUCCESS in 7m 12s\n- placement-nova-tox-functional-py37 https://zuul.opendev.org/t/openstack/build/ecfce5ff54b74ee5ac1f7c135b391efd : SUCCESS in 13m 29s\n- placement-nested-perfload https://zuul.opendev.org/t/openstack/build/bfd4e252c27b42bcb41958aad4ea9420 : SUCCESS in 19m 42s (non-voting)\n- placement-perfload https://zuul.opendev.org/t/openstack/build/e27c0a9eb0c448ab8098b68e37528fd1 : SUCCESS in 12m 51s (non-voting)\n- tempest-ipv6-only https://zuul.opendev.org/t/openstack/build/50ee31c208544a57aa1867e1a4f6eb1a : SUCCESS in 1h 14m 06s","accounts_in_message":[],"_revision_number":3},{"id":"ef57acb15b768e1b504b7a3345aad35b4bd267e2","author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"date":"2019-09-02 09:40:38.000000000","message":"Abandoned\n\nthis has been collapsed into Ic74c3d1b8aa272e9c7d1070fe7658b928e693889","accounts_in_message":[],"_revision_number":3}],"current_revision_number":3,"current_revision":"6f678e53236438bf2f6943aa85d0dd18c1b6dbdd","revisions":{"9d678eaa2e4537e9355811e4e7da3950bdd72655":{"kind":"REWORK","_number":1,"created":"2019-08-30 13:09:44.000000000","uploader":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"ref":"refs/changes/40/679440/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/placement","ref":"refs/changes/40/679440/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/placement refs/changes/40/679440/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/placement refs/changes/40/679440/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/placement refs/changes/40/679440/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/placement refs/changes/40/679440/1"}}},"commit":{"parents":[{"commit":"30e3ad1c47849cb557f867aab7c4ed9b0c4a4e59","subject":"Add consumer_types table and consumer_type_id column to consumers","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/placement/commit/30e3ad1c47849cb557f867aab7c4ed9b0c4a4e59"}]}],"author":{"name":"Chris Dent","email":"cdent@anticdent.org","date":"2019-08-30 12:00:05.000000000","tz":60},"committer":{"name":"Chris Dent","email":"cdent@anticdent.org","date":"2019-08-30 12:51:03.000000000","tz":60},"subject":"WIP: Consumer_types: the database and object bits","message":"WIP: Consumer_types: the database and object bits\n\nWIP: needs tests\n\nIn advance of a microversion 1.37, add the necessary database and object\ncode to support saving consumer types when creating consumers and\nreporting those types when requesting usage information.\n\nA consumer type object is added, similar to trait and resource class.\nLike those there is a set of default data which needs to be ensured\nat process startup time. In this case it is one row in the table:\nID 1 with value UNKNOWN. This is the default value for an\nunspecified consumer type.\n\nIn future changes we may wish to AttributeCache consumer types in\nthe same way that traits and resource classes are cached.\n\nUsage object can now be retrieved by consumer type and include\nconsumer type information when retrieved. Until 1.37 that info\nwill not be used in results.\n\nAllocations are written and retrieved with a consumer type but\nthe data is not yet presented in HTTP requests.\n\nStory: 2005473\nTask: 36420\nChange-Id: Ib57ba2e046acb0e5b0f717d85557caf40fa0d515\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/placement/commit/9d678eaa2e4537e9355811e4e7da3950bdd72655"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/placement/commit/9d678eaa2e4537e9355811e4e7da3950bdd72655"}]},"branch":"refs/heads/master"},"f142f623d59a64ee71874f8285ef1a5871819c46":{"kind":"NO_CODE_CHANGE","_number":2,"created":"2019-08-30 13:11:22.000000000","uploader":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"ref":"refs/changes/40/679440/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/placement","ref":"refs/changes/40/679440/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/placement refs/changes/40/679440/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/placement refs/changes/40/679440/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/placement refs/changes/40/679440/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/placement refs/changes/40/679440/2"}}},"commit":{"parents":[{"commit":"30e3ad1c47849cb557f867aab7c4ed9b0c4a4e59","subject":"Add consumer_types table and consumer_type_id column to consumers","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/placement/commit/30e3ad1c47849cb557f867aab7c4ed9b0c4a4e59"}]}],"author":{"name":"Chris Dent","email":"cdent@anticdent.org","date":"2019-08-30 12:00:05.000000000","tz":60},"committer":{"name":"Chris Dent","email":"cdent@anticdent.org","date":"2019-08-30 13:10:46.000000000","tz":60},"subject":"WIP: Consumer_types: the database and object bits","message":"WIP: Consumer_types: the database and object bits\n\nWIP: needs tests\n\nIn advance of a microversion 1.37, add the necessary database and object\ncode to support saving consumer types when creating consumers and\nreporting those types when requesting usage information.\n\nA consumer type object is added, similar to trait and resource class.\nLike those there is a set of default data which needs to be ensured\nat process startup time. In this case it is one row in the table:\nID 1 with value UNKNOWN. This is the default value for an\nunspecified consumer type.\n\nIn future changes we may wish to AttributeCache consumer types in\nthe same way that traits and resource classes are cached.\n\nUsage object can now be retrieved by consumer type and include\nconsumer type information when retrieved. Until 1.37 that info\nwill not be used in results.\n\nAllocations are written and retrieved with a consumer type but\nthe data is not yet presented in HTTP requests.\n\nStory: 2005473\nTask: 36420\nCo-Authored-By: Surya Seetharaman \u003csuryaseetharaman.9@gmail.com\u003e\nChange-Id: Ib57ba2e046acb0e5b0f717d85557caf40fa0d515\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/placement/commit/f142f623d59a64ee71874f8285ef1a5871819c46"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/placement/commit/f142f623d59a64ee71874f8285ef1a5871819c46"}]},"branch":"refs/heads/master"},"6f678e53236438bf2f6943aa85d0dd18c1b6dbdd":{"kind":"REWORK","_number":3,"created":"2019-08-30 16:14:18.000000000","uploader":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"ref":"refs/changes/40/679440/3","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/placement","ref":"refs/changes/40/679440/3","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/placement refs/changes/40/679440/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/placement refs/changes/40/679440/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/placement refs/changes/40/679440/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/placement refs/changes/40/679440/3"}}},"commit":{"parents":[{"commit":"30e3ad1c47849cb557f867aab7c4ed9b0c4a4e59","subject":"Add consumer_types table and consumer_type_id column to consumers","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/placement/commit/30e3ad1c47849cb557f867aab7c4ed9b0c4a4e59"}]}],"author":{"name":"Chris Dent","email":"cdent@anticdent.org","date":"2019-08-30 12:00:05.000000000","tz":60},"committer":{"name":"Chris Dent","email":"cdent@anticdent.org","date":"2019-08-30 15:16:49.000000000","tz":60},"subject":"Consumer_types: the database and object bits","message":"Consumer_types: the database and object bits\n\nIn advance of a microversion 1.37, add the necessary database and object\ncode to support saving consumer types when creating consumers and\nreporting those types when requesting usage information.\n\nA consumer type object is added, similar to trait and resource class.\nLike those there is a set of default data which needs to be ensured\nat process startup time. In this case it is one row in the table:\nID 1 with value UNKNOWN. This is the default value for an\nunspecified consumer type.\n\nIn future changes we may wish to AttributeCache consumer types in\nthe same way that traits and resource classes are cached.\n\nUsage object can now be retrieved by consumer type and include\nconsumer type information when retrieved. Until 1.37 that info\nwill not be used in results.\n\nAllocations are written and retrieved with a consumer type but\nthe data is not yet presented in HTTP requests.\n\nStory: 2005473\nTask: 36420\nCo-Authored-By: Surya Seetharaman \u003csuryaseetharaman.9@gmail.com\u003e\nChange-Id: Ib57ba2e046acb0e5b0f717d85557caf40fa0d515\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/placement/commit/6f678e53236438bf2f6943aa85d0dd18c1b6dbdd"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/placement/commit/6f678e53236438bf2f6943aa85d0dd18c1b6dbdd"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
