Hello,
I’m not able to backup my postgres database via blueprint anymore. I already did a complete new installation of k10 (with current 5.0.7 release), but I still have the following problem.
In the Kanister-job that makes the DB dump, everything looks fine. I can see the logical size and also the kopiaOutput JSON being created.
Also in the kanister svc logs, the DB dump seems to be working
2022-09-10T23:39:33.003580826+02:00 {"ActionSet":"k10-backup-postgres-bp-postgres-postgresql-smarthome-state2tbht","File":"pkg/controller/controller.go","Function":"github.com/kanisterio/kanister/pkg/controller.(*Controller).logAndSuccessEvent","Line":652,"Phase":"pgDump","cluster_name":"e3672d3c-1bc6-44d8-bacb-b2401e6368ba","hostname":"kanister-svc-7c8754b554-dnqns","kanister.io/JobID":"c978c3a9-3150-11ed-944a-5a2238b22591","level":"info","msg":"Completed phase pgDump","time":"2022-09-10T21:39:33.002161239Z","version":"5.0.7"}
But in the next step I get "error":"Failed to render template: \"kopiaOutput\" not found"
2022-09-10T23:39:33.003580826+02:00 {"ActionSet":"k10-backup-postgres-bp-postgres-postgresql-smarthome-state2tbht","File":"pkg/controller/controller.go","Function":"github.com/kanisterio/kanister/pkg/controller.(*Controller).logAndSuccessEvent","Line":652,"Phase":"pgDump","cluster_name":"e3672d3c-1bc6-44d8-bacb-b2401e6368ba","hostname":"kanister-svc-7c8754b554-dnqns","kanister.io/JobID":"c978c3a9-3150-11ed-944a-5a2238b22591","level":"info","msg":"Completed phase pgDump","time":"2022-09-10T21:39:33.002161239Z","version":"5.0.7"}
2022-09-10T23:39:33.286971214+02:00 {"ActionSet":"k10-backup-postgres-bp-postgres-postgresql-smarthome-state2tbht","File":"pkg/controller/controller.go","Function":"github.com/kanisterio/kanister/pkg/controller.(*Controller).logAndErrorEvent","Line":635,"Phase":"pgDump","cluster_name":"e3672d3c-1bc6-44d8-bacb-b2401e6368ba","error":"Failed to render template: \"kopiaOutput\" not found","hostname":"kanister-svc-7c8754b554-dnqns","kanister.io/JobID":"c978c3a9-3150-11ed-944a-5a2238b22591","level":"info","msg":"Failed to render output artifacts","time":"2022-09-10T21:39:33.286013918Z","version":"5.0.7"}
Can someone help me with that?