argoproj / argo-cd

Declarative Continuous Deployment for Kubernetes
https://argo-cd.readthedocs.io
Apache License 2.0
17.82k stars 5.44k forks source link

Helm OCI repository (ACR) #6365

Open unittolabs opened 3 years ago

unittolabs commented 3 years ago

If you are trying to resolve an environment-specific issue or have a one-off question about the edge case that does not require a feature then please consider asking a question in argocd slack channel.

Checklist:

Describe the bug

Can't deploy the application via declarative syntax using helm OCI-based registry (Azure Container Registry - ACR).

To Reproduce

  1. Use AKS 1.19.7 and official argocd chart 3.6.0
  2. Use ACR as a source for helm chart (don't forget to add repo credentials via CLI tool, UI doesn't have this option)
  3. Create a manifest for the app:
    apiVersion: argoproj.io/v1alpha1
    kind: Application
    metadata:
    name: test
    namespace: argocd
    finalizers:
    - resources-finalizer.argocd.argoproj.io
    spec:
    project: default
    syncPolicy:
    automated:
      prune: true
      selfHeal: true
      allowEmpty: true
    syncOptions:
      - CreateNamespace=true
    destination:
    server: https://kubernetes.default.svc
    namespace: default
    source:
    repoURL: hidden.azurecr.io
    chart: helm/test
    targetRevision: v1
  4. Wait for sync error

Expected behavior

As am issue #4018 was merged and released in argocd 1.8, the helm chart should be deployed into the cluster.

Screenshots

-

Version

argocd: v2.0.1+33eaf11
  BuildDate: 2021-04-15T22:31:51Z
  GitCommit: 33eaf11e3abd8c761c726e815cbb4b6af7dcb030
  GitTreeState: clean
  GoVersion: go1.16
  Compiler: gc
  Platform: linux/amd64

Logs

