research how hostnames with systemd work and make them static for all OSD related machines
https://progress.opensuse.org/issues/75445#note-6 shows that we're quite dependent on our hostnames for monitoring and dashboard generation. These hostnames should not change. However, it seems like we're recently getting hostnames from DHCP. This ticket is not about why we receive these DHCP hostnames but how to disable them permanently as I see problems arising soon if we don't:
openqa:~ # salt -l error -C '*' cmd.run 'hostnamectl | grep "suse$"' openqaworker8.suse.de: openqaworker3.suse.de: Static hostname: linux-5h37.suse openqaworker5.suse.de: openqaworker6.suse.de: openqaworker2.suse.de: Static hostname: linux-1nn1.suse openqaworker9.suse.de: Static hostname: linux-q6bp.suse grenache-1.qa.suse.de: openqa-monitor.qa.suse.de: openqaworker10.suse.de: QA-Power8-4-kvm.qa.suse.de: openqaworker13.suse.de: openqaworker-arm-3.suse.de: openqaworker-arm-1.suse.de: openqa.suse.de: openqaworker-arm-2.suse.de: QA-Power8-5-kvm.qa.suse.de:
- Status changed from Workable to Resolved
- Assignee set to okurz
hostnames like "linux-1nn1.suse" are not coming from DHCP but these are the hostnames that are automatically generated during installation if not specified otherwise right away. So I don't think we need to disable anything here but rather set proper static hostnames. This is what we have #76786 for. I think we don't need anything further here. Do you agree with my assessment?