argocd-autopilot icon indicating copy to clipboard operation
argocd-autopilot copied to clipboard

Cannot boostrap after uninstall

Open tetienne opened this issue 3 years ago • 5 comments

I forgot to hide the --insecure flag when boostraping the project through argocd-autopilot repo bootstrap. So as I didn’t know how exactly override the argocd configuration (to add this insecure parameter and an ingress controller by the way), I decited to uninstall the project: argocd-autopilot repo uninstall

But now I got the follow error:

❯ argocd-autopilot repo bootstrap
INFO cloning repo: https://github.com/tetienne/poc-argocd.git
Enumerating objects: 6, done.
Counting objects: 100% (6/6), done.
Compressing objects: 100% (2/2), done.
Total 6 (delta 0), reused 6 (delta 0), pack-reused 0
INFO using revision: "", installation path: ""
FATAL folder bootstrap already exist in: /bootstrap

And if I add the --insecure flag

❯ argocd-autopilot repo bootstrap --insecure
FATAL failed to build bootstrap manifests: accumulating resources: accumulation err='accumulating resources from 'manifests/insecure': evalsymlink failure on '/Users/tetienne/terraform/lke-cluster/auto-pilot2219698398/manifests/insecure' : lstat /Users/tetienne/terraform/lke-cluster/auto-pilot2219698398/manifests: no such file or directory': evalsymlink failure on '/Users/tetienne/terraform/lke-cluster/auto-pilot2219698398/manifests/insecure' : lstat /Users/tetienne/terraform/lke-cluster/auto-pilot2219698398/manifests: no such file or directory

Any idea why?

tetienne avatar Nov 17 '21 09:11 tetienne

Having this issue as well, unable to install with the --insecure flag set.

zdxn avatar Dec 10 '21 18:12 zdxn

I'll take this

danielm-codefresh avatar Dec 20 '21 13:12 danielm-codefresh

Hey @tetienne, can you please check if this issue still exists for you?

danielm-codefresh avatar Mar 17 '22 14:03 danielm-codefresh

I have a similar problem:

❯ ./cmd repo bootstrap
FATAL failed to build bootstrap manifests: accumulating resources: accumulation err='accumulating resources from 'manifests/base': evalsymlink failure on '/home/bbigras/go/src/github.com/argoproj-labs/argocd-aut
opilot/cmd/auto-pilot506658922/manifests/base' : lstat /home/bbigras/go/src/github.com/argoproj-labs/argocd-autopilot/cmd/auto-pilot506658922/manifests: no such file or directory': evalsymlink failure on '/home/bbigras/go/src/github.com/argoproj-labs/argocd-autopilot/cmd/auto-pilot506658922/manifests/base' : lstat /home/bbigras/go/src/github.com/argoproj-labs/argocd-autopilot/cmd/auto-pilot506658922/manifests: no such file or directory

bbigras avatar Mar 31 '22 17:03 bbigras

In our case (NixOS), the problem was a typo in installationManifestsURL (https://github.com/argoproj-labs/argocd-autopilot/blob/main/Makefile#L8), when in doubt add --app and a manifest URL to test it.

bryanasdev000 avatar May 29 '22 04:05 bryanasdev000