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

Kube apiserver error logs caused by system.antrea.tanzu.vmware.com #323

Closed
antoninbas opened this issue Jan 17, 2020 · 4 comments · Fixed by #395
Closed

Kube apiserver error logs caused by system.antrea.tanzu.vmware.com #323

antoninbas opened this issue Jan 17, 2020 · 4 comments · Fixed by #395
Assignees
Labels
area/api Issues or PRs related to an API. area/component/antctl Issues or PRs releated to the command line interface component kind/bug Categorizes issue or PR as related to a bug. lifecycle/active Indicates that an issue or PR is actively being worked on by a contributor. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.

Comments

@antoninbas
Copy link
Contributor

Describe the bug
I observe the following in the apiserver logs since we merged the antctl changes (about every minute or so):

I0117 03:41:45.385678       1 controller.go:107] OpenAPI AggregationController: Processing item v1beta1.system.antrea.tanzu.vmware.com
E0117 03:41:45.388894       1 controller.go:114] loading OpenAPI spec for "v1beta1.system.antrea.tanzu.vmware.com" failed with: OpenAPI spec does not exist
I0117 03:41:45.388913       1 controller.go:127] OpenAPI AggregationController: action for item v1beta1.system.antrea.tanzu.vmware.com: Rate Limited Requeue.

To Reproduce
Deploy Antrea on a cluster, check the logs of the kube-apiserver Pod using kubectl.

Versions:
Antrea version:

===> Version information <===
VERSION: v0.3.0-dev
GIT_SHA: 223eb44
GIT_TREE_STATE: clean
RELEASE_STATUS: unreleased
DOCKER_IMG_VERSION: v0.3.0-dev-223eb44
@antoninbas antoninbas added the bug label Jan 17, 2020
@salv-orlando salv-orlando added this to the Antrea v0.4.0 release milestone Jan 29, 2020
@McCodeman McCodeman added kind/bug Categorizes issue or PR as related to a bug. bug and removed bug labels Jan 29, 2020
@McCodeman McCodeman added area/api Issues or PRs related to an API. area/component/antctl Issues or PRs releated to the command line interface component lifecycle/active Indicates that an issue or PR is actively being worked on by a contributor. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. labels Feb 12, 2020
@antoninbas
Copy link
Contributor Author

@weiqiangt I think you have a fix ready for this (I asked you to remove it from the antctl framework refactor PR). Do you think you can open a new PR with the fix so we can close this for 0.4.0? Thanks.

@weiqiangt
Copy link
Contributor

weiqiangt commented Feb 13, 2020

@weiqiangt I think you have a fix ready for this (I asked you to remove it from the antctl framework refactor PR). Do you think you can open a new PR with the fix so we can close this for 0.4.0? Thanks.

The OpenAPI changes depend on the refactoring, I think it is not able to have a separate PR for the fix.

@tnqn
Copy link
Member

tnqn commented Feb 17, 2020

@weiqiangt I met this issue and did some investigation, I see the OpenAPI endpoint doesn't have to have specs of all its paths (even kube-apiserver doesn't have all OpenAPI specs of its paths).
I see your refactoring PR doesn't have it yet, I can push a separate PR to fix it. Please let me know if it's ok.

@weiqiangt
Copy link
Contributor

Thanks @tnqn, the OpenAPI changes were moved to another CL which depends on the refactor. I appreciate if you could have a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api Issues or PRs related to an API. area/component/antctl Issues or PRs releated to the command line interface component kind/bug Categorizes issue or PR as related to a bug. lifecycle/active Indicates that an issue or PR is actively being worked on by a contributor. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants