Bug 1546400 - [RFE][Deployment] Add a way to configure reserved_huge_pages in OSP 10 and above
Summary: [RFE][Deployment] Add a way to configure reserved_huge_pages in OSP 10 and above
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: puppet-nova
Version: 10.0 (Newton)
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: Upstream M2
: 14.0 (Rocky)
Assignee: Ollie Walsh
QA Contact: Joe H. Rahme
URL:
Whiteboard:
Depends On:
Blocks: 1546403 1571820 1571825 1571828 1571833 1696711 1732839 1800560 1800677
TreeView+ depends on / blocked
 
Reported: 2018-02-16 23:51 UTC by Andreas Karis
Modified: 2022-08-09 11:22 UTC (History)
15 users (show)

Fixed In Version: puppet-nova-13.1.1-0.20180709142740.fa5ce48.el7ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 1571820 (view as bug list)
Environment:
Last Closed: 2019-01-11 11:48:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 555076 0 'None' MERGED Expose reserved_huge_pages param 2021-02-01 19:57:57 UTC
Red Hat Issue Tracker OSP-8830 0 None None None 2022-08-09 11:22:37 UTC
Red Hat Knowledge Base (Solution) 3250441 0 None None None 2018-02-17 08:07:32 UTC
Red Hat Product Errata RHEA-2019:0045 0 None None None 2019-01-11 11:49:12 UTC

Description Andreas Karis 2018-02-16 23:51:08 UTC
Description of problem:
For NFV deployments, users need to be able to configure DEFAULT/reserved_huge_pages in /etc/nova/nova.conf

E.g.:
~~~
[DEFAULT]
reserved_huge_pages=node:0,size:1GB,count:4
reserved_huge_pages=node:1,size:1GB,count:4
~~~

See https://access.redhat.com/solutions/3250441 for why this is needed.

See https://access.redhat.com/solutions/3356561 for a current workaround.

Thanks and kind regards,

Andreas

Comment 1 Sven Anderson 2018-02-23 17:14:37 UTC
Would it be enough in this case (for OSP10) to just expose the setting to be manually set from tripleO/director? Or does this setting need to be automatically synchronized with other settings, like boot parameters of the kernel? The latter would not be feasible for OSP10, I guess. However, just exposing a way to set DEFAULT/reserved_huge_pages should be feasible though.

Comment 2 Saravanan KR 2018-02-26 05:59:40 UTC
IMO, puppet-nova should apply the settings provided by templates, which will be either set by user (via DPDK environment file), as ovs requires those to be reserved in case of DPDK enabled OVS. I don't see a need to automatic synchronize for it. 

I am not sure what happens when hugepages is not enabled in the host but nova is configured with this reservation. If this validation to be performed, puppet-nova could ensure if huge-pages are enabled before applying it, else could fail the deployment.

Comment 13 errata-xmlrpc 2019-01-11 11:48:46 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2019:0045


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