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
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.
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.
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