bitnami/charts-syncer

unable to move chart with chart.yaml missing

thllxb opened this issue · 1 comments

I was trying the tool to sync argo-cd charts to local, but it always shows me a bunch of charts failling to be moved due to missing chart.yaml file in /tmp.

Chart-syncer verson: 0.17.0

charts-syncer.yaml:

source:
  repo:
    kind: HELM
    url: https://argoproj.github.io/argo-helm
target:
  repo:
    kind: LOCAL
    path: charts

Command executed:

charts-syncer sync --skip-dependencies -v 9

Error outputs:

Error: 28 errors occurred:
unable to move chart "argo-cd-0.5.0" with charts-syncer: open /tmp/charts-syncer1786826777/argo-cd/Chart.yaml: no such file or directory
unable to move chart "argo-cd-0.5.2" with charts-syncer: open /tmp/charts-syncer390438925/argo-cd/Chart.yaml: no such file or directory
unable to move chart "argo-events-0.2.0" with charts-syncer: open /tmp/charts-syncer1590446607/argo-events/Chart.yaml: no such file or directory
unable to move chart "argo-0.5.0" with charts-syncer: open /tmp/charts-syncer2375732737/argo/Chart.yaml: no such file or directory
unable to move chart "argo-cd-0.5.1" with charts-syncer: open /tmp/charts-syncer3875325756/argo-cd/Chart.yaml: no such file or directory
unable to move chart "argo-0.5.4" with charts-syncer: open /tmp/charts-syncer39712017/argo/Chart.yaml: no such file or directory
unable to move chart "argo-0.5.3" with charts-syncer: open /tmp/charts-syncer2185838542/argo/Chart.yaml: no such file or directory
unable to move chart "argo-cd-0.1.0" with charts-syncer: open /tmp/charts-syncer2082472843/argo-cd/Chart.yaml: no such file or directory
unable to move chart "argo-ci-0.1.1" with charts-syncer: open /tmp/charts-syncer3276105415/argo-ci/Chart.yaml: no such file or directory
unable to move chart "argo-events-0.4.0" with charts-syncer: open /tmp/charts-syncer363393698/argo-events/Chart.yaml: no such file or directory
unable to move chart "argo-cd-0.4.0" with charts-syncer: open /tmp/charts-syncer1055534673/argo-cd/Chart.yaml: no such file or directory
unable to move chart "argo-0.1.0" with charts-syncer: open /tmp/charts-syncer574051143/argo/Chart.yaml: no such file or directory
unable to move chart "argo-0.5.1" with charts-syncer: open /tmp/charts-syncer3372270306/argo/Chart.yaml: no such file or directory
unable to move chart "argo-cd-0.5.3" with charts-syncer: open /tmp/charts-syncer3724017151/argo-cd/Chart.yaml: no such file or directory
unable to move chart "argo-events-0.4.2" with charts-syncer: open /tmp/charts-syncer3376679241/argo-events/Chart.yaml: no such file or directory
unable to move chart "argo-0.5.2" with charts-syncer: open /tmp/charts-syncer302338685/argo/Chart.yaml: no such file or directory
unable to move chart "argo-ci-0.1.0" with charts-syncer: open /tmp/charts-syncer971403870/argo-ci/Chart.yaml: no such file or directory
unable to move chart "argo-cd-0.2.2" with charts-syncer: open /tmp/charts-syncer2682837439/argo-cd/Chart.yaml: no such file or directory
unable to move chart "argo-ci-0.1.2" with charts-syncer: open /tmp/charts-syncer1824896800/argo-ci/Chart.yaml: no such file or directory
unable to move chart "argo-cd-0.3.0" with charts-syncer: open /tmp/charts-syncer771747597/argo-cd/Chart.yaml: no such file or directory
unable to move chart "argo-0.3.1" with charts-syncer: open /tmp/charts-syncer1606991939/argo/Chart.yaml: no such file or directory
unable to move chart "argo-cd-0.2.1" with charts-syncer: open /tmp/charts-syncer348809712/argo-cd/Chart.yaml: no such file or directory
unable to move chart "argo-lite-0.1.0" with charts-syncer: open /tmp/charts-syncer789949061/argo-lite/Chart.yaml: no such file or directory
unable to move chart "argo-0.2.1" with charts-syncer: open /tmp/charts-syncer4291377131/argo/Chart.yaml: no such file or directory
unable to move chart "argo-0.3.0" with charts-syncer: open /tmp/charts-syncer1820739108/argo/Chart.yaml: no such file or directory
unable to move chart "argo-0.1.1" with charts-syncer: open /tmp/charts-syncer3008939602/argo/Chart.yaml: no such file or directory
unable to move chart "argo-events-0.3.0" with charts-syncer: open /tmp/charts-syncer3474381913/argo-events/Chart.yaml: no such file or directory
unable to move chart "argo-0.4.0" with charts-syncer: open /tmp/charts-syncer1054062791/argo/Chart.yaml: no such file or directory

Full log:
argo-cd-charts.log

A workaround is to exclude those charts with --from-date 2021-05-22