Comments (3)
An Archived Workflow is typically a deleted Workflow, therefore there are no Pods for it to retrieve logs from. So if you want logs for deleted Pods, you can either link to a log provider or use artifact logs. You don't have artifact logs, so the error message certainly sounds correct.
We didn't change any configuration during the upgrade, the only change is the image tag from "v3.4.4" to "v3.5.5". The problem is, the workflow will be archived once the workflow finished, we have no chance to check the log event it is failed just 1 min before. By enabling the artifacts logs, we can see log now.
Is it correct for a finished workflow became archived immediately?
from argo-workflows.
Is it correct for a finished workflow became archived immediately?
A Workflow is labeled for archiving when it completes and when that label is detected, archiving is kicked off
That is generally independent of deletion, however, which is based on your TTL or retentionPolicy
.
It sounds like you have a longer TTL potentially, and so you have Workflows that are simultaneously in the archive and still in the cluster? In that case, the pod logs should still be retrievable.
I think I see the issue here, it's probably not falling back to Pod logs properly in 3.5.
3.5 unified the Archived + Live UI into one page (#11121) so there is no distinction now in the UI. In particular, this line would previously only be triggered if you were navigating archived workflows specifically, but now it can be triggered on a live workflow that is also archived. The comment above that line is not quite correct in your case
from argo-workflows.
from UI(the server gets the log from pod I guess)
Correct, it retrieves Pod logs.
but after upgrade, the UI will complain " no artifact logs are available " and no logs returned.
I'm not sure that this is related to the upgrade? You changed your configuration after the upgrade? Or before it?
An Archived Workflow is typically a deleted Workflow, therefore there are no Pods for it to retrieve logs from. So if you want logs for deleted Pods, you can either link to a log provider or use artifact logs. You don't have artifact logs, so the error message certainly sounds correct.
from argo-workflows.
Related Issues (20)
- Incorrect redirect after Login when terminating TLS with reverse proxy HOT 1
- Docs bug: following the quick-start guide _too_ explicitly can get users in trouble HOT 2
- UI: allow arbitrary parameter input similar to CLI
- UI: Containerset nodes receive the wrong podname HOT 5
- Option to disable writing k8s events HOT 3
- Retrying workflows have short deadline ignoring activeDeadlineSeconds HOT 2
- Define a specific Seccomp Profile to set on all containers
- GODEBUG should not be sent in pod create HOT 1
- Terminating workflow with running exit-handler leaves some nodes to Running phase HOT 1
- S3 - allow choosing the storage type for upload HOT 1
- Allow skipping a workflow if mutex cannot be acquired HOT 4
- Broken redirect to archived workflows
- Self reporting progress does not work when `workflows.argoproj.io/progress` is set
- When workflow level retry expression evaluated False, workflow message is always `retryStrategy.expression evaluated to false` regardless of actual failure HOT 2
- Switch from Masterminds/sprig to go-sprout/sprout HOT 1
- onExit steps executed after deadline exceeded are stopped if an onExit pod spends >=10 seconds in Pending state HOT 4
- `unknown name groups` during SSO in v3.5.5 HOT 4
- Can't schedule CronWorkflows with workaround for first day of month (cron "if") HOT 1
- Workflow on GKE Autopilot fail but run fine as Job HOT 3
- Ability to override pod GC strategy on a per-template basis HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from argo-workflows.