Skip to content

Cache conflicts running multiple helmfile using the same chart in parallel #2295

Description

@champtar

Operating system

Fedora 43

Helmfile Version

1.2.1

Helm Version

v3.17.1

Bug description

We run multiple helmfile in parallel, in 1.1.0, OCI charts where downloaded to a unique folder in /tmp

/tmp/helmfile4292931928/karpenter/testetienne/ingress-nodepool/charts/incubator/raw/0.2.5/raw

In 1.2.1, the folder is deterministic

/home/user/.cache/helmfile/ecr/charts/incubator/raw/0.2.5

If 2 helmfile using the same chart run in parallel, they will run the same helm pull command in parallel and we can have conflicts

Error: failed to untar: a file or directory with the name /home/user/.cache/helmfile/ecr/charts/incubator/raw/0.2.5/raw already exists

The new behavior change was added in #2171

Example helmfile.yaml

I can write a minimal helmfile.yaml if really needed

Error message you've seen (if any)

Error: failed to untar: a file or directory with the name /home/user/.cache/helmfile/ecr/charts/incubator/raw/0.2.5/raw already exists

Steps to reproduce

todo

Working Helmfile Version

1.1.0

Relevant discussion

helm/helm#12315

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions