[Jds-team] [OpenIndiana Distribution - Bug #3527] time-slider enters maintenance after time adjustments

illumos project devnull at illumos.org
Thu Feb 7 20:37:45 UTC 2013


Issue #3527 has been updated by Ken Mays.

Assignee set to OI JDS


----------------------------------------
Bug #3527: time-slider enters maintenance after time adjustments
https://www.illumos.org/issues/3527

Author: Tim Coalson
Status: New
Priority: Normal
Assignee: OI JDS
Category: 
Target version: 
Difficulty: Medium
Tags: needs-triage


When daylight savings time ends, time gets adjusted back an hour, and time-slider goes into maintenance mode due to a snapshot with the "current" time already existing the next time it takes a snapshot after the time change.

Here is what the end of /var/svc/log/application-time-slider:default.log said when this happened at the end of daylight savings:

Failed to create snapshots for schedule: hourly
Caught RuntimeError exception in snapshot manager thread
Error details:
--------BEGIN ERROR MESSAGE--------
['/usr/bin/pfexec', '/usr/sbin/zfs', 'snapshot', '-r', 'mainpool at zfs-auto-snap_hourly-2012-11-04-01h07'] failed with exit code 1
cannot create snapshot 'mainpool at zfs-auto-snap_hourly-2012-11-04-01h07': dataset already exists
cannot create snapshot 'mainpool/storage at zfs-auto-snap_hourly-2012-11-04-01h07': dataset already exists
cannot create snapshot 'mainpool/rpoolbackup at zfs-auto-snap_hourly-2012-11-04-01h07': dataset already exists
no snapshots were created

--------END ERROR MESSAGE--------
Snapshot monitor thread exited.
[ Nov  4 01:07:47 Stopping because all processes in service exited. ]
[ Nov  4 01:07:47 Executing stop method (:kill). ]
[ Nov  4 01:07:47 Restarting too quickly, changing state to maintenance. ]

This appears to have been fixed here:

https://github.com/bdrewery/time-slider/commit/4ba07f0c289bbb4dff9c4555c9eed1de2c90ffed

but this change has not made it into the time-slider that exists in oi_151a7.


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://www.illumos.org/my/account



More information about the Jds-team mailing list