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

Github org sync is broken #587

Closed
chensun opened this issue Jan 26, 2023 · 3 comments · Fixed by #588
Closed

Github org sync is broken #587

chensun opened this issue Jan 26, 2023 · 3 comments · Fixed by #588
Assignees

Comments

@chensun
Copy link
Member

chensun commented Jan 26, 2023

Recent change #576 was not synced, error log from the sync job:

Configuration failed: failed to configure kubeflow members: 1 errors: [status code 422 not one of [200], body: {"message":"The request could not be processed.","documentation_url":"https://docs.github.com/rest/reference/orgs#set-organization-membership-for-a-user"}]

@chensun chensun self-assigned this Jan 26, 2023
@chensun
Copy link
Member Author

chensun commented Jan 31, 2023

Had a closer look on the log, in another msg, it contains more details on which member caused the sync failure:

{"component":"peribolos","error":"status code 422 not one of [200], body: {"message":"The request could not be processed.","documentation_url":"https://docs.github.com/rest/reference/orgs#set-organization-membership-for-a-user\"}","file":"prow/cmd/peribolos/main.go:485","func":"main.configureOrgMembers.func1","level":"warning","msg":"UpdateOrgMembership(kubeflow, frederick0329, false) failed","severity":"warning","time":"2023-01-31T22:40:05Z"}

This appeared to the the same old issue: kubernetes/test-infra#17671.
Until we have a fix for the tool, I have to remove @frederick0329 from the org to unblock the sync. It appears that @frederick0329 was added to the list in the very beginning but hasn't been active lately.

@chensun
Copy link
Member Author

chensun commented Jan 31, 2023

Another error surfaced:

{"component":"peribolos","file":"prow/cmd/peribolos/main.go:202","func":"main.main","level":"fatal","msg":"Configuration failed: failed to configure kubeflow team Google repos: failed to update team 2631639(Google) permissions on repo gcp-blueprints to write: status code 404 not one of [204], body: {"message":"Not Found","documentation_url":"https://docs.github.com/rest/reference/teams#add-or-update-team-repository-permissions-legacy\"}","severity":"fatal","time":"2023-01-31T22:51:29Z"}

@chensun
Copy link
Member Author

chensun commented Jan 31, 2023

Verified sync is fully recovered now.

@chensun chensun closed this as completed Jan 31, 2023
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

Successfully merging a pull request may close this issue.

1 participant