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

InstallaPrevioustion fails if host clock is off #181

Open
jabl opened this issue Jan 26, 2017 · 5 comments
Open

InstallaPrevioustion fails if host clock is off #181

jabl opened this issue Jan 26, 2017 · 5 comments

Comments

@jabl
Copy link
Contributor

jabl commented Jan 26, 2017

Installation of compute nodes fail if the clock is off. We had one node where the HW clock for some reason was set to 2008, and thus yum failed because the EPEL repo https cert was issued after that date. And then due to that ansible-pull-script failed as well and the node was left in a half-installed state.

Perhaps a solution would be to run "ntpdate {{ ntp_config_servers[0] }}" in the kickstart post script?

@martbhell
Copy link
Contributor

Sounds reasonable to me.
Should we also use the hwclock command to set the BIOS time?

There is apparently a | random filter that we could use here to be nicer to NTP. http://docs.ansible.com/ansible/playbooks_filters.html#random-number-filter

@tiggi
Copy link
Contributor

tiggi commented Jan 26, 2017 via email

@tiggi
Copy link
Contributor

tiggi commented Jan 26, 2017 via email

@jabl
Copy link
Contributor Author

jabl commented Jan 27, 2017

The node where I saw this was a Westmere node, yes. So it's likely that it has a dead RTC battery. So it's likely this won't help then. Shame to junk an otherwise functioning node just due to this, though.

Maybe run ntpdate from rc.local, somewhat ugly though..

@martbhell
Copy link
Contributor

Is the rc.local for where the hwclock goes off on every boot?

From "systemd-analyze plot" it seems that chronyd starts before slurmd.
Is chronyd not adjusting the clock? We have stepping enabled with "makestep 10 3".

@tiggi tiggi changed the title Installation fails if host clock is off InstallaPrevioustion fails if host clock is off Sep 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants