Hi Thiago,I have configured the worker as mentioned in the given link and dedicated cpu_policy set in the flavor.Instance creation failed with the following error.No valid host was found. There are not enough hosts available.
controller-0:~$ openstack flavor show dn.large -c properties
+------------+--------------------------------------------------------------------------------------------------------+
| Field | Value |
+------------+--------------------------------------------------------------------------------------------------------+
| properties | hw:cpu_cores='2', hw:cpu_policy='dedicated', hw:cpu_sockets='1', hw:cpu_threads='2', hw:numa_nodes='1' |
+------------+--------------------------------------------------------------------------------------------------------+
Regards,DanishkaOn Tue, Dec 7, 2021 at 1:18 AM Brito, Thiago <Thiago.Brito@windriver.com> wrote:Hi Danishka,
Whatever you configure on the platform as Application-isolated core for a node will get to cpu_dedicated_set on stx-openstack. Please check this doc: https://docs.starlingx.io/r/stx.5.0/admintasks/openstack/configure-dedicated-and-shared-cpu-pools-on-hosts.htmlThiago
From: open infra <openinfradn@gmail.com>
Sent: Monday, December 6, 2021 3:15 PM
To: starlingx-discuss@lists.starlingx.io <starlingx-discuss@lists.starlingx.io>
Subject: [Starlingx-discuss] How to enable cpu_dedicated_set[Please note: This e-mail is from an EXTERNAL e-mail address]
Hi,
Is the cpu_dedicated_set is already enabled in stx based openstack?How to verify and enable it?
Regards,Danishka