clustervision / luna2-daemon

Luna2 REST API cluster management daemon
GNU General Public License v3.0
1 stars 0 forks source link

dhcpd.conf is missing the option "domain-name-servers" #1

Closed alainvanhoof closed 10 months ago

alainvanhoof commented 10 months ago

The internal interface of the nodes is configured to use DHCP and is controlled by the networkmanager. When provisioning a node the /etc/resolv.conf is in the image:

000000 14:20:24 [root@hpc-head01 ~]# cat /trinity/images/compute/etc/resolv.conf 
#
# Ansible managed
#

search cluster ipmi
nameserver 10.141.255.254

This works until the DHPC lease is refreshed and networkmanager uses the domain-name-servers option to reconfigure /etc/resolv.conf. As the option is missing, this is the result:

[root@node002 ~]# cat /etc/resolv.conf 
# Generated by NetworkManager
search cluster
aphmschonewille commented 10 months ago

solved!

aphmschonewille commented 10 months ago

ansible-playbook controller.yml --tags=luna will pull in latest daemon release with this fix