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 [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_nod... [2] https://github.com/openstack/airship-in-a-bottle/blob/master/deployment_file... [3] https://airshipit.readthedocs.io/projects/drydock/en/latest/topology.html#ha... [4] https://github.com/openstack/airship-treasuremap/blob/master/global/schemas/... [5] https://hastebin.com/paboxagori.cs [6] https://hastebin.com/uzepikenol.py Thanks a lot! Best regards Georg
Hi Georg, 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 https://github.com/openstack/airship-drydock/blob/master/python/tests/yaml_s... - And there are also kernel related parameters available to set https://github.com/openstack/airship-drydock/blob/master/python/tests/yaml_s... Kindly, Kaspars From: Georg Kunz [mailto:georg.kunz@ericsson.com] Sent: Tuesday, January 22, 2019 8:04 AM To: airship-discuss@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 [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<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_openstack_airship-2Din-2Da-2Dbottle_tree_master_tools_multi-5Fnodes-5Fgate&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=L2WcX1Ge33cpIHXX6krAgw&m=X5n2Y4d30rKQGwDZuqtoigAbf6rrdVKCzKzPXXm9R1g&s=TJoG6KeLdsNHpDdulGo59U4CgxnkDU-qYrNZh-4IX98&e=> [2] https://github.com/openstack/airship-in-a-bottle/blob/master/deployment_files/site/gate-multinode/profile/hardware/generic_vm.yaml<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_openstack_airship-2Din-2Da-2Dbottle_blob_master_deployment-5Ffiles_site_gate-2Dmultinode_profile_hardware_generic-5Fvm.yaml&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=L2WcX1Ge33cpIHXX6krAgw&m=X5n2Y4d30rKQGwDZuqtoigAbf6rrdVKCzKzPXXm9R1g&s=Iq2vfSoN_D0mXU_tTYWykV5CPXXhj2QNWfgu3rtytMk&e=> [3] https://airshipit.readthedocs.io/projects/drydock/en/latest/topology.html#hardware-profile<https://urldefense.proofpoint.com/v2/url?u=https-3A__airshipit.readthedocs.io_projects_drydock_en_latest_topology.html-23hardware-2Dprofile&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=L2WcX1Ge33cpIHXX6krAgw&m=X5n2Y4d30rKQGwDZuqtoigAbf6rrdVKCzKzPXXm9R1g&s=pPVq9KmdvdBdPdQ58Jg-MHtKsYU5xMkeaUUc2ddDA8s&e=> [4] https://github.com/openstack/airship-treasuremap/blob/master/global/schemas/drydock/HardwareProfile/v1.yaml<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_openstack_airship-2Dtreasuremap_blob_master_global_schemas_drydock_HardwareProfile_v1.yaml&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=L2WcX1Ge33cpIHXX6krAgw&m=X5n2Y4d30rKQGwDZuqtoigAbf6rrdVKCzKzPXXm9R1g&s=XFAy_8St6s4MmmmqYhiSZ7NfMgNQ5_XkSUrAtz39sRQ&e=> [5] https://hastebin.com/paboxagori.cs<https://urldefense.proofpoint.com/v2/url?u=https-3A__hastebin.com_paboxagori.cs&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=L2WcX1Ge33cpIHXX6krAgw&m=X5n2Y4d30rKQGwDZuqtoigAbf6rrdVKCzKzPXXm9R1g&s=VxD3LZzlwZPXbyRr7sUudLA79dAIJdn8EqbX3E_yxH0&e=> [6] https://hastebin.com/uzepikenol.py<https://urldefense.proofpoint.com/v2/url?u=https-3A__hastebin.com_uzepikenol.py&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=L2WcX1Ge33cpIHXX6krAgw&m=X5n2Y4d30rKQGwDZuqtoigAbf6rrdVKCzKzPXXm9R1g&s=hhoKxxH4GvelSBnq2NXvUf-5jeDudwCHTb6ft-AG734&e=> Thanks a lot! Best regards Georg
Hi Kaspars, Thank you for the pointers. In the meantime I also noticed that the HardwareProfile schema in AIAB [1] does not contain the hugepages attributes (yet) in contrast to the schema in treasuremap [2]. 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. [1] https://github.com/openstack/airship-in-a-bottle/blob/master/deployment_file... [2] https://github.com/openstack/airship-treasuremap/blob/master/global/schemas/... Best regards Georg From: SKELS, KASPARS <ks3019@att.com> Sent: Tuesday, January 22, 2019 5:59 PM To: Georg Kunz <georg.kunz@ericsson.com> Cc: airship-discuss@lists.airshipit.org Subject: RE: How to enable hugepages Hi Georg, 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 https://github.com/openstack/airship-drydock/blob/master/python/tests/yaml_s... * And there are also kernel related parameters available to set https://github.com/openstack/airship-drydock/blob/master/python/tests/yaml_s... Kindly, Kaspars From: Georg Kunz [mailto:georg.kunz@ericsson.com] Sent: Tuesday, January 22, 2019 8:04 AM To: airship-discuss@lists.airshipit.org<mailto:airship-discuss@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 [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<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_openstack_airship-2Din-2Da-2Dbottle_tree_master_tools_multi-5Fnodes-5Fgate&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=L2WcX1Ge33cpIHXX6krAgw&m=X5n2Y4d30rKQGwDZuqtoigAbf6rrdVKCzKzPXXm9R1g&s=TJoG6KeLdsNHpDdulGo59U4CgxnkDU-qYrNZh-4IX98&e=> [2] https://github.com/openstack/airship-in-a-bottle/blob/master/deployment_files/site/gate-multinode/profile/hardware/generic_vm.yaml<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_openstack_airship-2Din-2Da-2Dbottle_blob_master_deployment-5Ffiles_site_gate-2Dmultinode_profile_hardware_generic-5Fvm.yaml&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=L2WcX1Ge33cpIHXX6krAgw&m=X5n2Y4d30rKQGwDZuqtoigAbf6rrdVKCzKzPXXm9R1g&s=Iq2vfSoN_D0mXU_tTYWykV5CPXXhj2QNWfgu3rtytMk&e=> [3] https://airshipit.readthedocs.io/projects/drydock/en/latest/topology.html#hardware-profile<https://urldefense.proofpoint.com/v2/url?u=https-3A__airshipit.readthedocs.io_projects_drydock_en_latest_topology.html-23hardware-2Dprofile&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=L2WcX1Ge33cpIHXX6krAgw&m=X5n2Y4d30rKQGwDZuqtoigAbf6rrdVKCzKzPXXm9R1g&s=pPVq9KmdvdBdPdQ58Jg-MHtKsYU5xMkeaUUc2ddDA8s&e=> [4] https://github.com/openstack/airship-treasuremap/blob/master/global/schemas/drydock/HardwareProfile/v1.yaml<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_openstack_airship-2Dtreasuremap_blob_master_global_schemas_drydock_HardwareProfile_v1.yaml&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=L2WcX1Ge33cpIHXX6krAgw&m=X5n2Y4d30rKQGwDZuqtoigAbf6rrdVKCzKzPXXm9R1g&s=XFAy_8St6s4MmmmqYhiSZ7NfMgNQ5_XkSUrAtz39sRQ&e=> [5] https://hastebin.com/paboxagori.cs<https://urldefense.proofpoint.com/v2/url?u=https-3A__hastebin.com_paboxagori.cs&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=L2WcX1Ge33cpIHXX6krAgw&m=X5n2Y4d30rKQGwDZuqtoigAbf6rrdVKCzKzPXXm9R1g&s=VxD3LZzlwZPXbyRr7sUudLA79dAIJdn8EqbX3E_yxH0&e=> [6] https://hastebin.com/uzepikenol.py<https://urldefense.proofpoint.com/v2/url?u=https-3A__hastebin.com_uzepikenol.py&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=L2WcX1Ge33cpIHXX6krAgw&m=X5n2Y4d30rKQGwDZuqtoigAbf6rrdVKCzKzPXXm9R1g&s=hhoKxxH4GvelSBnq2NXvUf-5jeDudwCHTb6ft-AG734&e=> Thanks a lot! Best regards Georg
Hi, yes, I have create a PS for airship-in-a-bottle to align the schemas https://review.openstack.org/#/c/632610/ /Kaspars From: Georg Kunz [mailto:georg.kunz@ericsson.com] Sent: Tuesday, January 22, 2019 11:10 AM To: SKELS, KASPARS <ks3019@att.com> Cc: airship-discuss@lists.airshipit.org Subject: RE: How to enable hugepages Hi Kaspars, Thank you for the pointers. In the meantime I also noticed that the HardwareProfile schema in AIAB [1] does not contain the hugepages attributes (yet) in contrast to the schema in treasuremap [2]. 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. [1] https://github.com/openstack/airship-in-a-bottle/blob/master/deployment_files/global/v1.0demo/schemas/drydock/HardwareProfile/v1.yaml<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_openstack_airship-2Din-2Da-2Dbottle_blob_master_deployment-5Ffiles_global_v1.0demo_schemas_drydock_HardwareProfile_v1.yaml&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=L2WcX1Ge33cpIHXX6krAgw&m=YXHHSo9Qm-nECYq43igTaHTW2MTLyrQJki8hFjU5uyE&s=bJN5Ear-M_jwtzrO-WDl1ICMpS2F2opu38l_gl4VK2U&e=> [2] https://github.com/openstack/airship-treasuremap/blob/master/global/schemas/drydock/HardwareProfile/v1.yaml<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_openstack_airship-2Dtreasuremap_blob_master_global_schemas_drydock_HardwareProfile_v1.yaml&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=L2WcX1Ge33cpIHXX6krAgw&m=YXHHSo9Qm-nECYq43igTaHTW2MTLyrQJki8hFjU5uyE&s=AnroDCPdkVrb_8LZDJ_SLMx8gYzUQDCPvzLyVMUXXVQ&e=> Best regards Georg From: SKELS, KASPARS <ks3019@att.com<mailto:ks3019@att.com>> Sent: Tuesday, January 22, 2019 5:59 PM To: Georg Kunz <georg.kunz@ericsson.com<mailto:georg.kunz@ericsson.com>> Cc: airship-discuss@lists.airshipit.org<mailto:airship-discuss@lists.airshipit.org> Subject: RE: How to enable hugepages Hi Georg, our main deployment reference treasuremap (https://github.com/openstack/airship-treasuremap<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_openstack_airship-2Dtreasuremap&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=L2WcX1Ge33cpIHXX6krAgw&m=YXHHSo9Qm-nECYq43igTaHTW2MTLyrQJki8hFjU5uyE&s=Xf3HsvHVRm17_DtVTBOv_ciTv2daDs8dvf6whUtKsXU&e=>) 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 https://github.com/openstack/airship-drydock/blob/master/python/tests/yaml_samples/deckhand_fullsite.yaml#L427<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_openstack_airship-2Ddrydock_blob_master_python_tests_yaml-5Fsamples_deckhand-5Ffullsite.yaml-23L427&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=L2WcX1Ge33cpIHXX6krAgw&m=YXHHSo9Qm-nECYq43igTaHTW2MTLyrQJki8hFjU5uyE&s=uasRW4dtqAIR5MN5baUvTjgvnMbo96__QXidpdFcx3E&e=> - And there are also kernel related parameters available to set https://github.com/openstack/airship-drydock/blob/master/python/tests/yaml_samples/deckhand_fullsite.yaml#L366<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_openstack_airship-2Ddrydock_blob_master_python_tests_yaml-5Fsamples_deckhand-5Ffullsite.yaml-23L366&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=L2WcX1Ge33cpIHXX6krAgw&m=YXHHSo9Qm-nECYq43igTaHTW2MTLyrQJki8hFjU5uyE&s=8bVwFnvW0A1keEvLettUovUH_wQY5nrf-yEhdAxZFZs&e=> Kindly, Kaspars From: Georg Kunz [mailto:georg.kunz@ericsson.com] Sent: Tuesday, January 22, 2019 8:04 AM To: airship-discuss@lists.airshipit.org<mailto:airship-discuss@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 [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<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_openstack_airship-2Din-2Da-2Dbottle_tree_master_tools_multi-5Fnodes-5Fgate&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=L2WcX1Ge33cpIHXX6krAgw&m=X5n2Y4d30rKQGwDZuqtoigAbf6rrdVKCzKzPXXm9R1g&s=TJoG6KeLdsNHpDdulGo59U4CgxnkDU-qYrNZh-4IX98&e=> [2] https://github.com/openstack/airship-in-a-bottle/blob/master/deployment_files/site/gate-multinode/profile/hardware/generic_vm.yaml<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_openstack_airship-2Din-2Da-2Dbottle_blob_master_deployment-5Ffiles_site_gate-2Dmultinode_profile_hardware_generic-5Fvm.yaml&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=L2WcX1Ge33cpIHXX6krAgw&m=X5n2Y4d30rKQGwDZuqtoigAbf6rrdVKCzKzPXXm9R1g&s=Iq2vfSoN_D0mXU_tTYWykV5CPXXhj2QNWfgu3rtytMk&e=> [3] https://airshipit.readthedocs.io/projects/drydock/en/latest/topology.html#hardware-profile<https://urldefense.proofpoint.com/v2/url?u=https-3A__airshipit.readthedocs.io_projects_drydock_en_latest_topology.html-23hardware-2Dprofile&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=L2WcX1Ge33cpIHXX6krAgw&m=X5n2Y4d30rKQGwDZuqtoigAbf6rrdVKCzKzPXXm9R1g&s=pPVq9KmdvdBdPdQ58Jg-MHtKsYU5xMkeaUUc2ddDA8s&e=> [4] https://github.com/openstack/airship-treasuremap/blob/master/global/schemas/drydock/HardwareProfile/v1.yaml<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_openstack_airship-2Dtreasuremap_blob_master_global_schemas_drydock_HardwareProfile_v1.yaml&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=L2WcX1Ge33cpIHXX6krAgw&m=X5n2Y4d30rKQGwDZuqtoigAbf6rrdVKCzKzPXXm9R1g&s=XFAy_8St6s4MmmmqYhiSZ7NfMgNQ5_XkSUrAtz39sRQ&e=> [5] https://hastebin.com/paboxagori.cs<https://urldefense.proofpoint.com/v2/url?u=https-3A__hastebin.com_paboxagori.cs&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=L2WcX1Ge33cpIHXX6krAgw&m=X5n2Y4d30rKQGwDZuqtoigAbf6rrdVKCzKzPXXm9R1g&s=VxD3LZzlwZPXbyRr7sUudLA79dAIJdn8EqbX3E_yxH0&e=> [6] https://hastebin.com/uzepikenol.py<https://urldefense.proofpoint.com/v2/url?u=https-3A__hastebin.com_uzepikenol.py&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=L2WcX1Ge33cpIHXX6krAgw&m=X5n2Y4d30rKQGwDZuqtoigAbf6rrdVKCzKzPXXm9R1g&s=hhoKxxH4GvelSBnq2NXvUf-5jeDudwCHTb6ft-AG734&e=> Thanks a lot! Best regards Georg
Hi Kaspars, Thanks! You beat me it. 😊 Best regards Georg From: SKELS, KASPARS <ks3019@att.com> Sent: Wednesday, January 23, 2019 4:32 PM To: Georg Kunz <georg.kunz@ericsson.com> Cc: airship-discuss@lists.airshipit.org Subject: RE: How to enable hugepages Hi, yes, I have create a PS for airship-in-a-bottle to align the schemas https://review.openstack.org/#/c/632610/ /Kaspars From: Georg Kunz [mailto:georg.kunz@ericsson.com] Sent: Tuesday, January 22, 2019 11:10 AM To: SKELS, KASPARS <ks3019@att.com<mailto:ks3019@att.com>> Cc: airship-discuss@lists.airshipit.org<mailto:airship-discuss@lists.airshipit.org> Subject: RE: How to enable hugepages Hi Kaspars, Thank you for the pointers. In the meantime I also noticed that the HardwareProfile schema in AIAB [1] does not contain the hugepages attributes (yet) in contrast to the schema in treasuremap [2]. 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. [1] https://github.com/openstack/airship-in-a-bottle/blob/master/deployment_files/global/v1.0demo/schemas/drydock/HardwareProfile/v1.yaml<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_openstack_airship-2Din-2Da-2Dbottle_blob_master_deployment-5Ffiles_global_v1.0demo_schemas_drydock_HardwareProfile_v1.yaml&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=L2WcX1Ge33cpIHXX6krAgw&m=YXHHSo9Qm-nECYq43igTaHTW2MTLyrQJki8hFjU5uyE&s=bJN5Ear-M_jwtzrO-WDl1ICMpS2F2opu38l_gl4VK2U&e=> [2] https://github.com/openstack/airship-treasuremap/blob/master/global/schemas/drydock/HardwareProfile/v1.yaml<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_openstack_airship-2Dtreasuremap_blob_master_global_schemas_drydock_HardwareProfile_v1.yaml&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=L2WcX1Ge33cpIHXX6krAgw&m=YXHHSo9Qm-nECYq43igTaHTW2MTLyrQJki8hFjU5uyE&s=AnroDCPdkVrb_8LZDJ_SLMx8gYzUQDCPvzLyVMUXXVQ&e=> Best regards Georg From: SKELS, KASPARS <ks3019@att.com<mailto:ks3019@att.com>> Sent: Tuesday, January 22, 2019 5:59 PM To: Georg Kunz <georg.kunz@ericsson.com<mailto:georg.kunz@ericsson.com>> Cc: airship-discuss@lists.airshipit.org<mailto:airship-discuss@lists.airshipit.org> Subject: RE: How to enable hugepages Hi Georg, our main deployment reference treasuremap (https://github.com/openstack/airship-treasuremap<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_openstack_airship-2Dtreasuremap&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=L2WcX1Ge33cpIHXX6krAgw&m=YXHHSo9Qm-nECYq43igTaHTW2MTLyrQJki8hFjU5uyE&s=Xf3HsvHVRm17_DtVTBOv_ciTv2daDs8dvf6whUtKsXU&e=>) 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 https://github.com/openstack/airship-drydock/blob/master/python/tests/yaml_samples/deckhand_fullsite.yaml#L427<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_openstack_airship-2Ddrydock_blob_master_python_tests_yaml-5Fsamples_deckhand-5Ffullsite.yaml-23L427&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=L2WcX1Ge33cpIHXX6krAgw&m=YXHHSo9Qm-nECYq43igTaHTW2MTLyrQJki8hFjU5uyE&s=uasRW4dtqAIR5MN5baUvTjgvnMbo96__QXidpdFcx3E&e=> * And there are also kernel related parameters available to set https://github.com/openstack/airship-drydock/blob/master/python/tests/yaml_samples/deckhand_fullsite.yaml#L366<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_openstack_airship-2Ddrydock_blob_master_python_tests_yaml-5Fsamples_deckhand-5Ffullsite.yaml-23L366&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=L2WcX1Ge33cpIHXX6krAgw&m=YXHHSo9Qm-nECYq43igTaHTW2MTLyrQJki8hFjU5uyE&s=8bVwFnvW0A1keEvLettUovUH_wQY5nrf-yEhdAxZFZs&e=> Kindly, Kaspars From: Georg Kunz [mailto:georg.kunz@ericsson.com] Sent: Tuesday, January 22, 2019 8:04 AM To: airship-discuss@lists.airshipit.org<mailto:airship-discuss@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 [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<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_openstack_airship-2Din-2Da-2Dbottle_tree_master_tools_multi-5Fnodes-5Fgate&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=L2WcX1Ge33cpIHXX6krAgw&m=X5n2Y4d30rKQGwDZuqtoigAbf6rrdVKCzKzPXXm9R1g&s=TJoG6KeLdsNHpDdulGo59U4CgxnkDU-qYrNZh-4IX98&e=> [2] https://github.com/openstack/airship-in-a-bottle/blob/master/deployment_files/site/gate-multinode/profile/hardware/generic_vm.yaml<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_openstack_airship-2Din-2Da-2Dbottle_blob_master_deployment-5Ffiles_site_gate-2Dmultinode_profile_hardware_generic-5Fvm.yaml&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=L2WcX1Ge33cpIHXX6krAgw&m=X5n2Y4d30rKQGwDZuqtoigAbf6rrdVKCzKzPXXm9R1g&s=Iq2vfSoN_D0mXU_tTYWykV5CPXXhj2QNWfgu3rtytMk&e=> [3] https://airshipit.readthedocs.io/projects/drydock/en/latest/topology.html#hardware-profile<https://urldefense.proofpoint.com/v2/url?u=https-3A__airshipit.readthedocs.io_projects_drydock_en_latest_topology.html-23hardware-2Dprofile&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=L2WcX1Ge33cpIHXX6krAgw&m=X5n2Y4d30rKQGwDZuqtoigAbf6rrdVKCzKzPXXm9R1g&s=pPVq9KmdvdBdPdQ58Jg-MHtKsYU5xMkeaUUc2ddDA8s&e=> [4] https://github.com/openstack/airship-treasuremap/blob/master/global/schemas/drydock/HardwareProfile/v1.yaml<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_openstack_airship-2Dtreasuremap_blob_master_global_schemas_drydock_HardwareProfile_v1.yaml&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=L2WcX1Ge33cpIHXX6krAgw&m=X5n2Y4d30rKQGwDZuqtoigAbf6rrdVKCzKzPXXm9R1g&s=XFAy_8St6s4MmmmqYhiSZ7NfMgNQ5_XkSUrAtz39sRQ&e=> [5] https://hastebin.com/paboxagori.cs<https://urldefense.proofpoint.com/v2/url?u=https-3A__hastebin.com_paboxagori.cs&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=L2WcX1Ge33cpIHXX6krAgw&m=X5n2Y4d30rKQGwDZuqtoigAbf6rrdVKCzKzPXXm9R1g&s=VxD3LZzlwZPXbyRr7sUudLA79dAIJdn8EqbX3E_yxH0&e=> [6] https://hastebin.com/uzepikenol.py<https://urldefense.proofpoint.com/v2/url?u=https-3A__hastebin.com_uzepikenol.py&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=L2WcX1Ge33cpIHXX6krAgw&m=X5n2Y4d30rKQGwDZuqtoigAbf6rrdVKCzKzPXXm9R1g&s=hhoKxxH4GvelSBnq2NXvUf-5jeDudwCHTb6ft-AG734&e=> Thanks a lot! Best regards Georg
participants (2)
-
Georg Kunz
-
SKELS, KASPARS