[slm] Snapshots are just ignored when scheduled, but manual _execute works

exact same problem for us on an elastic/kibana 7.15.8 cluster
cron jobs are not fired; snapshots are never created nor shown as failed, nothing in logs.

Manual execution of the policies works

GET _slm/policy/hourly-snapshots
{
  "hourly-snapshots" : {
    "version" : 4,
    "modified_date_millis" : 1672400363794,
    "policy" : {
      "name" : "<hourly-snapshot-{now/H}>",
      "schedule" : "0 0 * * * ?",
      "repository" : "snaps-ELK-POC",
      "config" : {
        "ignore_unavailable" : true,
        "partial" : true
      },
      "retention" : {
        "expire_after" : "2d",
        "max_count" : 48
      }
    },
    "next_execution_millis" : 1672404000000,
    "stats" : {
      "policy" : "hourly-snapshots",
      "snapshots_taken" : 0,
      "snapshots_failed" : 0,
      "snapshots_deleted" : 0,
      "snapshot_deletion_failures" : 0
    }
  }
}
1 Like