Move hugetlbfs gid config to BootParams service
Group hugetlbfs's gid has to be updated to match with kolla config. Earlier gid change is applied and then the node is rebooted for kernel args. But after ansible based reboot, the reboot is moved before the PreNetworkConfig, which requires ovs restart after gid update. Instead of ovs restart, moving gid update to BootParams service, makes it single place to apply and reboot. Change-Id: Id8c26b88ff92104984a27877fbcc009475d671b3
This commit is contained in:
parent
21e89c303f
commit
65036d936c
|
@ -78,6 +78,12 @@ outputs:
|
|||
block:
|
||||
- import_tasks: ../boot_param_tasks.yaml
|
||||
|
||||
- name: Update gid for hugetlbfs to kolla's gid
|
||||
group:
|
||||
name: hugetlbfs
|
||||
gid: 42477
|
||||
when: reboot_required is defined and reboot_required
|
||||
|
||||
# Reboot the node
|
||||
- name: Reboot after kernel args update
|
||||
shell: "sleep 2 && /sbin/shutdown -r now"
|
||||
|
|
|
@ -208,7 +208,7 @@ resources:
|
|||
gid: 42477
|
||||
|
||||
DpdkVhostGroupDeployment:
|
||||
type: OS::Heat::SoftwareDeployment
|
||||
type: OS::TripleO::Reboot::SoftwareDeployment
|
||||
condition: is_dpdk_config_required
|
||||
properties:
|
||||
name: DpdkVhostGroupDeployment
|
||||
|
|
Loading…
Reference in New Issue