Project

General

Profile

Actions

Bug #5671

closed

NTP technique has no (documented?) option to not set hw clock

Added by Florian Heigl over 9 years ago. Updated about 9 years ago.

Status:
Released
Priority:
2
Category:
Techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

this causes issues on xen VMs...
those issues cause the technique to never be stable (if the interval is 240 min, it will go to error every 240 min)

there are many workarounds,
easiest thing would be to define a interval of 0 to not set the clock
more helpful things would be i.e. to disable that bit for xen pv + linux.

No distro has ever simply fixed the issue within hwclock since it doesn't affect dev laptops :)


2014-10-21T22:44:27+0200 info: /default/check_clock_configuration/commands/'/sbin/hwclock'[0]: Executing 'no timeout' ... '/sbin/hwclock --systohc'
2014-10-21T22:44:27+0200 error: /default/check_clock_configuration/commands/'/sbin/hwclock'[0]: Finished command related to promiser '/sbin/hwclock' -- an error occurred, returned 1
2014-10-21T22:44:27+0200 notice: /default/check_clock_configuration/commands/'/sbin/hwclock'[0]: Q: "...in/hwclock --sy": Cannot access the Hardware Clock via any known method.
Q: "...in/hwclock --sy": Use the --debug option to see the details of our search for an access method.
2014-10-21T22:44:27+0200 info: /default/check_clock_configuration/commands/'/sbin/hwclock'[0]: Last 2 quoted lines were generated by promiser '/sbin/hwclock --systohc'
2014-10-21T22:44:27+0200 info: /default/check_clock_configuration/commands/'/sbin/hwclock'[0]: Completed execution of '/sbin/hwclock --systohc'
R:
@ntpConfiguration@result_success@d3664232-fa67-48e3-8e92-0cbb147dfded@e0f66890-bc7e-4618-ab62-a6f2d232d8c5@6@Time synchronization (NTP)@None@2014-10-21 20:44:21+00:00##f5b5ef75-b03f-4acc-a47b-ffbb4cea355b#ntp daemon installed, configured and running
R: @ntpConfiguration@log_info@d3664232-fa67-48e3-8e92-0cbb147dfded@e0f66890-bc7e-4618-ab62-a6f2d232d8c5@6@Time synchronization (NTP)@None@2014-10-21 20:44:21+00:00##f5b5ef75-b03f-4acc-a47b-ffbb4cea355b@#ntp package already installed
R: @ntpConfiguration@result_error@d3664232-fa67-48e3-8e92-0cbb147dfded@e0f66890-bc7e-4618-ab62-a6f2d232d8c5@6@Hardware clock (RTC)@None@2014-10-21 20:44:21+00:00##f5b5ef75-b03f-4acc-a47b-ffbb4cea355b@#The hardware clock could not be synchronized with the NTP time
R: @ntpConfiguration@result_success@d3664232-fa67-48e3-8e92-0cbb147dfded@e0f66890-bc7e-4618-ab62-a6f2d232d8c5@6@Time zone@None@2014-10-21 20:44:21+00:00##f5b5ef75-b03f-4acc-a47b-ffbb4cea355b@#Time zone was already correctly configured
R: @ntpConfiguration@log_info@d3664232-fa67-48e3-8e92-0cbb147dfded@e0f66890-bc7e-4618-ab62-a6f2d232d8c5@6@Time zone@None@2014-10-21 20:44:21+00:00##f5b5ef75-b03f-4acc-a47b-ffbb4cea355b@#Time zone was already set (localtime file didn't need changing)
R: @ntpConfiguration@log_info@d3664232-fa67-48e3-8e92-0cbb147dfded@e0f66890-bc7e-4618-ab62-a6f2d232d8c5@6@Time zone@None@2014-10-21 20:44:21+00:00##f5b5ef75-b03f-4acc-a47b-ffbb4cea355b@#SuSE-style time zone parameters already correct (/etc/sysconfig/clock)
@

Actions #1

Updated by Matthieu CERDA over 9 years ago

  • Description updated (diff)
  • Status changed from New to 8
  • Assignee set to Matthieu CERDA
  • Priority changed from N/A to 2

Taking care of this :)

Thanks for the report, Florian!

Actions #2

Updated by Matthieu CERDA over 9 years ago

  • Description updated (diff)
  • Status changed from 8 to In progress
  • Target version set to 2.11.4
Actions #3

Updated by Matthieu CERDA over 9 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Matthieu CERDA to Benoît PECCATTE
  • % Done changed from 0 to 100
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/543
Actions #4

Updated by Matthieu CERDA over 9 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset commit:6f51553462077492dc69fe71ae2360419cdd5aa8.

Actions #5

Updated by Vincent MEMBRÉ over 9 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.11.4, which was released today.

Actions #6

Updated by Benoît PECCATTE about 9 years ago

  • Project changed from 24 to Rudder
  • Category changed from Techniques to Techniques
Actions

Also available in: Atom PDF