Get "error listing repos: 404 Not Found" error when scmProvider generator filter include GitLab archived repo #21340
Labels
bug
Something isn't working
component:application-sets
Bulk application management related
version:2.13
Latest confirmed affected version is 2.13
Describe the bug
All my ApplicationSet that use scmProvider generator filter that include at least one GitLab archived repo are not healthy with the message "error listing repos: 404 Not Found".
The problem is solved when I modify the filters to exclude the archived GitLab repo (restrict the
labelMatch
orrepositoryMatch
). I can also solve the issue by deleting the filtered branch (state
in my case) from each archived GitLab repo.To Reproduce
Deploy an ApplicationSet using scmProvider generator filter that include at least one GitLab archived repo, example :
Expected behavior
The ApplicationSet generator should discover all the GitLab repos that match the filters, but should exclude archived GitLab repos. The pull request 20736 sould resolve my problem when it will be merged.
Screenshots
Version
GitLab version: v17.7.0
Logs
argocd-applicationset-controller logs extarct :
The text was updated successfully, but these errors were encountered: