)]}'
{"id":"openstack%2Fnova~748252","triplet_id":"openstack%2Fnova~stable%2Fussuri~Id39aaaac09585ca1a754b669351c86e234b89dd9","project":"openstack/nova","branch":"stable/ussuri","topic":"bug/1889633","hashtags":[],"change_id":"Id39aaaac09585ca1a754b669351c86e234b89dd9","subject":"hardware: Reject requests for no hyperthreads on hosts with HT","status":"MERGED","created":"2020-08-26 14:54:30.000000000","updated":"2020-08-28 03:38:23.000000000","submitted":"2020-08-28 03:35:03.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":"748252-1598585703091-038e877c","meta_rev_id":"9247c29e036dc5a54a544c6b62f84dc372958174","_number":748252,"virtual_id_number":748252,"owner":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"all":[{"value":0,"date":"2020-08-26 15:20:38.000000000","_account_id":26515,"name":"Cloudbase Nova Hyper-V CI","email":"nova_hyperv_ci@cloudbasesolutions.com","username":"nova_hyperv_ci"},{"value":0,"date":"2020-08-26 18:31:33.000000000","_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":17685,"name":"Elod Illes","email":"elod.illes@est.tech","username":"elod.illes"},{"value":0,"date":"2020-08-27 02:10:11.000000000","permitted_voting_range":{"min":0,"max":1},"_account_id":10118,"name":"IBM PowerKVM CI","email":"kvmpower@linux.vnet.ibm.com","username":"powerkvm","tags":["SERVICE_USER"]},{"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":"2020-08-28 03:35:02.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":17685,"name":"Elod Illes","email":"elod.illes@est.tech","username":"elod.illes"},"all":[{"value":0,"_account_id":26515,"name":"Cloudbase Nova Hyper-V CI","email":"nova_hyperv_ci@cloudbasesolutions.com","username":"nova_hyperv_ci"},{"value":0,"_account_id":14595,"name":"z Systems KVM","email":"zkvm-ci@linux.vnet.ibm.com","username":"ibm-zkvm-ci","tags":["SERVICE_USER"]},{"value":2,"date":"2020-08-27 16:30:25.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":17685,"name":"Elod Illes","email":"elod.illes@est.tech","username":"elod.illes"},{"value":0,"_account_id":10118,"name":"IBM PowerKVM CI","email":"kvmpower@linux.vnet.ibm.com","username":"powerkvm","tags":["SERVICE_USER"]},{"value":2,"date":"2020-08-26 15:10:16.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":17685,"name":"Elod Illes","email":"elod.illes@est.tech","username":"elod.illes"},"all":[{"value":0,"_account_id":26515,"name":"Cloudbase Nova Hyper-V CI","email":"nova_hyperv_ci@cloudbasesolutions.com","username":"nova_hyperv_ci"},{"value":0,"_account_id":14595,"name":"z Systems KVM","email":"zkvm-ci@linux.vnet.ibm.com","username":"ibm-zkvm-ci","tags":["SERVICE_USER"]},{"value":1,"date":"2020-08-27 16:30:25.000000000","permitted_voting_range":{"min":1,"max":1},"_account_id":17685,"name":"Elod Illes","email":"elod.illes@est.tech","username":"elod.illes"},{"value":0,"_account_id":10118,"name":"IBM PowerKVM CI","email":"kvmpower@linux.vnet.ibm.com","username":"powerkvm","tags":["SERVICE_USER"]},{"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":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true},"Review-Priority":{"all":[{"value":0,"_account_id":26515,"name":"Cloudbase Nova Hyper-V CI","email":"nova_hyperv_ci@cloudbasesolutions.com","username":"nova_hyperv_ci"},{"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":17685,"name":"Elod Illes","email":"elod.illes@est.tech","username":"elod.illes"},{"value":0,"_account_id":10118,"name":"IBM PowerKVM CI","email":"kvmpower@linux.vnet.ibm.com","username":"powerkvm","tags":["SERVICE_USER"]},{"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":[],"reviewers":{"REVIEWER":[{"_account_id":10118,"name":"IBM PowerKVM CI","email":"kvmpower@linux.vnet.ibm.com","username":"powerkvm","tags":["SERVICE_USER"]},{"_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":17685,"name":"Elod Illes","email":"elod.illes@est.tech","username":"elod.illes"},{"_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":"2020-08-26 15:10:16.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":"2020-08-26 15:20:38.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":"2020-08-26 18:31:33.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":"2020-08-27 02:10:11.000000000","updated_by":{"_account_id":10118,"name":"IBM PowerKVM CI","email":"kvmpower@linux.vnet.ibm.com","username":"powerkvm","tags":["SERVICE_USER"]},"reviewer":{"_account_id":10118,"name":"IBM PowerKVM CI","email":"kvmpower@linux.vnet.ibm.com","username":"powerkvm","tags":["SERVICE_USER"]},"state":"REVIEWER"},{"updated":"2020-08-27 16:30:25.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":"2020-08-28 03:35:02.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":"890036b92bb6bbe5d1c8f352e9ee5e06b8d0b8ad","author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"date":"2020-08-26 14:54:30.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"93192674f5a30794138b646b1428e235e644a7de","author":{"_account_id":10135,"name":"Lee Yarwood","display_name":"Lee Yarwood","email":"lyarwood@redhat.com","username":"lyarwood"},"date":"2020-08-26 15:10:16.000000000","message":"Patch Set 1: Code-Review+2\n\nLGTM, clean, merged in master and well tested by the previously introduced func tests.","accounts_in_message":[],"_revision_number":1},{"id":"c4370a65ae75dc8609af5bd4739200a219f4b0d3","author":{"_account_id":26515,"name":"Cloudbase Nova Hyper-V CI","email":"nova_hyperv_ci@cloudbasesolutions.com","username":"nova_hyperv_ci"},"date":"2020-08-26 15:20:38.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/748252/1 : FAILURE in 23m 31s","accounts_in_message":[],"_revision_number":1},{"id":"586852e6e122e47351bdb13a4738d726dd00fb68","author":{"_account_id":14595,"name":"z Systems KVM","email":"zkvm-ci@linux.vnet.ibm.com","username":"ibm-zkvm-ci","tags":["SERVICE_USER"]},"date":"2020-08-26 18:31:33.000000000","message":"Patch Set 1:\n\nTesting failed ubuntu-bionic-s390x. For rechecking only on the ubuntu-bionic-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-bionic-s390x http://extbasicopstackcilog01.podc.sl.edst.ibm.com/zkvm_test_logs/production/748252/1/check-tempest-dsvm-neutron-full-ubuntu-bionic-s390x/c866e30 : FAILURE in 11m 34s","accounts_in_message":[],"_revision_number":1},{"id":"056be7df1ec91c6418d01b3d4216d8cdb7c44e8e","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2020-08-26 20:11:16.000000000","message":"Patch Set 1: Verified+1\n\nBuild succeeded (check pipeline).\n\n- grenade https://zuul.opendev.org/t/openstack/build/6e7331fed4e248a68f74462fc97de104 : SUCCESS in 50m 11s\n- tempest-integrated-compute https://zuul.opendev.org/t/openstack/build/86d40baedf8043c9b9ccc3856e79dbce : SUCCESS in 1h 21m 24s\n- openstack-tox-cover https://zuul.opendev.org/t/openstack/build/b5c386643f4e47e98a2924883923773a : SUCCESS in 16m 05s\n- openstack-tox-lower-constraints https://zuul.opendev.org/t/openstack/build/a896b31b5f484010b5d86ae0bdba2ed9 : SUCCESS in 14m 14s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/8c0dadfb0056468e9d555da145c01fb4 : SUCCESS in 7m 29s\n- openstack-tox-py36 https://zuul.opendev.org/t/openstack/build/1bfedc45bee5419fa8d24b00e050d1fb : SUCCESS in 14m 44s\n- openstack-tox-py37 https://zuul.opendev.org/t/openstack/build/97c48dcf513a4712b9ad8f8ae7c9eb1f : SUCCESS in 14m 34s\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/5ec3d1e921b745a2b69eaac2122e5778 : SUCCESS in 11m 05s\n- build-openstack-releasenotes https://zuul.opendev.org/t/openstack/build/f81647df47564e2097e9e63c79a8c10a : SUCCESS in 14m 30s\n- ironic-tempest-ipa-wholedisk-bios-agent_ipmitool-tinyipa https://zuul.opendev.org/t/openstack/build/2d068dc4ea2849d3934aef6853449caf : TIMED_OUT in 1h 33m 38s (non-voting)\n- devstack-plugin-ceph-tempest-py3 https://zuul.opendev.org/t/openstack/build/19687ae8c26d47a1bc4a9a56d4d216b6 : SUCCESS in 1h 04m 14s (non-voting)\n- nova-grenade-multinode https://zuul.opendev.org/t/openstack/build/a0ace94c2e2446799ea8d885fd05b1c6 : SUCCESS in 1h 29m 35s\n- nova-live-migration https://zuul.opendev.org/t/openstack/build/69290c11124145ea8fd8e4192559bb69 : SUCCESS in 57m 30s\n- nova-multi-cell https://zuul.opendev.org/t/openstack/build/a88dca26df9a487a9c529d2b4372a1ca : SUCCESS in 1h 28m 50s\n- nova-next https://zuul.opendev.org/t/openstack/build/e5edc47bdbd5457aaa74ef4d1f52391e : SUCCESS in 1h 25m 37s\n- nova-tox-functional-py36 https://zuul.opendev.org/t/openstack/build/b7b248b65c684e898a963e1252a16524 : SUCCESS in 17m 19s\n- tempest-ipv6-only https://zuul.opendev.org/t/openstack/build/4274f3e1c41745d8b50c56a9f9b7cae9 : SUCCESS in 50m 27s\n- openstacksdk-functional-devstack https://zuul.opendev.org/t/openstack/build/fa9371c9d19147b1a34abc2aa2164d88 : SUCCESS in 52m 45s\n- cyborg-tempest https://zuul.opendev.org/t/openstack/build/47712fe18de945a798a0cb68ae445b2e : SUCCESS in 43m 51s (non-voting)","accounts_in_message":[],"_revision_number":1},{"id":"addb6abba9f540b232152346a72d63934a80f710","author":{"_account_id":10118,"name":"IBM PowerKVM CI","email":"kvmpower@linux.vnet.ibm.com","username":"powerkvm","tags":["SERVICE_USER"]},"date":"2020-08-27 02:10:11.000000000","message":"Patch Set 1:\n\nBuild succeeded. Test completed on IBM PowerKVM platform. For rechecking only on the IBM PowerKVM CI, add a review comment with pkvm- recheck. For contact and more information, see https://wiki.openstack.org/wiki/PowerKVM\n\n- tempest-dsvm-full-bionic https://oplab9.parqtec.unicamp.br/pub/ppc64el/openstack/nova/52/748252/1/check/tempest-dsvm-full-bionic/1f5fa75/ : SUCCESS in 1h 40m 20s\n- tempest-dsvm-full-bionic-py3 https://oplab9.parqtec.unicamp.br/pub/ppc64el/openstack/nova/52/748252/1/check/tempest-dsvm-full-bionic-py3/afb32df/ : SUCCESS in 2h 05m 22s\n- grenade-dsvm-bionic https://oplab9.parqtec.unicamp.br/pub/ppc64el/openstack/nova/52/748252/1/check/grenade-dsvm-bionic/e6e8a20/ : POST_FAILURE in 1h 50m 40s (non-voting)","accounts_in_message":[],"_revision_number":1},{"id":"233d274bf3aac179c99067cb01beb0b0e777bbcd","author":{"_account_id":17685,"name":"Elod Illes","email":"elod.illes@est.tech","username":"elod.illes"},"date":"2020-08-27 16:30:25.000000000","message":"Patch Set 1: Code-Review+2 Workflow+1\n\nI was a bit hesitant with this, but reading through the bug report and the reviews on master this patch is implemented for backporting till Train. Nevertheless, it\u0027s a clean cherry pick and merged in master as Lee said.","accounts_in_message":[],"_revision_number":1},{"id":"f0e2e2eee48a2205c332a15cabca5a00499af869","tag":"autogenerated:zuul:gate","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2020-08-27 22:55:12.000000000","message":"Patch Set 1: -Verified\n\nStarting gate jobs.","accounts_in_message":[],"_revision_number":1},{"id":"6c45215b2f786d7df5f6e8c035eff5863045f175","tag":"autogenerated:zuul:gate","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2020-08-28 03:35:02.000000000","message":"Patch Set 1: Verified+2\n\nBuild succeeded (gate pipeline).\n\n- grenade https://zuul.opendev.org/t/openstack/build/44a43c25a5b246c8a53742d4025f4b27 : SUCCESS in 1h 10m 38s\n- tempest-integrated-compute https://zuul.opendev.org/t/openstack/build/c96f36d300234c60ae91937491499231 : SUCCESS in 1h 20m 34s\n- openstack-tox-lower-constraints https://zuul.opendev.org/t/openstack/build/6b892eea2d49400582f513d1f0b9e821 : SUCCESS in 15m 15s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/a70e0d0702e8462ca122cb1fd0f63e77 : SUCCESS in 7m 09s\n- openstack-tox-py36 https://zuul.opendev.org/t/openstack/build/48ab5496279842c7bbdd1ca90daa692e : SUCCESS in 12m 43s\n- openstack-tox-py37 https://zuul.opendev.org/t/openstack/build/7abdea5846984cc181101babb33477e1 : SUCCESS in 12m 51s\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/abb9ae6026354e6aa4adf3b5453bc19d : SUCCESS in 13m 51s\n- build-openstack-releasenotes https://zuul.opendev.org/t/openstack/build/19a6590183624f668d27f66b3e9884a3 : SUCCESS in 13m 08s\n- nova-grenade-multinode https://zuul.opendev.org/t/openstack/build/eac1c5c62b9b4ee5ad5a898a374d3374 : SUCCESS in 1h 27m 37s\n- nova-live-migration https://zuul.opendev.org/t/openstack/build/5fca32b200034806ac5879459fc0e153 : SUCCESS in 43m 48s\n- nova-tox-functional-py36 https://zuul.opendev.org/t/openstack/build/4c8ae05fc57a4f29857335473a904007 : SUCCESS in 17m 57s\n- nova-multi-cell https://zuul.opendev.org/t/openstack/build/fbd956003b4f47c483c9e5248f2ca761 : SUCCESS in 1h 16m 26s\n- nova-next https://zuul.opendev.org/t/openstack/build/28dc8349f14d4c559af1760ce7acf955 : SUCCESS in 1h 19m 31s\n- tempest-ipv6-only https://zuul.opendev.org/t/openstack/build/5e75fb9be0854c169e493a734c22c46a : SUCCESS in 1h 01m 01s\n- openstacksdk-functional-devstack https://zuul.opendev.org/t/openstack/build/c7cb1ec860aa4b5f91233890e657a9da : SUCCESS in 59m 06s","accounts_in_message":[],"_revision_number":1},{"id":"beaff2f2dd924861615de4043cceef391d1a6846","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2020-08-28 03:35:03.000000000","message":"Change has been successfully merged by Zuul","accounts_in_message":[],"_revision_number":1},{"id":"c3ba175f92537be3000d1c0ce3cb385fefaba3f5","tag":"autogenerated:zuul:promote","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2020-08-28 03:38:23.000000000","message":"Patch Set 1:\n\nBuild succeeded (promote pipeline).\n\n- promote-openstack-tox-docs https://zuul.opendev.org/t/openstack/build/ebed719edd7c4198928970ff86a25cce : SUCCESS in 55s\n- promote-openstack-releasenotes https://zuul.opendev.org/t/openstack/build/568ba1f310ee48f6b1984a7ecb4fc696 : SUCCESS in 1m 13s","accounts_in_message":[],"_revision_number":1}],"current_revision_number":1,"current_revision":"7ddab327675d36a4ba59d02d22d042d418236336","revisions":{"7ddab327675d36a4ba59d02d22d042d418236336":{"kind":"REWORK","_number":1,"created":"2020-08-26 14:54:30.000000000","uploader":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"ref":"refs/changes/52/748252/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/nova","ref":"refs/changes/52/748252/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/nova refs/changes/52/748252/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/nova refs/changes/52/748252/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/nova refs/changes/52/748252/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/nova refs/changes/52/748252/1"}}},"commit":{"parents":[{"commit":"49a793c8ee7a9be26e4e3d6ddd097a6ee6fea29d","subject":"tests: Add reproducer for bug #1889633","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/49a793c8ee7a9be26e4e3d6ddd097a6ee6fea29d"}]}],"author":{"name":"Stephen Finucane","email":"stephenfin@redhat.com","date":"2020-07-30 16:36:24.000000000","tz":60},"committer":{"name":"Stephen Finucane","email":"stephenfin@redhat.com","date":"2020-08-26 14:49:51.000000000","tz":60},"subject":"hardware: Reject requests for no hyperthreads on hosts with HT","message":"hardware: Reject requests for no hyperthreads on hosts with HT\n\nAttempting to boot an instance with \u0027hw:cpu_policy\u003ddedicated\u0027 will\nresult in a request from nova-scheduler to placement for allocation\ncandidates with $flavor.vcpu \u0027PCPU\u0027 inventory. Similarly, booting an\ninstance with \u0027hw:cpu_thread_policy\u003disolate\u0027 will result in a request\nfor allocation candidates with \u0027HW_CPU_HYPERTHREADING\u003dforbidden\u0027, i.e.\nhosts without hyperthreading. This has been the case since the\ncpu-resources feature was implemented in Train. However, as part of that\nwork and to enable upgrades from hosts that predated Train, we also make\na second request for candidates with $flavor.vcpu \u0027VCPU\u0027 inventory. The\nidea behind this is that old compute nodes would only report \u0027VCPU\u0027 and\nshould be useable, and any new compute nodes that got caught up in this\nsecond request could never actually be scheduled to since there wouldn\u0027t\nbe enough cores from \u0027ComputeNode.numa_topology.cells.[*].pcpuset\u0027\navailable to schedule to, resulting in rejection by the\n\u0027NUMATopologyFilter\u0027. However, if a host was rejected in the first\nquery because it reported the \u0027HW_CPU_HYPERTHREADING\u0027 trait, it could\nget picked up by the second query and would happily be scheduled to,\nresulting in an instance consuming \u0027VCPU\u0027 inventory from a host that\nproperly supported \u0027PCPU\u0027 inventory.\n\nThe solution is simply, though also a huge hack. If we detect that the\nhost is using new style configuration and should be able to report\n\u0027PCPU\u0027, check if the instance asked for no hyperthreading and whether\nthe host has it. If all are True, reject the request.\n\nChange-Id: Id39aaaac09585ca1a754b669351c86e234b89dd9\nSigned-off-by: Stephen Finucane \u003cstephenfin@redhat.com\u003e\nCloses-Bug: #1889633\n(cherry picked from commit 9c270332041d6b98951c0b57d7b344fd551a413c)\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/7ddab327675d36a4ba59d02d22d042d418236336"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/7ddab327675d36a4ba59d02d22d042d418236336"}]},"branch":"refs/heads/stable/ussuri"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
