See image below. How can I be using 38 vcpus on a compute with 24 total? Is this an error in horizon? [cid:988b50f9-b9c8-4ccc-9240-90f2d1ff3df6]
On Mon, 2022-06-27 at 13:12 +0000, Russell Stather wrote:
See image below. How can I be using 38 vcpus on a compute with 24 total? Is this an error in horizon? no by defualt nova is configured for a 16:1 cpu allocation ratio. https://docs.openstack.org/nova/latest/configuration/config.html#DEFAULT.ini...
we normmaly dont recommend seting that over about 4 i have a patch i need to rebase ot change that to 4 https://review.opendev.org/c/openstack/nova/+/830829 so no its not a horizon bug.
[cid:988b50f9-b9c8-4ccc-9240-90f2d1ff3df6]
Thank you understood. ________________________________ From: Sean Mooney <smooney@redhat.com> Sent: 27 June 2022 15:44 To: Russell Stather <Russell.Stather@ignitiongroup.co.za>; openstack-discuss@lists.openstack.org <openstack-discuss@lists.openstack.org> Subject: Re: How is this overallocation possible? On Mon, 2022-06-27 at 13:12 +0000, Russell Stather wrote:
See image below. How can I be using 38 vcpus on a compute with 24 total? Is this an error in horizon? no by defualt nova is configured for a 16:1 cpu allocation ratio. https://docs.openstack.org/nova/latest/configuration/config.html#DEFAULT.ini...
we normmaly dont recommend seting that over about 4 i have a patch i need to rebase ot change that to 4 https://review.opendev.org/c/openstack/nova/+/830829 so no its not a horizon bug.
[cid:988b50f9-b9c8-4ccc-9240-90f2d1ff3df6]
If I recall correctly, default CPU allocation ratio is 16. Which means you can multiply CPU cores by 16 and it will be fine. Please check https://docs.openstack.org/nova/yoga/admin/scheduling.html#allocation-ratios for more details on that. Horizon just don't know what ratio is set so shows just CPU cores of compute. пн, 27 июн. 2022 г., 15:31 Russell Stather < Russell.Stather@ignitiongroup.co.za>:
See image below. How can I be using 38 vcpus on a compute with 24 total? Is this an error in horizon?
On Mon, 2022-06-27 at 15:50 +0200, Dmitriy Rabotyagov wrote:
If I recall correctly, default CPU allocation ratio is 16. Which means you can multiply CPU cores by 16 and it will be fine. Please check https://docs.openstack.org/nova/yoga/admin/scheduling.html#allocation-ratios for more details on that.
Horizon just don't know what ratio is set so shows just CPU cores of compute.
ya there has been a long runnign feature request for horizon to deprecate this interface and replace it with one based on placement resouce providers going forward. by long running i mean like 3+ year before placment was split out of nova. so i really dont know if that is even on the horizon projects radar to go fix anymore but hopfully that will get fixed eventually. the allocation ratios resveation amoutns and other info is aviabel in placment it also woudl allow horizon to see other resouce like vgpus, mdevs, pinned vs unpinned cpus and in the futrue pci devices. its a rather large feature but horizon should more or less consider the hypervior api deprecated. we have not deprecatedd all parts of the api but in general we would prefer if horizon did not use it and instead uses placment. https://specs.openstack.org/openstack/nova-specs/specs/wallaby/implemented/m... covers the most recent change to the hypervior api in wallaby but the desire to move away form using it is much older then that.
пн, 27 июн. 2022 г., 15:31 Russell Stather < Russell.Stather@ignitiongroup.co.za>:
See image below. How can I be using 38 vcpus on a compute with 24 total? Is this an error in horizon?
Thank you , got it. ________________________________ From: Dmitriy Rabotyagov <noonedeadpunk@gmail.com> Sent: 27 June 2022 15:50 Cc: openstack-discuss <openstack-discuss@lists.openstack.org> Subject: Re: How is this overallocation possible? If I recall correctly, default CPU allocation ratio is 16. Which means you can multiply CPU cores by 16 and it will be fine. Please check https://docs.openstack.org/nova/yoga/admin/scheduling.html#allocation-ratios for more details on that. Horizon just don't know what ratio is set so shows just CPU cores of compute. пн, 27 июн. 2022 г., 15:31 Russell Stather <Russell.Stather@ignitiongroup.co.za<mailto:Russell.Stather@ignitiongroup.co.za>>: See image below. How can I be using 38 vcpus on a compute with 24 total? Is this an error in horizon? [cid:988b50f9-b9c8-4ccc-9240-90f2d1ff3df6]
participants (3)
-
Dmitriy Rabotyagov
-
Russell Stather
-
Sean Mooney