)]}'
{"id":"openstack%2Fnova~676514","triplet_id":"openstack%2Fnova~stable%2Frocky~Iafba419fe86446ffe636721f523fb619f8f787b3","project":"openstack/nova","branch":"stable/rocky","topic":"bug/1839560","hashtags":[],"change_id":"Iafba419fe86446ffe636721f523fb619f8f787b3","subject":"Restore soft-deleted compute node with same uuid","status":"MERGED","created":"2019-08-14 20:19:16.000000000","updated":"2019-08-29 18:22:11.000000000","submitted":"2019-08-29 18:22:11.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":"676514-1567102931751-1d8aaa17","meta_rev_id":"76a9a985a3288466ff342e6092e54308ec74f377","_number":676514,"virtual_id_number":676514,"owner":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"all":[{"value":2,"date":"2019-08-29 18:22:11.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"value":0,"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},{"value":0,"_account_id":10135,"name":"Lee Yarwood","display_name":"Lee Yarwood","email":"lyarwood@redhat.com","username":"lyarwood"},{"value":0,"date":"2019-08-15 17:08:10.000000000","_account_id":14595,"name":"z Systems KVM","email":"zkvm-ci@linux.vnet.ibm.com","username":"ibm-zkvm-ci","tags":["SERVICE_USER"]},{"value":0,"date":"2019-08-16 01:56:40.000000000","_account_id":26515,"name":"Cloudbase Nova Hyper-V CI","email":"nova_hyperv_ci@cloudbasesolutions.com","username":"nova_hyperv_ci"}],"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":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":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},{"value":2,"date":"2019-08-29 14:29:35.000000000","_account_id":10135,"name":"Lee Yarwood","display_name":"Lee Yarwood","email":"lyarwood@redhat.com","username":"lyarwood"},{"value":0,"_account_id":14595,"name":"z Systems KVM","email":"zkvm-ci@linux.vnet.ibm.com","username":"ibm-zkvm-ci","tags":["SERVICE_USER"]},{"value":0,"_account_id":26515,"name":"Cloudbase Nova Hyper-V CI","email":"nova_hyperv_ci@cloudbasesolutions.com","username":"nova_hyperv_ci"}],"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":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},{"value":1,"date":"2019-08-29 14:29:35.000000000","_account_id":10135,"name":"Lee Yarwood","display_name":"Lee Yarwood","email":"lyarwood@redhat.com","username":"lyarwood"},{"value":0,"_account_id":14595,"name":"z Systems KVM","email":"zkvm-ci@linux.vnet.ibm.com","username":"ibm-zkvm-ci","tags":["SERVICE_USER"]},{"value":0,"_account_id":26515,"name":"Cloudbase Nova Hyper-V CI","email":"nova_hyperv_ci@cloudbasesolutions.com","username":"nova_hyperv_ci"}],"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":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},{"value":0,"_account_id":10135,"name":"Lee Yarwood","display_name":"Lee Yarwood","email":"lyarwood@redhat.com","username":"lyarwood"},{"value":0,"_account_id":14595,"name":"z Systems KVM","email":"zkvm-ci@linux.vnet.ibm.com","username":"ibm-zkvm-ci","tags":["SERVICE_USER"]},{"value":0,"_account_id":26515,"name":"Cloudbase Nova Hyper-V CI","email":"nova_hyperv_ci@cloudbasesolutions.com","username":"nova_hyperv_ci"}],"values":{" 0":"Default Priority","+1":"Contributor Review Promise","+2":"Core Review Promise"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},{"_account_id":10135,"name":"Lee Yarwood","display_name":"Lee Yarwood","email":"lyarwood@redhat.com","username":"lyarwood"},{"_account_id":14595,"name":"z Systems KVM","email":"zkvm-ci@linux.vnet.ibm.com","username":"ibm-zkvm-ci","tags":["SERVICE_USER"]},{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"_account_id":26515,"name":"Cloudbase Nova Hyper-V CI","email":"nova_hyperv_ci@cloudbasesolutions.com","username":"nova_hyperv_ci"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2019-08-15 17:08:10.000000000","updated_by":{"_account_id":14595,"name":"z Systems KVM","email":"zkvm-ci@linux.vnet.ibm.com","username":"ibm-zkvm-ci","tags":["SERVICE_USER"]},"reviewer":{"_account_id":14595,"name":"z Systems KVM","email":"zkvm-ci@linux.vnet.ibm.com","username":"ibm-zkvm-ci","tags":["SERVICE_USER"]},"state":"REVIEWER"},{"updated":"2019-08-16 01:56:40.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":"REVIEWER"},{"updated":"2019-08-29 14:29:35.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"},{"updated":"2019-08-29 18:22:11.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":"7db9d910e576e7603e6f22ef143440619f9c2e75","author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"date":"2019-08-14 20:19:16.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"d65db13d02667d056b49a79695a89c527828d712","author":{"_account_id":14595,"name":"z Systems KVM","email":"zkvm-ci@linux.vnet.ibm.com","username":"ibm-zkvm-ci","tags":["SERVICE_USER"]},"date":"2019-08-14 20:20:30.000000000","message":"Patch Set 1:\n\nTesting failed ubuntu-xenial-s390x. For rechecking only on the ubuntu-xenial-s390x CI, add a review comment with recheck-zkvm. Contact info: zkvm-ci@linux.vnet.ibm.com. For more information, see https://wiki.openstack.org/wiki/ThirdPartySystems/IBM_zKVM_CI\n\n- check-tempest-dsvm-neutron-full-ubuntu-xenial-s390x http://sng01.objectstorage.softlayer.net/v1/AUTH_1940ea10-6e82-4501-b2f9-eb236510e575/ibmzkvmci/production/676514/1/check-tempest-dsvm-neutron-full-ubuntu-xenial-s390x/d8555ba : NOT_REGISTERED","accounts_in_message":[],"_revision_number":1},{"id":"2c4962329ef59c3b7d8b0b69afad096a37c69d27","author":{"_account_id":26515,"name":"Cloudbase Nova Hyper-V CI","email":"nova_hyperv_ci@cloudbasesolutions.com","username":"nova_hyperv_ci"},"date":"2019-08-14 22:26:12.000000000","message":"Patch Set 1:\n\nFor rechecking only on the Cloudbase Nova Hyper-V CI, add a review comment with run-Cloudbase Nova Hyper-V CI\n\n- nova http://cloudbase-ci.com/nova/676514/1 : FAILURE in 2h 05m 35s","accounts_in_message":[],"_revision_number":1},{"id":"704723bbf1b7cd6a32cc14ce4cc5f74b5e3075db","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2019-08-14 22:51:11.000000000","message":"Patch Set 1: 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- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/55326a3d6eb941a3ab8b526e817f68c0 : SUCCESS in 9m 52s\n- openstack-tox-py27 https://zuul.opendev.org/t/openstack/build/d58962cd01d24d70b26adeea7392b86c : SUCCESS in 14m 35s\n- openstack-tox-py35 https://zuul.opendev.org/t/openstack/build/859fa5acc5c84f55be7a4fb6bd19e883 : SUCCESS in 16m 00s\n- build-openstack-sphinx-docs https://zuul.opendev.org/t/openstack/build/95f04c5f78cb45cc96c08a087b59407e : SUCCESS in 7m 11s\n- tempest-full https://zuul.opendev.org/t/openstack/build/e43663cd4f86483b9e1dddc5705adabf : SUCCESS in 1h 38m 14s\n- neutron-grenade https://zuul.opendev.org/t/openstack/build/e17ee1122c2d42f396d51b630ceb70d7 : SUCCESS in 58m 23s\n- tempest-full-py3 https://zuul.opendev.org/t/openstack/build/46d678bae8ad4570a8fc260fb14aee1f : SUCCESS in 1h 18m 59s\n- ironic-tempest-dsvm-ipa-wholedisk-bios-agent_ipmitool-tinyipa https://zuul.opendev.org/t/openstack/build/1e8dc4b747704395be1688e1196c946e : FAILURE in 38m 30s (non-voting)\n- nova-cells-v1 https://zuul.opendev.org/t/openstack/build/ad8798f7e0f94e12b0bf05a25a216368 : SUCCESS in 49m 57s\n- nova-grenade-live-migration https://zuul.opendev.org/t/openstack/build/fe87baba0d2f4c87a5c2969dd084debb : SUCCESS in 1h 14m 04s (non-voting)\n- nova-live-migration https://zuul.opendev.org/t/openstack/build/3c9ef6ef28854ddcb58317300ff3cd82 : SUCCESS in 59m 56s\n- nova-multiattach https://zuul.opendev.org/t/openstack/build/5f0563231c7a4188aad3c60fb529e79f : SUCCESS in 1h 02m 38s\n- nova-next https://zuul.opendev.org/t/openstack/build/b1bbc4e24d4b4371a0e64f153cafd1a7 : SUCCESS in 1h 34m 49s\n- tempest-slow https://zuul.opendev.org/t/openstack/build/020d887ad748438aa124abfb9603faa2 : SUCCESS in 2h 06m 40s\n- nova-tox-functional https://zuul.opendev.org/t/openstack/build/250b8af655bc4971898fdfb8c3b87b8a : FAILURE in 20m 53s\n- nova-tox-functional-py35 https://zuul.opendev.org/t/openstack/build/4bbea247eefa4c8da87888c1adba3590 : FAILURE in 16m 00s\n- openstack-tox-lower-constraints https://zuul.opendev.org/t/openstack/build/6a7001758aca4560898053c292f39ee3 : SUCCESS in 13m 25s\n- neutron-grenade-multinode https://zuul.opendev.org/t/openstack/build/4e719ff121654c099c2ed6284c25ae1b : SUCCESS in 1h 03m 51s\n- devstack-plugin-ceph-tempest https://zuul.opendev.org/t/openstack/build/481784cac5774e94986fef6a7830f652 : FAILURE in 1h 19m 56s (non-voting)\n- tempest-multinode-full https://zuul.opendev.org/t/openstack/build/4b3cbdc2fe5e4d378b8844b669ff889b : SUCCESS in 1h 30m 54s (non-voting)","accounts_in_message":[],"_revision_number":1},{"id":"887511b3d2f87fe8f23b01a5874cba3b13cb48ee","author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"date":"2019-08-15 16:04:41.000000000","message":"Patch Set 1: Workflow-1\n\nNeed to re-cherry-pick this from Stein.","accounts_in_message":[],"_revision_number":1},{"id":"77084614262210caed575ca1af3621af168d8567","author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"date":"2019-08-15 16:43:22.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"38e3d52233c2d286362d876498fcf9cc147a96df","author":{"_account_id":14595,"name":"z Systems KVM","email":"zkvm-ci@linux.vnet.ibm.com","username":"ibm-zkvm-ci","tags":["SERVICE_USER"]},"date":"2019-08-15 17:08:10.000000000","message":"Patch Set 2:\n\nTesting failed ubuntu-xenial-s390x. For rechecking only on the ubuntu-xenial-s390x CI, add a review comment with recheck-zkvm. Contact info: zkvm-ci@linux.vnet.ibm.com. For more information, see https://wiki.openstack.org/wiki/ThirdPartySystems/IBM_zKVM_CI\n\n- check-tempest-dsvm-neutron-full-ubuntu-xenial-s390x http://sng01.objectstorage.softlayer.net/v1/AUTH_1940ea10-6e82-4501-b2f9-eb236510e575/ibmzkvmci/production/676514/2/check-tempest-dsvm-neutron-full-ubuntu-xenial-s390x/3a40201 : NOT_REGISTERED","accounts_in_message":[],"_revision_number":2},{"id":"50b7ecf4062cfc47d9b48ac7c65752f1e39c5768","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2019-08-15 19:26:15.000000000","message":"Patch Set 2: Verified+1\n\nBuild succeeded (check pipeline).\n\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/845af5ac9b6b4d2ebf6d031977af0ee3 : SUCCESS in 10m 52s\n- openstack-tox-py27 https://zuul.opendev.org/t/openstack/build/9710b32e78cc48a2ae51b01c676a82b2 : SUCCESS in 16m 26s\n- openstack-tox-py35 https://zuul.opendev.org/t/openstack/build/7619e5a66ef849a081c2df32c46320d0 : SUCCESS in 15m 30s\n- build-openstack-sphinx-docs https://zuul.opendev.org/t/openstack/build/8fb5ea706ab147618396cdc1cfcfeb8c : SUCCESS in 8m 02s\n- tempest-full https://zuul.opendev.org/t/openstack/build/380f0fa7a176433ebdfdb2ad4dc61501 : SUCCESS in 1h 29m 29s\n- neutron-grenade https://zuul.opendev.org/t/openstack/build/6ded9f252c724bbdb2dae8620bc10f12 : SUCCESS in 1h 03m 29s\n- tempest-full-py3 https://zuul.opendev.org/t/openstack/build/b37671a646b440268a0e680a45ce4503 : SUCCESS in 1h 28m 30s\n- ironic-tempest-dsvm-ipa-wholedisk-bios-agent_ipmitool-tinyipa https://zuul.opendev.org/t/openstack/build/97165c783faa46cc824a1bc06dfe607c : SUCCESS in 53m 08s (non-voting)\n- nova-cells-v1 https://zuul.opendev.org/t/openstack/build/e70648e6190d4a2dadd7e30e83c93d1f : SUCCESS in 1h 03m 37s\n- nova-grenade-live-migration https://zuul.opendev.org/t/openstack/build/e38cd99dcb69416a9abb68edd8a17dcf : SUCCESS in 1h 24m 39s (non-voting)\n- nova-live-migration https://zuul.opendev.org/t/openstack/build/9eccb59c548b43d99f0eaf8530d57e11 : SUCCESS in 49m 37s\n- nova-multiattach https://zuul.opendev.org/t/openstack/build/615adabaf45149b3acaa5c687508fe82 : SUCCESS in 1h 01m 29s\n- nova-next https://zuul.opendev.org/t/openstack/build/50cfbc60ee454b78acbf2786be669a1a : SUCCESS in 1h 51m 37s\n- tempest-slow https://zuul.opendev.org/t/openstack/build/b951efd5105f4294bb6d8f50f755aebb : SUCCESS in 2h 11m 35s\n- nova-tox-functional https://zuul.opendev.org/t/openstack/build/4600ef01d3634a36b60651d2e138187e : SUCCESS in 20m 53s\n- nova-tox-functional-py35 https://zuul.opendev.org/t/openstack/build/9d7f4663f5224ca9b271a476c867fb6e : SUCCESS in 17m 04s\n- openstack-tox-lower-constraints https://zuul.opendev.org/t/openstack/build/8ac15bca338148d1949adf2cf067b67c : SUCCESS in 12m 31s\n- neutron-grenade-multinode https://zuul.opendev.org/t/openstack/build/f6eb2e3c519645beaf6a7e24b7909af7 : SUCCESS in 1h 10m 19s\n- devstack-plugin-ceph-tempest https://zuul.opendev.org/t/openstack/build/71ce0c9f695b4d61904486ddb7e11bf7 : SUCCESS in 1h 06m 54s (non-voting)\n- tempest-multinode-full https://zuul.opendev.org/t/openstack/build/17aa4d142f6749bcab67c75cb0ace1ca : SUCCESS in 1h 48m 57s (non-voting)","accounts_in_message":[],"_revision_number":2},{"id":"68fac318efc6402a19e0d6acb04571deead98d3a","author":{"_account_id":26515,"name":"Cloudbase Nova Hyper-V CI","email":"nova_hyperv_ci@cloudbasesolutions.com","username":"nova_hyperv_ci"},"date":"2019-08-16 01:56:40.000000000","message":"Patch Set 2:\n\nBuild succeeded.\n\n- nova http://cloudbase-ci.com/nova/676514/2 : SUCCESS in 2h 05m 56s","accounts_in_message":[],"_revision_number":2},{"id":"adb62b2b986134c1d2e834bf59e263caa9ac99b3","author":{"_account_id":10135,"name":"Lee Yarwood","display_name":"Lee Yarwood","email":"lyarwood@redhat.com","username":"lyarwood"},"date":"2019-08-29 14:29:35.000000000","message":"Patch Set 2: Code-Review+2 Workflow+1\n\nLGTM, a well tested useful bugfix, merged in stable/stein and somehow clean back to stable/rocky. Approving as this is from another Nova stable core.","accounts_in_message":[],"_revision_number":2},{"id":"9350b49c49d83e4cd671ef1e8688e5dfb8f616af","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2019-08-29 14:30:12.000000000","message":"Patch Set 2: -Verified\n\nStarting gate jobs.","accounts_in_message":[],"_revision_number":2},{"id":"a9b4c0d17912c95890840ae4dddbdf6dd5e0ae55","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2019-08-29 18:22:11.000000000","message":"Change has been successfully merged by Zuul","accounts_in_message":[],"_revision_number":2},{"id":"3fa935706e565e9af69040cd0d983785a3803d70","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2019-08-29 18:22:11.000000000","message":"Patch Set 2: Verified+2\n\nBuild succeeded (gate pipeline).\n\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/956f00ddf65d497aae0e5b90d9555d19 : SUCCESS in 12m 26s\n- openstack-tox-py27 https://zuul.opendev.org/t/openstack/build/e4e5a5904d9a4313a5769e5ad841e550 : SUCCESS in 18m 36s\n- openstack-tox-py35 https://zuul.opendev.org/t/openstack/build/22bbcbf6fef34b18a304df17a56321c9 : SUCCESS in 14m 22s\n- build-openstack-sphinx-docs https://zuul.opendev.org/t/openstack/build/475a9e03b5ca482db67b601d9d2529f6 : SUCCESS in 9m 23s\n- tempest-full https://zuul.opendev.org/t/openstack/build/dcb5ecea1f3f43ef9c2304328b5165d2 : SUCCESS in 1h 43m 03s\n- neutron-grenade https://zuul.opendev.org/t/openstack/build/c7029261c5e745dfa88ac4642017414c : SUCCESS in 1h 15m 56s\n- tempest-full-py3 https://zuul.opendev.org/t/openstack/build/3d27da79c80f4cccb6e6c0e48604b9a6 : SUCCESS in 1h 28m 48s\n- nova-cells-v1 https://zuul.opendev.org/t/openstack/build/9f2227a6a6134bfb9afb124d8264d74b : SUCCESS in 1h 11m 41s\n- nova-live-migration https://zuul.opendev.org/t/openstack/build/3a6060ac4ce345e188ea3b9838e99ef8 : SUCCESS in 46m 36s\n- nova-multiattach https://zuul.opendev.org/t/openstack/build/a07bdf8803b04eef82a80e4cfa0ac2fe : SUCCESS in 56m 57s\n- nova-next https://zuul.opendev.org/t/openstack/build/46d2ce12b29441768d9b05c4210b0244 : SUCCESS in 2h 12m 17s\n- tempest-slow https://zuul.opendev.org/t/openstack/build/b299bbe0c5a5401b801ec943913ab46b : SUCCESS in 2h 09m 42s\n- nova-tox-functional https://zuul.opendev.org/t/openstack/build/ea58077294c14099b9cb0827a1af321e : SUCCESS in 18m 19s\n- nova-tox-functional-py35 https://zuul.opendev.org/t/openstack/build/7eca5ec4a6004ebdbe5d502797992269 : SUCCESS in 26m 04s\n- openstack-tox-lower-constraints https://zuul.opendev.org/t/openstack/build/f8f298b9b4fb4d7d819af709af107867 : SUCCESS in 18m 11s","accounts_in_message":[],"_revision_number":2}],"current_revision_number":2,"current_revision":"9ce94844fa6a43368445182bb086876874256197","revisions":{"aa38fc7734f2395beb5e7f8e52a69dc70682c7fd":{"kind":"REWORK","_number":1,"created":"2019-08-14 20:19:16.000000000","uploader":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"ref":"refs/changes/14/676514/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/nova","ref":"refs/changes/14/676514/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/nova refs/changes/14/676514/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/nova refs/changes/14/676514/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/nova refs/changes/14/676514/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/nova refs/changes/14/676514/1"}}},"commit":{"parents":[{"commit":"30f1f9d266dfd7557ca0a8b64195a9c1567d46d2","subject":"Add functional regression recreate test for bug 1839560","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/30f1f9d266dfd7557ca0a8b64195a9c1567d46d2"}]}],"author":{"name":"Matt Riedemann","email":"mriedem.os@gmail.com","date":"2019-08-12 18:39:16.000000000","tz":-240},"committer":{"name":"Matt Riedemann","email":"mriedem.os@gmail.com","date":"2019-08-14 20:16:43.000000000","tz":-240},"subject":"Restore soft-deleted compute node with same uuid","message":"Restore soft-deleted compute node with same uuid\n\nThere is a unique index on the compute_nodes.uuid column which\nmeans we can\u0027t have more than one compute_nodes record in the\nsame DB with the same UUID even if one is soft deleted because\nthe deleted column is not part of that unique index constraint.\n\nThis is a problem with ironic nodes where the node is 1:1 with\nthe compute node record, and when a node is undergoing maintenance\nthe driver doesn\u0027t return it from get_available_nodes() so the\nComputeManager.update_available_resource periodic task (soft)\ndeletes the compute node record, but when the node is no longer\nunder maintenance in ironic and the driver reports it, the\nResourceTracker._init_compute_node code will fail to create the\nComputeNode record again because of the duplicate uuid.\n\nThis change handles the DBDuplicateEntry error in compute_node_create\nby finding the soft-deleted compute node with the same uuid and\nsimply updating it to no longer be (soft) deleted.\n\nCloses-Bug: #1839560\n\nChange-Id: Iafba419fe86446ffe636721f523fb619f8f787b3\n(cherry picked from commit 8b007266f438ec0a5a797d05731cce6f2b155f4c)\n(cherry picked from commit aa21f87040cf688b7093ff6d96797ea5c3c6fafd)\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/aa38fc7734f2395beb5e7f8e52a69dc70682c7fd"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/aa38fc7734f2395beb5e7f8e52a69dc70682c7fd"}]},"branch":"refs/heads/stable/rocky"},"9ce94844fa6a43368445182bb086876874256197":{"kind":"REWORK","_number":2,"created":"2019-08-15 16:43:22.000000000","uploader":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"ref":"refs/changes/14/676514/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/nova","ref":"refs/changes/14/676514/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/nova refs/changes/14/676514/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/nova refs/changes/14/676514/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/nova refs/changes/14/676514/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/nova refs/changes/14/676514/2"}}},"commit":{"parents":[{"commit":"ecd1e046214e087dd484359f256386a3e8962ec1","subject":"Add functional regression recreate test for bug 1839560","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/ecd1e046214e087dd484359f256386a3e8962ec1"}]}],"author":{"name":"Matt Riedemann","email":"mriedem.os@gmail.com","date":"2019-08-12 18:39:16.000000000","tz":-240},"committer":{"name":"Matt Riedemann","email":"mriedem.os@gmail.com","date":"2019-08-15 16:09:54.000000000","tz":-240},"subject":"Restore soft-deleted compute node with same uuid","message":"Restore soft-deleted compute node with same uuid\n\nThere is a unique index on the compute_nodes.uuid column which\nmeans we can\u0027t have more than one compute_nodes record in the\nsame DB with the same UUID even if one is soft deleted because\nthe deleted column is not part of that unique index constraint.\n\nThis is a problem with ironic nodes where the node is 1:1 with\nthe compute node record, and when a node is undergoing maintenance\nthe driver doesn\u0027t return it from get_available_nodes() so the\nComputeManager.update_available_resource periodic task (soft)\ndeletes the compute node record, but when the node is no longer\nunder maintenance in ironic and the driver reports it, the\nResourceTracker._init_compute_node code will fail to create the\nComputeNode record again because of the duplicate uuid.\n\nThis change handles the DBDuplicateEntry error in compute_node_create\nby finding the soft-deleted compute node with the same uuid and\nsimply updating it to no longer be (soft) deleted.\n\nCloses-Bug: #1839560\n\nChange-Id: Iafba419fe86446ffe636721f523fb619f8f787b3\n(cherry picked from commit 8b007266f438ec0a5a797d05731cce6f2b155f4c)\n(cherry picked from commit 1b021665281b74c865d3571fc90772b52d70e467)\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/9ce94844fa6a43368445182bb086876874256197"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/9ce94844fa6a43368445182bb086876874256197"}]},"branch":"refs/heads/stable/rocky"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
