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

unable to move chart with chart.yaml missing #160

Open
thllxb opened this issue May 17, 2022 · 1 comment
Open

unable to move chart with chart.yaml missing #160

thllxb opened this issue May 17, 2022 · 1 comment

Comments

@thllxb
Copy link

thllxb commented May 17, 2022

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

@thllxb
Copy link
Author

thllxb commented May 25, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant