Setting Hugepages from the director

Latest response

Hi,

When creating the overcloud from the undercloud, I would like to set the hugepages as described in the document below. But everytime I run the overcloud deploy, I get a failure saying that the compute_kernel_args parameter must be a string. It is already a string as shown in the document. Is this a documentation error or a bug or am I missing something?

https://access.redhat.com/documentation/en/red-hat-openstack-platform/10/single/network-functions-virtualization-configuration-guide/#ap-sriov-network-environment

from the deployment logs:
"overcloud", "resource_status": "CREATE_FAILED", "resource_status_reason": "Resource CREATE failed: resources.NodeUserData: resources.Compute.resources[0].Property error: resources.compute_kernel_args.properties.config: Value must be a string", "physical_resource_id": "af726733-824c-40b7-ae2c-829e7d7f47c7", "id": "4761e91d-e0cc-4733-a1b7-3c6c2376c0e3"}]

from my network-environment.yaml:
## Kernel arguments for Compute node
ComputeKernelArgs: "default_hugepagesz=1GB hugepagesz=1G hugepages=32 iommu=pt intel_iommu=on"

thanks

Responses

For any newbie to yaml like myself, check your yaml files and the indetation if you have this problem. fixed it by correcting them

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.