In order to successfully PXE/boot nodes from new racks we need to update
cobbler's dnsmasq configuration on changes in admin networks of any
nodegroup in any Fuel environment. Such changes should survive cobbler
container restarts and rebuilds.
In order to do so we need to execute the following on every change in
admin netwoks configuration of any nodegroup we have in Fuel:
- dump list of admin networks into /etc/hiera/networks.yaml file
in mcollective container
- run 'puppet apply nailgin/examples/dhcp-ranges.pp' inside mcollective
container to update config files in shared /etc/dnsmasq.d/ dir
- run 'cobbler sync' inside cobbler container to reload dnsmasq
Co-Authored-By: Aleksandr Didenko <email address hidden>
Reviewed: https:/ /review. openstack. org/222764 /git.openstack. org/cgit/ openstack/ fuel-library/ commit/ ?id=4343f1ab8be 55ae85758c20d39 04d1f29700b619
Committed: https:/
Submitter: Jenkins
Branch: master
commit 4343f1ab8be55ae 85758c20d3904d1 f29700b619
Author: Nikita Koshikov <email address hidden>
Date: Tue Sep 22 17:11:05 2015 -0500
Dynamic dnsmasq config for admin network ranges
In order to successfully PXE/boot nodes from new racks we need to update
cobbler's dnsmasq configuration on changes in admin networks of any
nodegroup in any Fuel environment. Such changes should survive cobbler
container restarts and rebuilds.
In order to do so we need to execute the following on every change in networks. yaml file examples/ dhcp-ranges. pp' inside mcollective
admin netwoks configuration of any nodegroup we have in Fuel:
- dump list of admin networks into /etc/hiera/
in mcollective container
- run 'puppet apply nailgin/
container to update config files in shared /etc/dnsmasq.d/ dir
- run 'cobbler sync' inside cobbler container to reload dnsmasq
Co-Authored-By: Aleksandr Didenko <email address hidden>
Blueprint: dynamic-dnsmasq 05a1aee7fbca800 3829a81e1d0
Partial-bug: #1495593
Change-Id: I9d7428c9fc21c7