agent icon indicating copy to clipboard operation
agent copied to clipboard

Report download attempts and errors on the corresponding Pod

Open nightkr opened this issue 4 years ago • 0 comments

Currently this is emitted to the systemd journal like this:

Oct 06 12:35:36 stackable-node2 stackable-agent[1373]: [2021-10-06T10:35:36Z INFO  stackable_agent::provider::states::pod::downloading] Looking for package: library-busybox:1.32.1 in known repositories
Oct 06 12:35:36 stackable-node2 stackable-agent[1373]: [2021-10-06T10:35:36Z INFO  stackable_agent::provider::repository] Package [library-busybox:1.32.1] not found in the following repositories: ["stackablepublic"]
Oct 06 12:35:36 stackable-node2 stackable-agent[1373]: [2021-10-06T10:35:36Z ERROR stackable_agent::provider::states::pod::downloading] Cannot find package library-busybox:1.32.1 in any repository, aborting ..
Oct 06 12:35:36 stackable-node2 stackable-agent[1373]: [2021-10-06T10:35:36Z INFO  stackable_agent::provider::states::pod::downloading_backoff] Backing of before retrying download of package library-busybox:1.32.1

But this is generally only accessible to a cluster administrator. There is (AFAIK) no way to see this by just using kubectl and the Kubernetes APIs.

nightkr avatar Oct 06 '21 10:10 nightkr