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

fix(controller): handle case of configmap already exists on offload EnvVarTemplate. Fixes #13755 #13756

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

fyp711
Copy link
Contributor

@fyp711 fyp711 commented Oct 15, 2024

Fixes #13755

Motivation

if workflow pod used offload envVarTemplate, when pod create failed, and a transient error occurred. The pod will retry on moment, then this node will failed with IsAlreadyExists error.

Modifications

We should process Already Exists error

Verification

The best way to verifiy is constructing a too lang template, and than simulate a transient error

workflow/controller/workflowpod.go Outdated Show resolved Hide resolved
workflow/controller/workflowpod.go Show resolved Hide resolved
@fyp711 fyp711 force-pushed the offload_env branch 2 times, most recently from fcb5c08 to 9b49595 Compare October 15, 2024 08:30
workflow/controller/workflowpod.go Outdated Show resolved Hide resolved
@Joibel Joibel added this to the v3.6.0 milestone Oct 15, 2024
@Joibel
Copy link
Member

Joibel commented Oct 15, 2024

Thanks for this, and for testing 3.6

@Joibel Joibel merged commit 98dd46c into argoproj:main Oct 15, 2024
28 checks passed
@agilgur5 agilgur5 added the area/controller Controller issues, panics label Oct 15, 2024
@agilgur5 agilgur5 changed the title fix(controller): Add configmap already exists judgment on offload Env… fix(controller): handle case of configmap already exists on offload EnvVarTemplate. Fixes #13755 Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/controller Controller issues, panics
Projects
None yet
Development

Successfully merging this pull request may close these issues.

When offloading env, ConfigMap already existing error is not handled
3 participants