Bug 2022371 - [RFE] Implement global THT parameter to run containers on specific CPU set [NEEDINFO]
Summary: [RFE] Implement global THT parameter to run containers on specific CPU set
Keywords:
Status: NEW
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 17.0 (Wallaby)
Hardware: All
OS: All
medium
high
Target Milestone: ---
: ---
Assignee: OSP Team
QA Contact: Joe H. Rahme
URL:
Whiteboard:
Depends On: 2126476
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-11 13:53 UTC by Alex Stupnikov
Modified: 2023-09-15 18:38 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:
tvainio: needinfo? (rhos-maint)


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 828662 0 None MERGED Add OVNContainerCpusetCpus 2022-12-23 06:30:25 UTC
Red Hat Issue Tracker OSP-10765 0 None None None 2021-11-11 13:58:10 UTC

Description Alex Stupnikov 2021-11-11 13:53:14 UTC
Description of problem:

One of our VIP customers struggled to deploy overcloud with pCPUs from NovaComputeCpuSharedSet list being isolated from OS processes: CPU affinity of containerized composable services seem to be global, so he failed to do this using tuned.

When I tried to understand if there is a workaround from TripleO perspective, I have found out that paunch supports setting various memory limits and defining CPU sets for specific containers [1]. cpuset_cpus setting should be translated via composable service's configuration, but currently such option is only implemented for nova-libvirt container [2] (there is no such options for different containers/composable services).

I am reporting this RFE to ask TripleO team to implement some THT variable that limits cpuset for ALL containers when is is set. Setting severity to High to ensure that this would be addressed in RHOSP 17 as this feature is quite important to customer.


[1]
https://github.com/openstack/paunch/blob/stable/train/paunch/builder/podman.py

[2]
https://github.com/openstack/tripleo-heat-templates/blob/stable/train/deployment/nova/nova-libvirt-container-puppet.yaml#L259

[3]
https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.2/html-single/advanced_overcloud_customization/index#sect-Using_Customized_Overcloud_Heat_Templates


Note You need to log in before you can comment on or make changes to this bug.