Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

open artifact : permission denied #4338

Closed
wyzksp opened this issue Oct 21, 2020 · 4 comments · Fixed by #4350
Closed

open artifact : permission denied #4338

wyzksp opened this issue Oct 21, 2020 · 4 comments · Fixed by #4350
Assignees
Labels
area/artifacts S3/GCP/OSS/Git/HDFS etc area/manifests area/server type/bug type/regression Regression from previous behavior (a specific type of bug)

Comments

@wyzksp
Copy link

wyzksp commented Oct 21, 2020

Summary

What happened:
I installed the quick-start-postgres.yaml, submitted the example using the argo UI. After the example succeeded,I want to see the logs in Archived Workflows, but it shows "Internal Server Error". Then I clicked on" logs from the artifacts", but it shows "open artifact788239015: permission denied". I clicked on "OUTPUT ARTIFACTS" and I can see the file"main-logs", but when I clicked on it, stil, "open artifact083636081: permission denied"

What version of Argo Workflows are you running?
v2.11.6

argo-server logs

time="2020-10-21T13:09:37Z" level=info msg="Download artifact" artifactName=main-logs nodeId=delightful-poochenheimer uid=1b4ba4cd-a7a0-4db8-a5f6-b0b71d4b7fc4
time="2020-10-21T13:13:31Z" level=info msg="Alloc=9032 TotalAlloc=45921 Sys=72384 NumGC=23 Goroutines=79"

workflow-controller logs

time="2020-10-21T12:58:29Z" level=info msg="Alloc=6195 TotalAlloc=63291 Sys=71872 NumGC=63 Goroutines=181"
time="2020-10-21T12:58:39Z" level=info msg="Performing periodic workflow GC"
time="2020-10-21T12:58:39Z" level=info msg="Zero old offloads, nothing to do"
time="2020-10-21T12:59:50Z" level=info msg="Processing workflow" namespace=argo workflow=delightful-poochenheimer
time="2020-10-21T12:59:50Z" level=info msg="Updated phase  -> Running" namespace=argo workflow=delightful-poochenheimer
time="2020-10-21T12:59:50Z" level=info msg="Pod node delightful-poochenheimer initialized Pending" namespace=argo workflow=delightful-poochenheimer
time="2020-10-21T12:59:50Z" level=info msg="Created pod: delightful-poochenheimer (delightful-poochenheimer)" namespace=argo workflow=delightful-poochenheimer
time="2020-10-21T12:59:50Z" level=info msg="Workflow update successful" namespace=argo phase=Running resourceVersion=161374914 workflow=delightful-poochenheimer
time="2020-10-21T12:59:50Z" level=info msg="Processing workflow" namespace=argo workflow=delightful-poochenheimer
time="2020-10-21T12:59:50Z" level=info msg="Skipped pod delightful-poochenheimer (delightful-poochenheimer) creation: already exists" namespace=argo podPhase=Pending workflow=delightful-poochenheimer
time="2020-10-21T12:59:50Z" level=info msg="Workflow update successful" namespace=argo phase=Running resourceVersion=161374917 workflow=delightful-poochenheimer
time="2020-10-21T12:59:51Z" level=info msg="Processing workflow" namespace=argo workflow=delightful-poochenheimer
time="2020-10-21T12:59:51Z" level=info msg="Updating node delightful-poochenheimer message: ContainerCreating"
time="2020-10-21T12:59:51Z" level=info msg="Skipped pod delightful-poochenheimer (delightful-poochenheimer) creation: already exists" namespace=argo podPhase=Pending workflow=delightful-poochenheimer
time="2020-10-21T12:59:51Z" level=info msg="Workflow update successful" namespace=argo phase=Running resourceVersion=161374944 workflow=delightful-poochenheimer
time="2020-10-21T12:59:52Z" level=info msg="Processing workflow" namespace=argo workflow=delightful-poochenheimer
time="2020-10-21T12:59:52Z" level=info msg="Skipped pod delightful-poochenheimer (delightful-poochenheimer) creation: already exists" namespace=argo podPhase=Pending workflow=delightful-poochenheimer
time="2020-10-21T13:00:07Z" level=info msg="Processing workflow" namespace=argo workflow=delightful-poochenheimer
time="2020-10-21T13:00:07Z" level=info msg="Setting node delightful-poochenheimer outputs"
time="2020-10-21T13:00:07Z" level=info msg="Updating node delightful-poochenheimer status Pending -> Running"
time="2020-10-21T13:00:07Z" level=info msg="Skipped pod delightful-poochenheimer (delightful-poochenheimer) creation: already exists" namespace=argo podPhase=Running workflow=delightful-poochenheimer
time="2020-10-21T13:00:07Z" level=info msg="Workflow update successful" namespace=argo phase=Running resourceVersion=161375296 workflow=delightful-poochenheimer
time="2020-10-21T13:00:07Z" level=info msg="Processing workflow" namespace=argo workflow=delightful-poochenheimer
time="2020-10-21T13:00:07Z" level=info msg="Skipped pod delightful-poochenheimer (delightful-poochenheimer) creation: already exists" namespace=argo podPhase=Running workflow=delightful-poochenheimer
time="2020-10-21T13:00:08Z" level=info msg="Processing workflow" namespace=argo workflow=delightful-poochenheimer
time="2020-10-21T13:00:08Z" level=info msg="Updating node delightful-poochenheimer status Running -> Succeeded"
time="2020-10-21T13:00:08Z" level=info msg="Updated phase Running -> Succeeded" namespace=argo workflow=delightful-poochenheimer
time="2020-10-21T13:00:08Z" level=info msg="Marking workflow completed" namespace=argo workflow=delightful-poochenheimer
time="2020-10-21T13:00:08Z" level=info msg="Marking workflow as pending archiving" namespace=argo workflow=delightful-poochenheimer
time="2020-10-21T13:00:08Z" level=info msg="Checking daemoned children of " namespace=argo workflow=delightful-poochenheimer
time="2020-10-21T13:00:08Z" level=info msg="Workflow update successful" namespace=argo phase=Succeeded resourceVersion=161375322 workflow=delightful-poochenheimer
time="2020-10-21T13:00:08Z" level=info msg="archiving workflow" namespace=argo uid=1b4ba4cd-a7a0-4db8-a5f6-b0b71d4b7fc4 workflow=delightful-poochenheimer
time="2020-10-21T13:00:08Z" level=info msg="Delete pod for gc successfully" namespace=argo pod=delightful-poochenheimer
time="2020-10-21T13:00:08Z" level=info msg="archiving workflow" namespace=argo uid=1b4ba4cd-a7a0-4db8-a5f6-b0b71d4b7fc4 workflow=delightful-poochenheimer
time="2020-10-21T13:00:08Z" level=info msg="Found Workflow argo/delightful-poochenheimer set expire at 2020-10-21 13:05:08 +0000 UTC (4m59.240014881s from now)"
time="2020-10-21T13:00:08Z" level=info msg="Queueing workflow argo/delightful-poochenheimer for delete in 4m59.240014881s"
time="2020-10-21T13:00:08Z" level=info msg="Found Workflow argo/delightful-poochenheimer set expire at 2020-10-21 13:05:08 +0000 UTC (4m59.239699386s from now)"
time="2020-10-21T13:00:08Z" level=info msg="Queueing workflow argo/delightful-poochenheimer for delete in 4m59.239699386s"
time="2020-10-21T13:03:29Z" level=info msg="Alloc=6258 TotalAlloc=66707 Sys=72128 NumGC=66 Goroutines=181"
time="2020-10-21T13:03:39Z" level=info msg="Performing periodic workflow GC"
time="2020-10-21T13:03:39Z" level=info msg="Zero old offloads, nothing to do"
time="2020-10-21T13:05:08Z" level=info msg="Deleting TTL expired workflow argo/delightful-poochenheimer"
time="2020-10-21T13:05:08Z" level=info msg="Successfully deleted 'argo/delightful-poochenheimer'"
time="2020-10-21T13:05:08Z" level=info msg="Found Workflow argo/delightful-poochenheimer set expire at 2020-10-21 13:05:08 +0000 UTC (-36.460904ms from now)"
time="2020-10-21T13:05:08Z" level=info msg="Queueing workflow argo/delightful-poochenheimer for delete in 0s"
time="2020-10-21T13:08:29Z" level=info msg="Alloc=6248 TotalAlloc=67136 Sys=72128 NumGC=68 Goroutines=181"
time="2020-10-21T13:08:39Z" level=info msg="Performing periodic workflow GC"
time="2020-10-21T13:08:39Z" level=info msg="Zero old offloads, nothing to do"
time="2020-10-21T13:13:29Z" level=info msg="Alloc=6140 TotalAlloc=67444 Sys=72128 NumGC=71 Goroutines=181"
time="2020-10-21T13:13:39Z" level=info msg="Performing periodic workflow GC"
time="2020-10-21T13:13:39Z" level=info msg="Zero old offloads, nothing to do"

Message from the maintainers:

Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

@alexec
Copy link
Contributor

alexec commented Oct 21, 2020

Is the HTTP status code 403? If so, you probably don’t have the correct Kubernetes RBAC permission set up.

@process0
Copy link
Contributor

I experienced this from a quick start installation as well. After reapplying the RBAC roles and bindings, the issue went away. I suspect this might have something to do with the quick start manifests.

@alexec
Copy link
Contributor

alexec commented Oct 21, 2020

Can you provide the exact files you find yourself applying? It might be that they are not listed correctly.

@wyzksp
Copy link
Author

wyzksp commented Oct 22, 2020

Can you provide the exact files you find yourself applying? It might be that they are not listed correctly.

Just this onequick-start-postgres.yaml

@alexec alexec self-assigned this Oct 22, 2020
alexec added a commit to alexec/argo-workflows that referenced this issue Oct 22, 2020
Signed-off-by: Alex Collins <alex_collins@intuit.com>
alexec added a commit that referenced this issue Oct 26, 2020
Signed-off-by: Alex Collins <alex_collins@intuit.com>
alexec added a commit that referenced this issue Oct 26, 2020
Signed-off-by: Alex Collins <alex_collins@intuit.com>
alexcapras pushed a commit to alexcapras/argo that referenced this issue Nov 12, 2020
…j#4350)

Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Alex Capras <alexcapras@gmail.com>
@agilgur5 agilgur5 added area/server type/regression Regression from previous behavior (a specific type of bug) area/manifests area/artifacts S3/GCP/OSS/Git/HDFS etc labels Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/artifacts S3/GCP/OSS/Git/HDFS etc area/manifests area/server type/bug type/regression Regression from previous behavior (a specific type of bug)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants