Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hostname lookups resolve to FQDN #288

Open
kelbstf opened this issue Oct 7, 2021 · 0 comments
Open

hostname lookups resolve to FQDN #288

kelbstf opened this issue Oct 7, 2021 · 0 comments

Comments

@kelbstf
Copy link

kelbstf commented Oct 7, 2021

Hello,
it looks to me like warewulf is creating nodes (when having populated the "eth0.FQDN" field in the node definition via "--fqdn=") that resolve "hostname" lookups to their FQDN, instead of the expected "hostname -s".
This causes problems for NHC when triggered by SLURM:

error: _find_node_record(763): lookup failure for <FQDN>

Is there any option i am not aware of to come up with WareWulf provisioning nodes which resolve "hostname" lookups to "hostname -s" equivalents?

It looks like warewulf3 graps the hostname from the first position in /etc/host, which is the FQDN, when dropping "localdomain" as described.
Extracting the short hostname would resolve the problem.

Currently i have to readjust the hostnames of the deployed compute nodes using a postinstall script, which is not as neat as it could be.

Best

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant