[Airship-discuss] How to enable hugepages

Georg Kunz georg.kunz at ericsson.com
Tue Jan 22 14:03:41 UTC 2019


Hi Airship community,

I have been trying to use hugepages in my Airship deployment, but failed to get it to work in my particular development environment. Some advice would be greatly appreciated.

My development environment is a multi-node Airship-in-a-bottle gate [1] to which Matt pointed me some time ago. This environment defines a "GenericVM" hardware profile [2]. According to the Drydock documentation, I can enable hugepages in a hardware profile by adding a "hugepages" attribute [3][4]. However, when doing this in the multi-gate environment as shown here [5], the deployment (using ."/gate.sh multimode_deploy") fails with an error stating "Additional properties are not allowed ('hugepages' was unexpected)" [6]

When checking the HardwareProfile defined in /tmp/<something>/site_yaml/deployment_files.yaml, it is missing the hugepages attribute. This could explain why Shipyard is complaining.

My questions:

i)                    Why is Shipyard complaining about the additional "hugepages" attribute? The HardwareProfile schema in treasuremap does list the "hugepages" attribute.

ii)                   Why is hugepages missing from the overall deployment_files.yaml?

iii)                 How do I enable hugepages the right way?

[1] https://github.com/openstack/airship-in-a-bottle/tree/master/tools/multi_nodes_gate
[2] https://github.com/openstack/airship-in-a-bottle/blob/master/deployment_files/site/gate-multinode/profile/hardware/generic_vm.yaml
[3] https://airshipit.readthedocs.io/projects/drydock/en/latest/topology.html#hardware-profile
[4] https://github.com/openstack/airship-treasuremap/blob/master/global/schemas/drydock/HardwareProfile/v1.yaml
[5] https://hastebin.com/paboxagori.cs
[6] https://hastebin.com/uzepikenol.py

Thanks a lot!

Best regards
Georg

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.airshipit.org/pipermail/airship-discuss/attachments/20190122/419260f2/attachment-0001.html>


More information about the Airship-discuss mailing list