NetApp cDOT driver is supposed to run SSC job at intervals of 1800
seconds. However, after SSC job ran when cinder-volume services
were started, SSC job does not run again.
The driver should use 'is_older_than' method of oslo_utils to
confirm 1800 seconds passed from last SSC job.
Change-Id: I9d975f66295b75e3bfda47c56bbb11de0e9bf6d0
Closes-Bug: #
1478432
return
elif (getattr(backend, 'ssc_run_time', None) is None or
(backend.ssc_run_time and
- timeutils.is_newer_than(backend.ssc_run_time, delta_secs))):
+ timeutils.is_older_than(backend.ssc_run_time, delta_secs))):
if synchronous:
get_cluster_latest_ssc(backend, na_server, vserver)
else: