Bug 2107896
| Summary: | [RHOSP17.0] Missing Reboot To Apply Tuned Parameters To Kernel Boot Arguments | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Vadim Khitrin <vkhitrin> |
| Component: | tripleo-ansible | Assignee: | Vijayalakshmi Candappa <vcandapp> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Joe H. Rahme <jhakimra> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 17.0 (Wallaby) | CC: | bshephar, gregraka, hakhande, igallagh, jamsmith, jparoly, jschluet, mburns, mgeary, oblaut, owalsh, rhayakaw, rheslop, sbaker, stchen, supadhya, vcandapp |
| Target Milestone: | z1 | Keywords: | AutomationBlocker, Bugfix, Regression, TestOnly, Triaged |
| Target Release: | 17.0 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | tripleo-ansible-3.3.1-0.20221208161842.fa5422f.el9ost | Doc Type: | Known Issue |
| Doc Text: |
There is currently a known issue that causes tuned kernel configurations to not be applied after initial provisioning.
+
Workaround: You can use the following custom playbook to ensure that the tuned kernel command line arguments are applied. Save the following playbook as `/usr/share/ansible/tripleo-playbooks/cli-overcloud-node-reset-blscfg.yaml` on the undercloud node:
+
----
- name: Reset BLSCFG of compute node(s) meant for NFV deployments
hosts: allovercloud
any_errors_fatal: true
gather_facts: true
pre_tasks:
- name: Wait for provisioned nodes to boot
wait_for_connection:
timeout: 600
delay: 10
tasks:
- name: Reset BLSCFG flag in grub file, if it is enabled
become: true
lineinfile:
path: /etc/default/grub
line: "GRUB_ENABLE_BLSCFG=false"
regexp: "^GRUB_ENABLE_BLSCFG=.*"
insertafter: '^GRUB_DISABLE_RECOVERY.*'
----
+
Configure the role in the node definition file, `overcloud-baremetal-deploy.yaml`, to run the `cli-overcloud-node-reset-blscfg.yaml` playbook before the playbook that sets the `kernelargs`:
+
----
- name: ComputeOvsDpdkSriov
count: 2
hostname_format: computeovsdpdksriov-%index%
defaults:
networks:
- network: internal_api
subnet: internal_api_subnet
- network: tenant
subnet: tenant_subnet
- network: storage
subnet: storage_subnet
network_config:
template: /home/stack/osp17_ref/nic-configs/computeovsdpdksriov.j2
config_drive:
cloud_config:
ssh_pwauth: true
disable_root: false
chpasswd:
list: |-
root:12345678
expire: False
ansible_playbooks:
- playbook: /usr/share/ansible/tripleo-playbooks/cli-overcloud-node-reset-blscfg.yaml
- playbook: /usr/share/ansible/tripleo-playbooks/cli-overcloud-node-kernelargs.yaml
extra_vars:
reboot_wait_timeout: 600
kernel_args: 'default_hugepagesz=1GB hugepagesz=1G hugepages=32 iommu=pt intel_iommu=on isolcpus=1-11,13-23'
tuned_profile: 'cpu-partitioning'
tuned_isolated_cores: '1-11,13-23'
- playbook: /usr/share/ansible/tripleo-playbooks/cli-overcloud-openvswitch-dpdk.yaml
extra_vars:
memory_channels: '4'
lcore: '0,12'
pmd: '1,13,2,14,3,15'
socket_mem: '4096'
disable_emc: false
enable_tso: false
revalidator: ''
handler: ''
pmd_auto_lb: false
pmd_load_threshold: ''
pmd_improvement_threshold: ''
pmd_rebal_interval: ''
nova_postcopy: true
----
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-04-05 10:34:53 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2122968 | ||
|
Description
Vadim Khitrin
2022-07-17 11:40:18 UTC
Patch is present in 17.0.1. In 17.1 a reboot is also not required, marking as VERIFIED. According to our records, this should be resolved by tripleo-ansible-3.3.1-0.20221208161843.fa5422f.el9ost. This build is available now. |