[Airship-discuss] How to enable hugepages
georg.kunz at ericsson.com
Tue Jan 22 17:09:53 UTC 2019
Thank you for the pointers. In the meantime I also noticed that the HardwareProfile schema in AIAB  does not contain the hugepages attributes (yet) in contrast to the
schema in treasuremap . This likely answers my questions i) and ii) from below.
I'll take a look at the files you mentioned and extend the HardwareProfile schema in AIAB for testing purposes.
From: SKELS, KASPARS <ks3019 at att.com>
Sent: Tuesday, January 22, 2019 5:59 PM
To: Georg Kunz <georg.kunz at ericsson.com>
Cc: airship-discuss at lists.airshipit.org
Subject: RE: How to enable hugepages
our main deployment reference treasuremap (https://github.com/openstack/airship-treasuremap) doesn't have right now good samples for huge pages but you can find a few in the test section of Drydock..
* For hardware profile
* And there are also kernel related parameters available to set
From: Georg Kunz [mailto:georg.kunz at ericsson.com]
Sent: Tuesday, January 22, 2019 8:04 AM
To: airship-discuss at lists.airshipit.org<mailto:airship-discuss at lists.airshipit.org>
Subject: [Airship-discuss] How to enable hugepages
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  to which Matt pointed me some time ago. This environment defines a "GenericVM" hardware profile . According to the Drydock documentation, I can enable hugepages in a hardware profile by adding a "hugepages" attribute . However, when doing this in the multi-gate environment as shown here , the deployment (using ."/gate.sh multimode_deploy") fails with an error stating "Additional properties are not allowed ('hugepages' was unexpected)" 
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.
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?
Thanks a lot!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Airship-discuss