{"level":"info","msg":"Generating self-signed gRPC TLS certificate for this session","time":"2021-05-31T13:17:43Z"}
{"level":"info","msg":"Initializing GnuPG keyring at /app/config/gpg/keys","time":"2021-05-31T13:17:48Z"}
{"dir":"","execID":"WPj5g","level":"info","msg":"gpg --no-permission-warning --logger-fd 1 --batch --generate-key /tmp/gpg-key-recipe427622359","time":"2021-05-31T13:17:48Z"}
{"duration":2108226733,"execID":"WPj5g","level":"debug","msg":"gpg: keybox '/app/config/gpg/keys/pubring.kbx' created\ngpg: /app/config/gpg/keys/trustdb.gpg: trustdb created\ngpg: key A705E6FE50BA4EC3 marked as ultimately trusted\ngpg: directory '/app/config/gpg/keys/openpgp-revocs.d' created\ngpg: revocation certificate stored as '/app/config/gpg/keys/openpgp-revocs.d/F33A78887743650779585F2BA705E6FE50BA4EC3.rev'\n","time":"2021-05-31T13:17:50Z"}
time="2021-05-31T13:17:50Z" level=info msg=Trace args="[gpg --no-permission-warning --logger-fd 1 --batch --generate-key /tmp/gpg-key-recipe427622359]" dir= operation_name="exec gpg" time_ms=2108.433445
{"level":"info","msg":"Populating GnuPG keyring with keys from /app/config/gpg/source","time":"2021-05-31T13:17:50Z"}
{"dir":"","execID":"XCFeP","level":"info","msg":"gpg --no-permission-warning --list-public-keys","time":"2021-05-31T13:17:50Z"}
{"duration":95860308,"execID":"XCFeP","level":"debug","msg":"/app/config/gpg/keys/pubring.kbx\n--------------------------------\npub   rsa2048 2021-05-31 [SC] [expires: 2021-11-27]\n      F33A78887743650779585F2BA705E6FE50BA4EC3\nuid           [ultimate] Anon Ymous (ArgoCD key signing key) \u003cnoreply@argoproj.io\u003e\n\n","time":"2021-05-31T13:17:50Z"}
time="2021-05-31T13:17:50Z" level=info msg=Trace args="[gpg --no-permission-warning --list-public-keys]" dir= operation_name="exec gpg" time_ms=95.985915
{"dir":"","execID":"XjBdt","level":"info","msg":"gpg --no-permission-warning -a --export A705E6FE50BA4EC3","time":"2021-05-31T13:17:50Z"}
{"duration":2943972,"execID":"XjBdt","level":"debug","msg":"-----BEGIN PGP PUBLIC KEY BLOCK-----\n\nmQENBGC04fwBCADfkO7WUQwJg/7H5Vin2un4MAFqDvYO1T6r+6QZlD03thClxRDG\ncKndsYSLq75DA+Oy6VDJIkcFVL234VxLpFg7ntq3yrpBrWl3BgYt2UIWoFK0eGwZ\n3FmAwCbWsNXNDDL/D2dF94Ww3VRzDTKHazW5RxNFOLZNfjWvxnXjMtq9yWZRo+X/\nHxNMyr/uQxuf+qOG00z+5IEeoE48Q/v2dblbZMbaCG3gaBGgiWHkxK6UZqJ7nkhE\ns2tUTOhm02EmoibG9qtNW4SGxpQ5uP42CN8Zwl5epFv8CVuC418SKuRJRVUGKCsC\nxFX+Cg2syqi89RcqYiHiAwFAcbodcs2HdTRVABEBAAG0OUFub24gWW1vdXMgKEFy\nZ29DRCBrZXkgc2lnbmluZyBrZXkpIDxub3JlcGx5QGFyZ29wcm9qLmlvPokBVAQT\nAQoAPhYhBPM6eIh3Q2UHeVhfK6cF5v5Quk7DBQJgtOH8AhsDBQkA7U4ABQsJCAcC\nBhUKCQgLAgQWAgMBAh4BAheAAAoJEKcF5v5Quk7DyCkH/21FsiEHLYqNNR0ndoNi\ndrt7EuL7FK5ApZMOPtzm0h/3oM0lVZx5BKTaadwdXva6XTlkXm8bxFYQXxQ0njwQ\nwsgVf00Jo+yedCgHbcskJSBbLlG6K7iVWmOacT/azSoNZTLyEJ3hfObSwW9iHiLs\nmGh4FmeEpEIyq/E/vLK7b972Z1KSmH6Pon6MrJxxG0QVeV5lZovQHLpemfp3qNUy\nd2qG048ukSEvQJEUTR7gOvr8FMjnmtxy1R5PRBxzKO05pYCekzoozi2dJjANYha6\nuVSgWbmUaiEPmBT4JhUw06/9a8OsNL+o8Dvq1tcbf/0BwzP+Miqgff5t0WW3ubRk\nkn0=\n=U2z5\n-----END PGP PUBLIC KEY BLOCK-----\n","time":"2021-05-31T13:17:50Z"}
time="2021-05-31T13:17:50Z" level=info msg=Trace args="[gpg --no-permission-warning -a --export A705E6FE50BA4EC3]" dir= operation_name="exec gpg" time_ms=3.026577
{"dir":"","execID":"gd6mL","level":"info","msg":"gpg-wrapper.sh --no-permission-warning --list-secret-keys A705E6FE50BA4EC3","time":"2021-05-31T13:17:50Z"}
{"duration":98086039,"execID":"gd6mL","level":"debug","msg":"sec   rsa2048 2021-05-31 [SC] [expires: 2021-11-27]\n      F33A78887743650779585F2BA705E6FE50BA4EC3\nuid           [ultimate] Anon Ymous (ArgoCD key signing key) \u003cnoreply@argoproj.io\u003e\n","time":"2021-05-31T13:17:50Z"}
time="2021-05-31T13:17:50Z" level=info msg=Trace args="[gpg-wrapper.sh --no-permission-warning --list-secret-keys A705E6FE50BA4EC3]" dir= operation_name="exec gpg-wrapper.sh" time_ms=98.209446
{"level":"info","msg":"Loaded 0 (and removed 0) keys from keyring","time":"2021-05-31T13:17:50Z"}
{"level":"info","msg":"argocd-repo-server v2.0.1+33eaf11 serving on [::]:8081","time":"2021-05-31T13:17:50Z"}
{"level":"info","msg":"Starting GPG sync watcher on directory '/app/config/gpg/source'","time":"2021-05-31T13:17:50Z"}
{"level":"info","msg":"manifest error cache hit: \u0026ApplicationSource{RepoURL:hidden.azurecr.io,Path:,TargetRevision:v1,Helm:nil,Kustomize:nil,Ksonnet:nil,Directory:nil,Plugin:nil,Chart:helm/test,}/v1","time":"2021-05-31T13:18:22Z"}
{"error":"Manifest generation error (cached): lstat /tmp/helm892034209/test: no such file or directory","grpc.code":"Unknown","grpc.method":"GenerateManifest","grpc.request.deadline":"2021-05-31T13:19:22Z","grpc.service":"repository.RepoServerService","grpc.start_time":"2021-05-31T13:18:22Z","grpc.time_ms":4.855,"level":"error","msg":"finished unary call with code Unknown","span.kind":"server","system":"grpc","time":"2021-05-31T13:18:22Z"}
{"level":"debug","msg":"revision 'master' resolved to 'ad9042b8ada432e18ea66a41d77136e4983adc88'","time":"2021-05-31T13:18:22Z"}
{"level":"info","msg":"manifest cache hit: \u0026ApplicationSource{RepoURL:https://hidden@dev.azure.com/hidden/DevOps/_git/argocd,Path:dev,TargetRevision:master,Helm:nil,Kustomize:nil,Ksonnet:nil,Directory:\u0026ApplicationSourceDirectory{Recurse:true,Jsonnet:ApplicationSourceJsonnet{ExtVars:[]JsonnetVar{},TLAs:[]JsonnetVar{},Libs:[],},Exclude:,Include:,},Plugin:nil,Chart:,}/ad9042b8ada432e18ea66a41d77136e4983adc88","time":"2021-05-31T13:18:22Z"}
{"grpc.code":"OK","grpc.method":"GenerateManifest","grpc.request.deadline":"2021-05-31T13:19:22Z","grpc.service":"repository.RepoServerService","grpc.start_time":"2021-05-31T13:18:22Z","grpc.time_ms":777.739,"level":"info","msg":"finished unary call with code OK","span.kind":"server","system":"grpc","time":"2021-05-31T13:18:22Z"}
{"level":"debug","msg":"revision 'master' resolved to 'ad9042b8ada432e18ea66a41d77136e4983adc88'","time":"2021-05-31T13:18:23Z"}
{"level":"info","msg":"manifest cache hit: \u0026ApplicationSource{RepoURL:https://hidden@dev.azure.com/hidden/DevOps/_git/argocd,Path:dev,TargetRevision:master,Helm:nil,Kustomize:nil,Ksonnet:nil,Directory:\u0026ApplicationSourceDirectory{Recurse:true,Jsonnet:ApplicationSourceJsonnet{ExtVars:[]JsonnetVar{},TLAs:[]JsonnetVar{},Libs:[],},Exclude:,Include:,},Plugin:nil,Chart:,}/ad9042b8ada432e18ea66a41d77136e4983adc88","time":"2021-05-31T13:18:23Z"}
{"grpc.code":"OK","grpc.method":"GenerateManifest","grpc.request.deadline":"2021-05-31T13:19:23Z","grpc.service":"repository.RepoServerService","grpc.start_time":"2021-05-31T13:18:23Z","grpc.time_ms":284.234,"level":"info","msg":"finished unary call with code OK","span.kind":"server","system":"grpc","time":"2021-05-31T13:18:23Z"}
{"level":"info","msg":"manifest cache hit: \u0026ApplicationSource{RepoURL:https://hidden@dev.azure.com/hidden/DevOps/_git/argocd,Path:dev,TargetRevision:master,Helm:nil,Kustomize:nil,Ksonnet:nil,Directory:\u0026ApplicationSourceDirectory{Recurse:true,Jsonnet:ApplicationSourceJsonnet{ExtVars:[]JsonnetVar{},TLAs:[]JsonnetVar{},Libs:[],},Exclude:,Include:,},Plugin:nil,Chart:,}/ad9042b8ada432e18ea66a41d77136e4983adc88","time":"2021-05-31T13:18:23Z"}
{"grpc.code":"OK","grpc.method":"GenerateManifest","grpc.request.deadline":"2021-05-31T13:19:23Z","grpc.service":"repository.RepoServerService","grpc.start_time":"2021-05-31T13:18:23Z","grpc.time_ms":1.323,"level":"info","msg":"finished unary call with code OK","span.kind":"server","system":"grpc","time":"2021-05-31T13:18:23Z"}
{"level":"info","msg":"manifest error cache hit: \u0026ApplicationSource{RepoURL:hidden.azurecr.io,Path:,TargetRevision:v1,Helm:nil,Kustomize:nil,Ksonnet:nil,Directory:nil,Plugin:nil,Chart:helm/test,}/v1","time":"2021-05-31T13:19:22Z"}
{"error":"Manifest generation error (cached): lstat /tmp/helm892034209/test: no such file or directory","grpc.code":"Unknown","grpc.method":"GenerateManifest","grpc.request.deadline":"2021-05-31T13:20:22Z","grpc.service":"repository.RepoServerService","grpc.start_time":"2021-05-31T13:19:22Z","grpc.time_ms":0.754,"level":"error","msg":"finished unary call with code Unknown","span.kind":"server","system":"grpc","time":"2021-05-31T13:19:22Z"}
{"level":"info","msg":"manifest cache hit: \u0026ApplicationSource{RepoURL:https://hidden@dev.azure.com/hidden/DevOps/_git/argocd,Path:dev,TargetRevision:master,Helm:nil,Kustomize:nil,Ksonnet:nil,Directory:\u0026ApplicationSourceDirectory{Recurse:true,Jsonnet:ApplicationSourceJsonnet{ExtVars:[]JsonnetVar{},TLAs:[]JsonnetVar{},Libs:[],},Exclude:,Include:,},Plugin:nil,Chart:,}/ad9042b8ada432e18ea66a41d77136e4983adc88","time":"2021-05-31T13:19:22Z"}
{"grpc.code":"OK","grpc.method":"GenerateManifest","grpc.request.deadline":"2021-05-31T13:20:22Z","grpc.service":"repository.RepoServerService","grpc.start_time":"2021-05-31T13:19:22Z","grpc.time_ms":2.754,"level":"info","msg":"finished unary call with code OK","span.kind":"server","system":"grpc","time":"2021-05-31T13:19:22Z"}
{"level":"info","msg":"manifest error cache hit: \u0026ApplicationSource{RepoURL:hidden.azurecr.io,Path:,TargetRevision:v1,Helm:nil,Kustomize:nil,Ksonnet:nil,Directory:nil,Plugin:nil,Chart:helm/test,}/v1","time":"2021-05-31T13:20:22Z"}
{"error":"Manifest generation error (cached): lstat /tmp/helm892034209/test: no such file or directory","grpc.code":"Unknown","grpc.method":"GenerateManifest","grpc.request.deadline":"2021-05-31T13:21:22Z","grpc.service":"repository.RepoServerService","grpc.start_time":"2021-05-31T13:20:22Z","grpc.time_ms":0.72,"level":"error","msg":"finished unary call with code Unknown","span.kind":"server","system":"grpc","time":"2021-05-31T13:20:22Z"}
{"level":"debug","msg":"revision 'master' resolved to 'ad9042b8ada432e18ea66a41d77136e4983adc88'","time":"2021-05-31T13:20:22Z"}
{"level":"info","msg":"manifest cache hit: \u0026ApplicationSource{RepoURL:https://hidden@dev.azure.com/hidden/DevOps/_git/argocd,Path:dev,TargetRevision:master,Helm:nil,Kustomize:nil,Ksonnet:nil,Directory:\u0026ApplicationSourceDirectory{Recurse:true,Jsonnet:ApplicationSourceJsonnet{ExtVars:[]JsonnetVar{},TLAs:[]JsonnetVar{},Libs:[],},Exclude:,Include:,},Plugin:nil,Chart:,}/ad9042b8ada432e18ea66a41d77136e4983adc88","time":"2021-05-31T13:20:22Z"}
{"grpc.code":"OK","grpc.method":"GenerateManifest","grpc.request.deadline":"2021-05-31T13:21:22Z","grpc.service":"repository.RepoServerService","grpc.start_time":"2021-05-31T13:20:22Z","grpc.time_ms":300.84,"level":"info","msg":"finished unary call with code OK","span.kind":"server","system":"grpc","time":"2021-05-31T13:20:22Z"}
{"level":"debug","msg":"revision 'master' resolved to 'ad9042b8ada432e18ea66a41d77136e4983adc88'","time":"2021-05-31T13:20:23Z"}
{"level":"info","msg":"manifest cache hit: \u0026ApplicationSource{RepoURL:https://hidden@dev.azure.com/hidden/DevOps/_git/argocd,Path:dev,TargetRevision:master,Helm:nil,Kustomize:nil,Ksonnet:nil,Directory:\u0026ApplicationSourceDirectory{Recurse:true,Jsonnet:ApplicationSourceJsonnet{ExtVars:[]JsonnetVar{},TLAs:[]JsonnetVar{},Libs:[],},Exclude:,Include:,},Plugin:nil,Chart:,}/ad9042b8ada432e18ea66a41d77136e4983adc88","time":"2021-05-31T13:20:23Z"}
{"grpc.code":"OK","grpc.method":"GenerateManifest","grpc.request.deadline":"2021-05-31T13:21:22Z","grpc.service":"repository.RepoServerService","grpc.start_time":"2021-05-31T13:20:22Z","grpc.time_ms":269.366,"level":"info","msg":"finished unary call with code OK","span.kind":"server","system":"grpc","time":"2021-05-31T13:20:23Z"}
{"level":"info","msg":"manifest cache hit: \u0026ApplicationSource{RepoURL:https://hidden@dev.azure.com/hidden/DevOps/_git/argocd,Path:dev,TargetRevision:master,Helm:nil,Kustomize:nil,Ksonnet:nil,Directory:\u0026ApplicationSourceDirectory{Recurse:true,Jsonnet:ApplicationSourceJsonnet{ExtVars:[]JsonnetVar{},TLAs:[]JsonnetVar{},Libs:[],},Exclude:,Include:,},Plugin:nil,Chart:,}/ad9042b8ada432e18ea66a41d77136e4983adc88","time":"2021-05-31T13:20:23Z"}
{"grpc.code":"OK","grpc.method":"GenerateManifest","grpc.request.deadline":"2021-05-31T13:21:23Z","grpc.service":"repository.RepoServerService","grpc.start_time":"2021-05-31T13:20:23Z","grpc.time_ms":1.453,"level":"info","msg":"finished unary call with code OK","span.kind":"server","system":"grpc","time":"2021-05-31T13:20:23Z"}
{"level":"info","msg":"manifest error cache hit: \u0026ApplicationSource{RepoURL:hidden.azurecr.io,Path:,TargetRevision:v1,Helm:nil,Kustomize:nil,Ksonnet:nil,Directory:nil,Plugin:nil,Chart:helm/test,}/v1","time":"2021-05-31T13:21:22Z"}
{"error":"Manifest generation error (cached): lstat /tmp/helm892034209/test: no such file or directory","grpc.code":"Unknown","grpc.method":"GenerateManifest","grpc.request.deadline":"2021-05-31T13:22:22Z","grpc.service":"repository.RepoServerService","grpc.start_time":"2021-05-31T13:21:22Z","grpc.time_ms":1.322,"level":"error","msg":"finished unary call with code Unknown","span.kind":"server","system":"grpc","time":"2021-05-31T13:21:22Z"}
{"level":"debug","msg":"revision 'master' resolved to 'ad9042b8ada432e18ea66a41d77136e4983adc88'","time":"2021-05-31T13:21:22Z"}
{"level":"info","msg":"manifest cache hit: \u0026ApplicationSource{RepoURL:https://hidden@dev.azure.com/hidden/DevOps/_git/argocd,Path:dev,TargetRevision:master,Helm:nil,Kustomize:nil,Ksonnet:nil,Directory:\u0026ApplicationSourceDirectory{Recurse:true,Jsonnet:ApplicationSourceJsonnet{ExtVars:[]JsonnetVar{},TLAs:[]JsonnetVar{},Libs:[],},Exclude:,Include:,},Plugin:nil,Chart:,}/ad9042b8ada432e18ea66a41d77136e4983adc88","time":"2021-05-31T13:21:22Z"}
{"grpc.code":"OK","grpc.method":"GenerateManifest","grpc.request.deadline":"2021-05-31T13:22:22Z","grpc.service":"repository.RepoServerService","grpc.start_time":"2021-05-31T13:21:22Z","grpc.time_ms":499.654,"level":"info","msg":"finished unary call with code OK","span.kind":"server","system":"grpc","time":"2021-05-31T13:21:22Z"}
{"level":"debug","msg":"revision 'master' resolved to 'ad9042b8ada432e18ea66a41d77136e4983adc88'","time":"2021-05-31T13:21:23Z"}
{"level":"info","msg":"manifest cache hit: \u0026ApplicationSource{RepoURL:https://hidden@dev.azure.com/hidden/DevOps/_git/argocd,Path:dev,TargetRevision:master,Helm:nil,Kustomize:nil,Ksonnet:nil,Directory:\u0026ApplicationSourceDirectory{Recurse:true,Jsonnet:ApplicationSourceJsonnet{ExtVars:[]JsonnetVar{},TLAs:[]JsonnetVar{},Libs:[],},Exclude:,Include:,},Plugin:nil,Chart:,}/ad9042b8ada432e18ea66a41d77136e4983adc88","time":"2021-05-31T13:21:23Z"}
{"grpc.code":"OK","grpc.method":"GenerateManifest","grpc.request.deadline":"2021-05-31T13:22:22Z","grpc.service":"repository.RepoServerService","grpc.start_time":"2021-05-31T13:21:22Z","grpc.time_ms":227.648,"level":"info","msg":"finished unary call with code OK","span.kind":"server","system":"grpc","time":"2021-05-31T13:21:23Z"}
{"level":"info","msg":"manifest cache hit: \u0026ApplicationSource{RepoURL:https://hidden@dev.azure.com/hidden/DevOps/_git/argocd,Path:dev,TargetRevision:master,Helm:nil,Kustomize:nil,Ksonnet:nil,Directory:\u0026ApplicationSourceDirectory{Recurse:true,Jsonnet:ApplicationSourceJsonnet{ExtVars:[]JsonnetVar{},TLAs:[]JsonnetVar{},Libs:[],},Exclude:,Include:,},Plugin:nil,Chart:,}/ad9042b8ada432e18ea66a41d77136e4983adc88","time":"2021-05-31T13:21:23Z"}
{"grpc.code":"OK","grpc.method":"GenerateManifest","grpc.request.deadline":"2021-05-31T13:22:23Z","grpc.service":"repository.RepoServerService","grpc.start_time":"2021-05-31T13:21:23Z","grpc.time_ms":2.684,"level":"info","msg":"finished unary call with code OK","span.kind":"server","system":"grpc","time":"2021-05-31T13:21:23Z"}
{"level":"info","msg":"manifest error cache hit: \u0026ApplicationSource{RepoURL:hidden.azurecr.io,Path:,TargetRevision:v1,Helm:nil,Kustomize:nil,Ksonnet:nil,Directory:nil,Plugin:nil,Chart:helm/test,}/v1","time":"2021-05-31T13:22:22Z"}
{"error":"Manifest generation error (cached): lstat /tmp/helm892034209/test: no such file or directory","grpc.code":"Unknown","grpc.method":"GenerateManifest","grpc.request.deadline":"2021-05-31T13:23:22Z","grpc.service":"repository.RepoServerService","grpc.start_time":"2021-05-31T13:22:22Z","grpc.time_ms":0.853,"level":"error","msg":"finished unary call with code Unknown","span.kind":"server","system":"grpc","time":"2021-05-31T13:22:22Z"}
{"level":"debug","msg":"revision 'master' resolved to 'ad9042b8ada432e18ea66a41d77136e4983adc88'","time":"2021-05-31T13:22:22Z"}
{"level":"info","msg":"manifest cache hit: \u0026ApplicationSource{RepoURL:https://hidden@dev.azure.com/hidden/DevOps/_git/argocd,Path:dev,TargetRevision:master,Helm:nil,Kustomize:nil,Ksonnet:nil,Directory:\u0026ApplicationSourceDirectory{Recurse:true,Jsonnet:ApplicationSourceJsonnet{ExtVars:[]JsonnetVar{},TLAs:[]JsonnetVar{},Libs:[],},Exclude:,Include:,},Plugin:nil,Chart:,}/ad9042b8ada432e18ea66a41d77136e4983adc88","time":"2021-05-31T13:22:22Z"}
{"grpc.code":"OK","grpc.method":"GenerateManifest","grpc.request.deadline":"2021-05-31T13:23:22Z","grpc.service":"repository.RepoServerService","grpc.start_time":"2021-05-31T13:22:22Z","grpc.time_ms":419.024,"level":"info","msg":"finished unary call with code OK","span.kind":"server","system":"grpc","time":"2021-05-31T13:22:22Z"}
{"level":"debug","msg":"revision 'master' resolved to 'ad9042b8ada432e18ea66a41d77136e4983adc88'","time":"2021-05-31T13:22:23Z"}
{"level":"info","msg":"manifest cache hit: \u0026ApplicationSource{RepoURL:https://hidden@dev.azure.com/hidden/DevOps/_git/argocd,Path:dev,TargetRevision:master,Helm:nil,Kustomize:nil,Ksonnet:nil,Directory:\u0026ApplicationSourceDirectory{Recurse:true,Jsonnet:ApplicationSourceJsonnet{ExtVars:[]JsonnetVar{},TLAs:[]JsonnetVar{},Libs:[],},Exclude:,Include:,},Plugin:nil,Chart:,}/ad9042b8ada432e18ea66a41d77136e4983adc88","time":"2021-05-31T13:22:23Z"}
{"grpc.code":"OK","grpc.method":"GenerateManifest","grpc.request.deadline":"2021-05-31T13:23:22Z","grpc.service":"repository.RepoServerService","grpc.start_time":"2021-05-31T13:22:22Z","grpc.time_ms":93.947,"level":"info","msg":"finished unary call with code OK","span.kind":"server","system":"grpc","time":"2021-05-31T13:22:23Z"}
{"level":"info","msg":"manifest cache hit: \u0026ApplicationSource{RepoURL:https://hidden@dev.azure.com/hidden/DevOps/_git/argocd,Path:dev,TargetRevision:master,Helm:nil,Kustomize:nil,Ksonnet:nil,Directory:\u0026ApplicationSourceDirectory{Recurse:true,Jsonnet:ApplicationSourceJsonnet{ExtVars:[]JsonnetVar{},TLAs:[]JsonnetVar{},Libs:[],},Exclude:,Include:,},Plugin:nil,Chart:,}/ad9042b8ada432e18ea66a41d77136e4983adc88","time":"2021-05-31T13:22:23Z"}
{"grpc.code":"OK","grpc.method":"GenerateManifest","grpc.request.deadline":"2021-05-31T13:23:23Z","grpc.service":"repository.RepoServerService","grpc.start_time":"2021-05-31T13:22:23Z","grpc.time_ms":1.474,"level":"info","msg":"finished unary call with code OK","span.kind":"server","system":"grpc","time":"2021-05-31T13:22:23Z"}
{"level":"info","msg":"manifest cache hit: \u0026ApplicationSource{RepoURL:https://hidden@dev.azure.com/hidden/DevOps/_git/argocd,Path:dev,TargetRevision:master,Helm:nil,Kustomize:nil,Ksonnet:nil,Directory:\u0026ApplicationSourceDirectory{Recurse:true,Jsonnet:ApplicationSourceJsonnet{ExtVars:[]JsonnetVar{},TLAs:[]JsonnetVar{},Libs:[],},Exclude:,Include:,},Plugin:nil,Chart:,}/ad9042b8ada432e18ea66a41d77136e4983adc88","time":"2021-05-31T13:22:55Z"}
{"grpc.code":"OK","grpc.method":"GenerateManifest","grpc.request.deadline":"2021-05-31T13:23:55Z","grpc.service":"repository.RepoServerService","grpc.start_time":"2021-05-31T13:22:55Z","grpc.time_ms":2.078,"level":"info","msg":"finished unary call with code OK","span.kind":"server","system":"grpc","time":"2021-05-31T13:22:55Z"}
{"level":"info","msg":"manifest cache hit: \u0026ApplicationSource{RepoURL:https://hidden@dev.azure.com/hidden/DevOps/_git/argocd,Path:dev,TargetRevision:master,Helm:nil,Kustomize:nil,Ksonnet:nil,Directory:\u0026ApplicationSourceDirectory{Recurse:true,Jsonnet:ApplicationSourceJsonnet{ExtVars:[]JsonnetVar{},TLAs:[]JsonnetVar{},Libs:[],},Exclude:,Include:,},Plugin:nil,Chart:,}/ad9042b8ada432e18ea66a41d77136e4983adc88","time":"2021-05-31T13:22:56Z"}
{"grpc.code":"OK","grpc.method":"GenerateManifest","grpc.request.deadline":"2021-05-31T13:23:56Z","grpc.service":"repository.RepoServerService","grpc.start_time":"2021-05-31T13:22:56Z","grpc.time_ms":2.922,"level":"info","msg":"finished unary call with code OK","span.kind":"server","system":"grpc","time":"2021-05-31T13:22:56Z"}
{"level":"debug","msg":"revision 'master' resolved to 'ad9042b8ada432e18ea66a41d77136e4983adc88'","time":"2021-05-31T13:23:22Z"}
{"level":"info","msg":"manifest cache hit: \u0026ApplicationSource{RepoURL:https://hidden@dev.azure.com/hidden/DevOps/_git/argocd,Path:dev,TargetRevision:master,Helm:nil,Kustomize:nil,Ksonnet:nil,Directory:\u0026ApplicationSourceDirectory{Recurse:true,Jsonnet:ApplicationSourceJsonnet{ExtVars:[]JsonnetVar{},TLAs:[]JsonnetVar{},Libs:[],},Exclude:,Include:,},Plugin:nil,Chart:,}/ad9042b8ada432e18ea66a41d77136e4983adc88","time":"2021-05-31T13:23:22Z"}
{"grpc.code":"OK","grpc.method":"GenerateManifest","grpc.request.deadline":"2021-05-31T13:24:22Z","grpc.service":"repository.RepoServerService","grpc.start_time":"2021-05-31T13:23:22Z","grpc.time_ms":206.216,"level":"info","msg":"finished unary call with code OK","span.kind":"server","system":"grpc","time":"2021-05-31T13:23:22Z"}
{"level":"info","msg":"revision metadata cache miss: https://hidden@dev.azure.com/hidden/DevOps/_git/argocd/ad9042b8ada432e18ea66a41d77136e4983adc88","time":"2021-05-31T13:23:27Z"}
{"level":"info","msg":"Initializing https://hidden@dev.azure.com/hidden/DevOps/_git/argocd to /tmp/https:__hidden@dev.azure.com_hidden_devops__git_argocd","time":"2021-05-31T13:23:27Z"}
{"dir":"","execID":"O7qZk","level":"info","msg":"rm -rf /tmp/https:__hidden@dev.azure.com_hidden_devops__git_argocd","time":"2021-05-31T13:23:27Z"}
{"duration":1298976,"execID":"O7qZk","level":"debug","msg":"","time":"2021-05-31T13:23:27Z"}
time="2021-05-31T13:23:27Z" level=info msg=Trace args="[rm -rf /tmp/https:__hidden@dev.azure.com_hidden_devops__git_argocd]" dir= operation_name="exec rm" time_ms=1.36408
{"dir":"/tmp/https:__hidden@dev.azure.com_hidden_devops__git_argocd","execID":"lUWN9","level":"info","msg":"git fetch origin --tags --force","time":"2021-05-31T13:23:27Z"}
{"duration":911160897,"execID":"lUWN9","level":"debug","msg":"","time":"2021-05-31T13:23:28Z"}
time="2021-05-31T13:23:28Z" level=info msg=Trace args="[git fetch origin --tags --force]" dir="/tmp/https:__hidden@dev.azure.com_hidden_devops__git_argocd" operation_name="exec git" time_ms=911.2842039999999
{"dir":"/tmp/https:__hidden@dev.azure.com_hidden_devops__git_argocd","execID":"imzNc","level":"info","msg":"git checkout --force ad9042b8ada432e18ea66a41d77136e4983adc88","time":"2021-05-31T13:23:28Z"}
{"duration":95978439,"execID":"imzNc","level":"debug","msg":"","time":"2021-05-31T13:23:28Z"}
time="2021-05-31T13:23:28Z" level=info msg=Trace args="[git checkout --force ad9042b8ada432e18ea66a41d77136e4983adc88]" dir="/tmp/https:__hidden@dev.azure.com_hidden_devops__git_argocd" operation_name="exec git" time_ms=96.151649
{"dir":"/tmp/https:__hidden@dev.azure.com_hidden_devops__git_argocd","execID":"I6GPj","level":"info","msg":"git clean -fdx","time":"2021-05-31T13:23:28Z"}
{"duration":95339002,"execID":"I6GPj","level":"debug","msg":"","time":"2021-05-31T13:23:28Z"}
time="2021-05-31T13:23:28Z" level=info msg=Trace args="[git clean -fdx]" dir="/tmp/https:__hidden@dev.azure.com_hidden_devops__git_argocd" operation_name="exec git" time_ms=95.47281000000001
{"dir":"/tmp/https:__hidden@dev.azure.com_hidden_devops__git_argocd","execID":"Cv1Ch","level":"info","msg":"git show -s --format=%an \u003c%ae\u003e|%at|%B ad9042b8ada432e18ea66a41d77136e4983adc88","time":"2021-05-31T13:23:28Z"}
{"duration":2249832,"execID":"Cv1Ch","level":"debug","msg":"unitto \u003cnbb.unitto@gmail.com\u003e|1622462687|[add] test\n\n","time":"2021-05-31T13:23:28Z"}
time="2021-05-31T13:23:28Z" level=info msg=Trace args="[git show -s --format=%an <%ae>|%at|%B ad9042b8ada432e18ea66a41d77136e4983adc88]" dir="/tmp/https:__hidden@dev.azure.com_hidden_devops__git_argocd" operation_name="exec git" time_ms=2.343838
{"dir":"/tmp/https:__hidden@dev.azure.com_hidden_devops__git_argocd","execID":"0h3EQ","level":"info","msg":"git tag --points-at ad9042b8ada432e18ea66a41d77136e4983adc88","time":"2021-05-31T13:23:28Z"}
{"duration":1553591,"execID":"0h3EQ","level":"debug","msg":"","time":"2021-05-31T13:23:28Z"}
time="2021-05-31T13:23:28Z" level=info msg=Trace args="[git tag --points-at ad9042b8ada432e18ea66a41d77136e4983adc88]" dir="/tmp/https:__hidden@dev.azure.com_hidden_devops__git_argocd" operation_name="exec git" time_ms=1.6099949999999998
{"grpc.code":"OK","grpc.method":"GetRevisionMetadata","grpc.request.deadline":"2021-05-31T13:24:27Z","grpc.service":"repository.RepoServerService","grpc.start_time":"2021-05-31T13:23:27Z","grpc.time_ms":1110.088,"level":"info","msg":"finished unary call with code OK","span.kind":"server","system":"grpc","time":"2021-05-31T13:23:28Z"}
{"level":"info","msg":"revision metadata cache hit: https://hidden@dev.azure.com/hidden/DevOps/_git/argocd/ad9042b8ada432e18ea66a41d77136e4983adc88","time":"2021-05-31T13:23:29Z"}
{"grpc.code":"OK","grpc.method":"GetRevisionMetadata","grpc.request.deadline":"2021-05-31T13:24:29Z","grpc.service":"repository.RepoServerService","grpc.start_time":"2021-05-31T13:23:29Z","grpc.time_ms":0.879,"level":"info","msg":"finished unary call with code OK","span.kind":"server","system":"grpc","time":"2021-05-31T13:23:29Z"}
{"level":"info","msg":"manifest cache hit: \u0026ApplicationSource{RepoURL:https://hidden@dev.azure.com/hidden/DevOps/_git/argocd,Path:dev,TargetRevision:master,Helm:nil,Kustomize:nil,Ksonnet:nil,Directory:\u0026ApplicationSourceDirectory{Recurse:true,Jsonnet:ApplicationSourceJsonnet{ExtVars:[]JsonnetVar{},TLAs:[]JsonnetVar{},Libs:[],},Exclude:,Include:,},Plugin:nil,Chart:,}/ad9042b8ada432e18ea66a41d77136e4983adc88","time":"2021-05-31T13:23:32Z"}
{"grpc.code":"OK","grpc.method":"GenerateManifest","grpc.request.deadline":"2021-05-31T13:24:32Z","grpc.service":"repository.RepoServerService","grpc.start_time":"2021-05-31T13:23:32Z","grpc.time_ms":3.096,"level":"info","msg":"finished unary call with code OK","span.kind":"server","system":"grpc","time":"2021-05-31T13:23:32Z"}
{"level":"info","msg":"manifest cache hit: \u0026ApplicationSource{RepoURL:https://hidden@dev.azure.com/hidden/DevOps/_git/argocd,Path:dev,TargetRevision:master,Helm:nil,Kustomize:nil,Ksonnet:nil,Directory:\u0026ApplicationSourceDirectory{Recurse:true,Jsonnet:ApplicationSourceJsonnet{ExtVars:[]JsonnetVar{},TLAs:[]JsonnetVar{},Libs:[],},Exclude:,Include:,},Plugin:nil,Chart:,}/ad9042b8ada432e18ea66a41d77136e4983adc88","time":"2021-05-31T13:23:34Z"}
{"grpc.code":"OK","grpc.method":"GenerateManifest","grpc.request.deadline":"2021-05-31T13:24:34Z","grpc.service":"repository.RepoServerService","grpc.start_time":"2021-05-31T13:23:34Z","grpc.time_ms":1.454,"level":"info","msg":"finished unary call with code OK","span.kind":"server","system":"grpc","time":"2021-05-31T13:23:34Z"}
{"level":"info","msg":"manifest error cache hit: \u0026ApplicationSource{RepoURL:hidden.azurecr.io,Path:,TargetRevision:v1,Helm:nil,Kustomize:nil,Ksonnet:nil,Directory:nil,Plugin:nil,Chart:helm/test,}/v1","time":"2021-05-31T13:23:34Z"}
{"error":"Manifest generation error (cached): lstat /tmp/helm892034209/test: no such file or directory","grpc.code":"Unknown","grpc.method":"GenerateManifest","grpc.request.deadline":"2021-05-31T13:24:34Z","grpc.service":"repository.RepoServerService","grpc.start_time":"2021-05-31T13:23:34Z","grpc.time_ms":0.542,"level":"error","msg":"finished unary call with code Unknown","span.kind":"server","system":"grpc","time":"2021-05-31T13:23:34Z"}
{"level":"info","msg":"manifest error cache hit: \u0026ApplicationSource{RepoURL:hidden.azurecr.io,Path:,TargetRevision:v1,Helm:nil,Kustomize:nil,Ksonnet:nil,Directory:nil,Plugin:nil,Chart:helm/test,}/v1","time":"2021-05-31T13:23:34Z"}
{"error":"Manifest generation error (cached): lstat /tmp/helm892034209/test: no such file or directory","grpc.code":"Unknown","grpc.method":"GenerateManifest","grpc.request.deadline":"2021-05-31T13:24:34Z","grpc.service":"repository.RepoServerService","grpc.start_time":"2021-05-31T13:23:34Z","grpc.time_ms":0.609,"level":"error","msg":"finished unary call with code Unknown","span.kind":"server","system":"grpc","time":"2021-05-31T13:23:34Z"}
{"level":"debug","msg":"revision 'master' resolved to 'ad9042b8ada432e18ea66a41d77136e4983adc88'","time":"2021-05-31T13:23:35Z"}
{"level":"info","msg":"manifest cache hit: \u0026ApplicationSource{RepoURL:https://hidden@dev.azure.com/hidden/DevOps/_git/argocd,Path:dev,TargetRevision:master,Helm:nil,Kustomize:nil,Ksonnet:nil,Directory:\u0026ApplicationSourceDirectory{Recurse:true,Jsonnet:ApplicationSourceJsonnet{ExtVars:[]JsonnetVar{},TLAs:[]JsonnetVar{},Libs:[],},Exclude:,Include:,},Plugin:nil,Chart:,}/ad9042b8ada432e18ea66a41d77136e4983adc88","time":"2021-05-31T13:23:35Z"}
{"grpc.code":"OK","grpc.method":"GenerateManifest","grpc.request.deadline":"2021-05-31T13:24:34Z","grpc.service":"repository.RepoServerService","grpc.start_time":"2021-05-31T13:23:34Z","grpc.time_ms":287.485,"level":"info","msg":"finished unary call with code OK","span.kind":"server","system":"grpc","time":"2021-05-31T13:23:35Z"}
jessesuen commented 3 years ago

Does the repository which got registered indicate that it is an OCI repo? Note that this would have had to been registered using the argocd repo add --enable-oci flag

unittolabs commented 3 years ago

Does the repository which got registered indicate that it is an OCI repo? Note that this would have had to been registered using the argocd repo add --enable-oci flag

yes, I tried to add this repository before adding new source, and after - in both cases the same result

unittolabs commented 3 years ago

any updates \ ideas?

pretystar commented 3 years ago

I got the similar issue, anyone knows the reason? argocd repo add xxxx.azurecr.io --type helm --name xxx --enable-oci --username xxx --password xxxx argocd app create tomcat --repo xxx.azurecr.io --helm-chart app/tomcat-chart --revision 1.0.0 --dest-namespace test --dest-server https://kubernetes.default.svc --sync-policy auto

blakepettersson commented 1 year ago

Is this still an issue?

ElanHasson commented 10 months ago

Looks like it is