vfarcic / vfarcic.github.io

MIT License
148 stars 115 forks source link

argocd - tutorial - project production not found #30

Open anilnokia opened 2 years ago

anilnokia commented 2 years ago

Hi,

I forked your repos into mine and when I do kubectl -f apps.yaml it said created. I see on argocd UI app but it says unknown app status. I cliked on it and I get following: Application conditions DeletionError appproject.argoproj.io "production" not found 10 minutes ago (Fri Mar 25 2022 12:13:13 GMT-0400) InvalidSpecError Application referencing project production which does not exist.

I ma trying to delete but it is stuck there. How can I fixed this.

I see on K8 dashboard that it is empty. There are no pods.

Thank you ,

Anil

vfarcic commented 2 years ago

Can you please let me know which Gist are you following? This repo contains only slides which, in turn, reference quite a few different Gists and repos.

anilnokia commented 2 years ago

I forked your 3 repos into mine.

https://github.com/anilnokia/argocd-production

from your github.

Thank you for the quick response. I am struggling for two days. My cluster got messed up so I recreated it. When deleting, I can not delete. It keep saying deleting.

Warning: Detected changes to resource production which is currently being deleted. application.argoproj.io/production configured

I am totally stuck again!

Thank you

From: Viktor Farcic @.> Sent: Friday, March 25, 2022 12:28 PM To: vfarcic/vfarcic.github.io @.> Cc: Rana, Anil (Nokia - US/Murray Hill) @.>; Author @.> Subject: Re: [vfarcic/vfarcic.github.io] argocd - tutorial - project production not found (Issue #30)

Can you please let me know which Gist are you following? This repo contains only slides which, in turn, reference quite a few different Gists and repos.

— Reply to this email directly, view it on GitHubhttps://github.com/vfarcic/vfarcic.github.io/issues/30#issuecomment-1079194034, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFOUWQTECV4PXDHMNIV2DJLVBXSSBANCNFSM5RUTY3RQ. You are receiving this because you authored the thread.Message ID: @.**@.>>

anilnokia commented 2 years ago

https://github.com/vfarcic/argocd-production

this is what I am trying.

Kubectl create ns production Kubectl apply -f apps.yaml

It said created but state is unknown and can not even delete. It keep saying deleting. But project production not found.

Thanks,

From: Viktor Farcic @.> Sent: Friday, March 25, 2022 12:28 PM To: vfarcic/vfarcic.github.io @.> Cc: Rana, Anil (Nokia - US/Murray Hill) @.>; Author @.> Subject: Re: [vfarcic/vfarcic.github.io] argocd - tutorial - project production not found (Issue #30)

Can you please let me know which Gist are you following? This repo contains only slides which, in turn, reference quite a few different Gists and repos.

— Reply to this email directly, view it on GitHubhttps://github.com/vfarcic/vfarcic.github.io/issues/30#issuecomment-1079194034, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFOUWQTECV4PXDHMNIV2DJLVBXSSBANCNFSM5RUTY3RQ. You are receiving this because you authored the thread.Message ID: @.**@.>>

anilnokia commented 2 years ago

Ok finally it got deleted.

Now instead of my repo I am trying from your repo link, apps.yaml came up in argocd. But paradox and toolkit are saying unknown with : InvalidSpecError Application referencing project production which does not exist

From: Viktor Farcic @.> Sent: Friday, March 25, 2022 12:28 PM To: vfarcic/vfarcic.github.io @.> Cc: Rana, Anil (Nokia - US/Murray Hill) @.>; Author @.> Subject: Re: [vfarcic/vfarcic.github.io] argocd - tutorial - project production not found (Issue #30)

Can you please let me know which Gist are you following? This repo contains only slides which, in turn, reference quite a few different Gists and repos.

— Reply to this email directly, view it on GitHubhttps://github.com/vfarcic/vfarcic.github.io/issues/30#issuecomment-1079194034, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFOUWQTECV4PXDHMNIV2DJLVBXSSBANCNFSM5RUTY3RQ. You are receiving this because you authored the thread.Message ID: @.**@.>>

vfarcic commented 2 years ago

The issue is that you did not create an Argo CD Project called production. Inside the repo you'll find https://github.com/vfarcic/argocd-production/blob/master/project.yaml which defines that project. If you apply that manifest, that specific error should be solved.

The repos you're using are not meant to be self-sufficient. Those and quite a few others are used and explained in https://youtube.com/c/devopstoolkit as well as some courses and books I published. All those include Gists with all the commands on how to setup and do something. You might, for example, checkout out videos related to Argo CD in https://youtube.com/c/devopstoolkit. That should simplify learning a lot.

anilnokia commented 2 years ago

Thank you.

I did create project production and it works but still paradox app did not come up and it may be because dir has only helm dir withing paradox repo but tooklit has many dir and files under toolkit repo.

No problem. I will try some simpler examples.

Thank you very much for your reply. I did watch your youtube video.

From: Viktor Farcic @.> Sent: Saturday, March 26, 2022 2:07 PM To: vfarcic/vfarcic.github.io @.> Cc: Rana, Anil (Nokia - US/Murray Hill) @.>; Author @.> Subject: Re: [vfarcic/vfarcic.github.io] argocd - tutorial - project production not found (Issue #30)

The issue is that you did not create an Argo CD Project called production. Inside the repo you'll find https://github.com/vfarcic/argocd-production/blob/master/project.yaml which defines that project. If you apply that manifest, that specific error should be solved.

The repos you're using are not meant to be self-sufficient. Those and quite a few others are used and explained in https://youtube.com/c/devopstoolkit as well as some courses and books I published. All those include Gists with all the commands on how to setup and do something. You might, for example, checkout out videos related to Argo CD in https://youtube.com/c/devopstoolkit. That should simplify learning a lot.

— Reply to this email directly, view it on GitHubhttps://github.com/vfarcic/vfarcic.github.io/issues/30#issuecomment-1079745747, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFOUWQQVOPYFNPCDAAZYNG3VB5G5ZANCNFSM5RUTY3RQ. You are receiving this because you authored the thread.Message ID: @.**@.>>

anilnokia commented 2 years ago

I created project after that, it comes up but paradox is not able to sync.

devops-paradox-devops-paradox SyncFailed the server could not find the requested

From: Viktor Farcic @.> Sent: Friday, March 25, 2022 12:28 PM To: vfarcic/vfarcic.github.io @.> Cc: Rana, Anil (Nokia - US/Murray Hill) @.>; Author @.> Subject: Re: [vfarcic/vfarcic.github.io] argocd - tutorial - project production not found (Issue #30)

Can you please let me know which Gist are you following? This repo contains only slides which, in turn, reference quite a few different Gists and repos.

— Reply to this email directly, view it on GitHubhttps://github.com/vfarcic/vfarcic.github.io/issues/30#issuecomment-1079194034, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFOUWQTECV4PXDHMNIV2DJLVBXSSBANCNFSM5RUTY3RQ. You are receiving this because you authored the thread.Message ID: @.**@.>>