Nevermind the not automatic part... It just ran without user intervention.
Does anybody see a clue why it didn't run between 06:59:59 and now?
Jobs were definitely completing between 06:59:59 and 09:00:00.
[2017-06-09T09:55:19.121] debug: DBD_INIT: CLUSTER:cluster VERSION:7168 UID:513563 IP:10.21.2.3 CONN:8
[2017-06-09T09:58:19.236] debug: DBD_INIT: CLUSTER:cluster VERSION:7168 UID:513563 IP:10.21.2.3 CONN:9
[2017-06-09T09:58:19.327] debug: DBD_INIT: CLUSTER:cluster VERSION:7168 UID:513563 IP:10.21.2.3 CONN:8
[2017-06-09T10:00:01.094] 0(as_mysql_rollup.c:622) cluster curr hour is now 1497024000-1497027600
[2017-06-09T10:00:01.094] 0(as_mysql_rollup.c:366) query
select node_name, cpu_count, time_start, time_end, state from "cluster_event_table" where !(state & 32768) && (time_start < 1497027600 && (time_end >= 1497024000 || time_end = 0)) order by node_name, time_start
[2017-06-09T10:00:01.176] 0(as_mysql_rollup.c:646) query
select id_resv, assoclist, cpus, flags, time_start, time_end from "cluster_resv_table" where (time_start < 1497027600 && time_end >= 1497024000) && !(flags & 64)order by time_start
[2017-06-09T10:00:01.179] 0(as_mysql_rollup.c:751) query
select job.job_db_inx, job.id_job, job.id_assoc, job.id_wckey, job.array_task_pending, job.time_eligible, job.time_start, job.time_end, job.time_suspended, job.cpus_alloc, job.cpus_req, job.id_resv, SUM(step.consumed_energy) from "cluster_job_table" as job left outer join "cluster_step_table" as step on job.job_db_inx=step.job_db_inx and (step.id_step>=0) where (job.time_eligible < 1497027600 && (job.time_end >= 1497024000 || job.time_end = 0)) group by job.job_db_inx order by job.id_assoc, job.time_eligible
[2017-06-09T10:00:01.773] debug: DBD_INIT: CLUSTER:cluster VERSION:7168 UID:507569 IP:10.21.1.5 CONN:9
[2017-06-09T10:00:02.388] debug: Need to reroll usage from Fri Jun 09 09:59:59 2017 Job 9641756 from cluster became eligible then and we are just now hearing about it.
[2017-06-09T10:00:05.743] 0(as_mysql_rollup.c:305) query
insert into "cluster_usage_hour_table" (creation_time, mod_time, time_start, cpu_count, alloc_cpu_secs, down_cpu_secs, pdown_cpu_secs, idle_cpu_secs, over_cpu_secs, resv_cpu_secs, consumed_energy) values (...) on duplicate key update mod_time=1497027601, cpu_count=VALUES(cpu_count), alloc_cpu_secs=VALUES(alloc_cpu_secs), down_cpu_secs=VALUES(down_cpu_secs), pdown_cpu_secs=VALUES(pdown_cpu_secs), idle_cpu_secs=VALUES(idle_cpu_secs), over_cpu_secs=VALUES(over_cpu_secs), resv_cpu_secs=VALUES(resv_cpu_secs), consumed_energy=VALUES(consumed_energy)
[2017-06-09T10:00:05.743] 0(as_mysql_rollup.c:1113) query
insert into "cluster_assoc_usage_hour_table" (creation_time, mod_time, id_assoc, time_start, alloc_cpu_secs, consumed_energy) values (...) on duplicate key update mod_time=1497027601, alloc_cpu_secs=VALUES(alloc_cpu_secs), consumed_energy=VALUES(consumed_energy);
[2017-06-09T10:00:05.745] 0(as_mysql_usage.c:376) query
update "cluster_last_ran_table" set hourly_rollup=1497027600
[tcooper@cluster ~]# show_last_ran_table.sh
+---------------------+---------------------+---------------------+
| hourly_rollup | daily_rollup | monthly_rollup |
+---------------------+---------------------+---------------------+
| 2017-06-09 10:00:00 | 2017-06-09 09:59:59 | 2017-06-09 09:59:59 |
+---------------------+---------------------+---------------------+
Thanks,
Trevor