392eacb092d28094196f026acc70aead4d502060
The dracut-config-generic package (sometimes installed by default in the overcloud image) provides a configuration file that turns off the host-specific initramfs generation with dracut: $ cat /usr/lib/dracut/dracut.conf.d/02-generic-image.conf hostonly="no" The result is that the generated initrams does not contain: - /etc/systemd/journald.conf - /etc/systemd/system.conf - /etc/hostname - /etc/machine-id - /etc/vconsole.conf - /etc/locale.conf - /etc/modules-load.d/*.conf - /etc/sysctl.d/*.conf - /etc/sysctl.conf Especially problematic is the absence of sysctl.conf when ipv6 is disabled via "KernelDisableIPv6: 1" because we end up half-disabling ipv6 and services like rpbcind end up in failed state. Original issue: https://bugs.launchpad.net/tripleo/+bug/1830574 This commit builds on top of https://review.opendev.org/#/c/661528/ adding the '--hostonly' option to dracut so to bypass 'hostonly="no"' eventually contained in the default config file. Change-Id: Ia4a39721268fe9bb0fdcc8bf4eb148263d4df46e
Team and repository tags
puppet-tripleo
Lightweight composition layer for Puppet TripleO.
Contributing
- Free software: Apache License (2.0)
- Source: http://git.openstack.org/cgit/openstack/puppet-tripleo
- Bugs: http://bugs.launchpad.net/tripleo (tag: puppet)
- Documentation:
- TripleO: https://docs.openstack.org/tripleo-docs/latest/
- Testing with puppet: https://docs.openstack.org/puppet-openstack-guide/latest/contributor/testing.html
- Release Notes https://docs.openstack.org/releasenotes/puppet-tripleo
Description