Hello,
Every metadata export is failing with this reason, and it seems like my local snapshots are not delete as they should be (I have a zero local snap retention policy).
Nothing changed configuration wise beside upgrading K10 to it’s latest version with helm.
kind: ExportAction
apiVersion: actions.kio.kasten.io/v1alpha1
metadata:
name: policy-run-xsnzcbw8kt
namespace: kasten-io
uid: d72b5bba-a5ac-11ef-94a5-f658bf251e62
resourceVersion: "672310"
creationTimestamp: 2024-11-18T12:58:43Z
labels:
k10.kasten.io/isMetadataExport: "true"
k10.kasten.io/isRunNow: "true"
k10.kasten.io/policyName: nxt
k10.kasten.io/policyNamespace: kasten-io
k10.kasten.io/runActionName: policy-run-xsnzc
k10.kasten.io/runActionNamespace: kasten-io
status:
state: Failed
startTime: 2024-11-18T12:58:43Z
endTime: 2024-11-18T13:04:33Z
restorePoint:
name: ""
result:
name: ""
error:
cause: '{"cause":{"fields":d{"name":"freq","value":"@daily"},{"name":"retention","value":{}}],"file":"kasten.io/k10/api/apis/config/v1alpha1/policy_validate.go:501","function":"kasten.io/k10/api/apis/config/v1alpha1.(*Retention).ValidateWithFrequency","linenumber":501,"message":"Invalid
retention table for
frequency"},"file":"kasten.io/k10/kio/exec/phases/phase/migrate.go:136","function":"kasten.io/k10/kio/exec/phases/phase.(*migrateSendPhase).Run","linenumber":136,"message":"Failed
to validate migrate artifacts"}'
message: Job failed to be executed
actionDetails:
phases:
- attempt: 3
endTime: 2024-11-18T13:04:33Z
errors:
- cause: '{"cause":{"fields":d{"name":"freq","value":"@daily"},{"name":"retention","value":{}}],"file":"kasten.io/k10/api/apis/config/v1alpha1/policy_validate.go:501","function":"kasten.io/k10/api/apis/config/v1alpha1.(*Retention).ValidateWithFrequency","linenumber":501,"message":"Invalid
retention table for
frequency"},"file":"kasten.io/k10/kio/exec/phases/phase/migrate.go:136","function":"kasten.io/k10/kio/exec/phases/phase.(*migrateSendPhase).Run","linenumber":136,"message":"Failed
to validate migrate artifacts"}'
message: Job failed to be executed
- cause: '{"cause":{"fields":d{"name":"freq","value":"@daily"},{"name":"retention","value":{}}],"file":"kasten.io/k10/api/apis/config/v1alpha1/policy_validate.go:501","function":"kasten.io/k10/api/apis/config/v1alpha1.(*Retention).ValidateWithFrequency","linenumber":501,"message":"Invalid
retention table for
frequency"},"file":"kasten.io/k10/kio/exec/phases/phase/migrate.go:136","function":"kasten.io/k10/kio/exec/phases/phase.(*migrateSendPhase).Run","linenumber":136,"message":"Failed
to validate migrate artifacts"}'
message: Job failed to be executed
- cause: '{"cause":{"fields":d{"name":"freq","value":"@daily"},{"name":"retention","value":{}}],"file":"kasten.io/k10/api/apis/config/v1alpha1/policy_validate.go:501","function":"kasten.io/k10/api/apis/config/v1alpha1.(*Retention).ValidateWithFrequency","linenumber":501,"message":"Invalid
retention table for
frequency"},"file":"kasten.io/k10/kio/exec/phases/phase/migrate.go:136","function":"kasten.io/k10/kio/exec/phases/phase.(*migrateSendPhase).Run","linenumber":136,"message":"Failed
to validate migrate artifacts"}'
message: Job failed to be executed
name: Exporting Metadata
startTime: 2024-11-18T12:58:43Z
state: failed
updatedTime: 2024-11-18T13:04:33Z
- attempt: 3
endTime: 2024-11-18T13:04:33Z
errors:
- cause: '{"cause":{"fields":d{"name":"freq","value":"@daily"},{"name":"retention","value":{}}],"file":"kasten.io/k10/api/apis/config/v1alpha1/policy_validate.go:501","function":"kasten.io/k10/api/apis/config/v1alpha1.(*Retention).ValidateWithFrequency","linenumber":501,"message":"Invalid
retention table for
frequency"},"file":"kasten.io/k10/kio/exec/phases/phase/migrate.go:136","function":"kasten.io/k10/kio/exec/phases/phase.(*migrateSendPhase).Run","linenumber":136,"message":"Failed
to validate migrate artifacts"}'
message: Job failed to be executed
- cause: '{"cause":{"fields":d{"name":"freq","value":"@daily"},{"name":"retention","value":{}}],"file":"kasten.io/k10/api/apis/config/v1alpha1/policy_validate.go:501","function":"kasten.io/k10/api/apis/config/v1alpha1.(*Retention).ValidateWithFrequency","linenumber":501,"message":"Invalid
retention table for
frequency"},"file":"kasten.io/k10/kio/exec/phases/phase/migrate.go:136","function":"kasten.io/k10/kio/exec/phases/phase.(*migrateSendPhase).Run","linenumber":136,"message":"Failed
to validate migrate artifacts"}'
message: Job failed to be executed
- cause: '{"cause":{"fields":d{"name":"freq","value":"@daily"},{"name":"retention","value":{}}],"file":"kasten.io/k10/api/apis/config/v1alpha1/policy_validate.go:501","function":"kasten.io/k10/api/apis/config/v1alpha1.(*Retention).ValidateWithFrequency","linenumber":501,"message":"Invalid
retention table for
frequency"},"file":"kasten.io/k10/kio/exec/phases/phase/migrate.go:136","function":"kasten.io/k10/kio/exec/phases/phase.(*migrateSendPhase).Run","linenumber":136,"message":"Failed
to validate migrate artifacts"}'
message: Job failed to be executed
name: Monitoring Actions
startTime: 2024-11-18T12:58:43Z
state: succeeded
updatedTime: 2024-11-18T13:04:33Z
progress: 100
spec:
subject:
apiVersion: internals.kio.kasten.io/v1alpha1
kind: Manifest
name: d724bfa4-a5ac-11ef-94a5-f658bf251e62
scheduledTime: 2024-11-18T12:58:37Z
receiveString: bIzAPpoanmETyBtxtj1Wko9GbHMUPVuW6COq/00GeKIFCt8anWmTJZiFdsyB4vpmMhK3zKuNGU+u7zELhTr9jRB+lVw+J8fNUoP+9Nmt66S5soQzvWZwHgyKwof+M+dUeLwQkHkXysB6mbOQ7NzTw2KrFPvy1gt7wm3AL0Cc/+iozoUoEXqprlzQuWr8dhR767t+NIP/tH8b00o3MTiL9929XXSzHSjrpihH94zbaJdioYyeZS3AdosHtK2Qh965Mo7HabrPK8JqSjX8sVEmoS7X9PPfa+bBn0jAD2Z6TicpFHuW6yg87GD2st7B/tx9hgJiJ9hChHUepd4liDuqAfBLtO4DWE5BptU0iYeh/P21ik+WxtqEtyt/wgCknHw6q5vtbsoKnrP1Q2V+gNWqahO4le9BQ+XW8Bqiw41SMT9anOwAL8mYN2s1BFPbld/iNgHRsbQKcuvsB1lN+AQ0B3u5iJR+67Y9JDq5fH1fuY0Q+Q9MwAydBx8Ndyx4DYLomuC1ZhnZiGNh4JBahx2vlyJD+LRpG72NcCp3bdn+hiR6nt5OL9/3AUhGNkB8iKfSF/6QbYhK+zu+eg5b
profile:
name: s3-scality
namespace: kasten-io
migrationToken:
name: nxt-migration-token
namespace: kasten-io
exportData:
enabled: true
expiresAt: 2024-11-18T15:00:28Z
Thanks for the help :)