Hi,
since the upgrade from Kasten10 to the latest release (4.5.13 and also 4.5.14) my snapshot backups are not working anymore.
In the Kanister log I can find the following problem:
kopia: error: unable to list sources: 401 Unauthorized, try --help
What can cause that problem?
2022-04-29T13: 30: 03.953394730+02: 00 {
"ActionSet": "k10-backuptoserver-k10-deployment-generic-volume-2.0.18-pitgs6g",
"File": "pkg/controller/controller.go",
"Function": "github.com/kanisterio/kanister/pkg/controller.(*Controller).runAction.func1",
"Line": 445,
"Phase": "backupToServer",
"cluster_name": "d65edb7c-54cd-4606-840a-4465efe18b9f",
"hostname": "kanister-svc-68d47d45d8-2kg9q",
"kanister.io/JobID": "91e4950c-c7af-11ec-9d5b-7a258d16cf8b",
"level": "info",
"msg": "Executing phase backupToServer",
"time": "2022-04-29T11:30:03.945715584Z",
"version": "4.5.14"
}
2022-04-29T13: 30: 03.953402976+02: 00 {
"Command": "kopia --log-level=error --config-file=/tmp/kopia-repository.config --log-dir=/tmp/kopia-log server status --address=https://10.152.183.200:51515 --server-cert-fingerprint=\u003c****\u003e --server-username=k10-admin@data-mover-server-pod --server-password=\u003c****\u003e",
"File": "kasten.io/k10/kio/kopia/kopia.go",
"Function": "kasten.io/k10/kio/kopia.stringSliceCommand",
"Line": 140,
"cluster_name": "d65edb7c-54cd-4606-840a-4465efe18b9f",
"hostname": "kanister-svc-68d47d45d8-2kg9q",
"level": "info",
"msg": "kopia command",
"time": "20220429-11:30:03.947Z",
"version": "4.5.14"
}
2022-04-29T13: 30: 03.953409168+02: 00 {
"ActionSet": "k10-backuptoserver-k10-deployment-generic-volume-2.0.18-pitgs6g",
"File": "pkg/controller/controller.go",
"Function": "github.com/kanisterio/kanister/pkg/controller.(*Controller).onUpdate",
"Line": 163,
"Status": "pending",
"cluster_name": "d65edb7c-54cd-4606-840a-4465efe18b9f",
"hostname": "kanister-svc-68d47d45d8-2kg9q",
"kanister.io/JobID": "91e4950c-c7af-11ec-9d5b-7a258d16cf8b",
"level": "info",
"msg": "Updated ActionSet",
"time": "2022-04-29T11:30:03.948158004Z",
"version": "4.5.14"
}
2022-04-29T13: 30: 03.953415643+02: 00 {
"ActionSet": "k10-backuptoserver-k10-deployment-generic-volume-2.0.18-pitgs6g",
"File": "pkg/controller/controller.go",
"Function": "github.com/kanisterio/kanister/pkg/controller.(*Controller).onUpdate",
"Line": 163,
"Phase": "backupToServer-\u003epending",
"Status": "running",
"cluster_name": "d65edb7c-54cd-4606-840a-4465efe18b9f",
"hostname": "kanister-svc-68d47d45d8-2kg9q",
"kanister.io/JobID": "91e4950c-c7af-11ec-9d5b-7a258d16cf8b",
"level": "info",
"msg": "Updated ActionSet",
"time": "2022-04-29T11:30:03.94820996Z",
"version": "4.5.14"
}
2022-04-29T13: 30: 05.011886067+02: 00 {
"Container": "kanister-sidecar",
"File": "pkg/format/format.go",
"Function": "github.com/kanisterio/kanister/pkg/format.LogWithCtx",
"Line": 61,
"Out": "kopia: error: unable to list sources: 401 Unauthorized, try --help",
"Pod": "pihole-6b577bbbdb-p22xt",
"cluster_name": "d65edb7c-54cd-4606-840a-4465efe18b9f",
"hostname": "kanister-svc-68d47d45d8-2kg9q",
"level": "info",
"msg": "Pod Update",
"time": "2022-04-29T11:30:05.011457172Z",
"version": "4.5.14"
}