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

[Calico] Typha pods spits out a lot of errors about missing CRD #1042

Closed
ams0 opened this issue Jun 5, 2019 · 2 comments
Closed

[Calico] Typha pods spits out a lot of errors about missing CRD #1042

ams0 opened this issue Jun 5, 2019 · 2 comments
Assignees
Labels

Comments

@ams0
Copy link

ams0 commented Jun 5, 2019

What happened:

On calico-enabled clusters (tried with and without PSP) calico-typha pod in kube-system floods the logs with errors like:

2019-06-05 13:23:56.985 [INFO][6] watchercache.go 242: Failed to create watcher ListRoot="/calico/resources/v3/projectcalico.org/bgppeers" error=resource does not exist: BGPPeer with error: the server could not find the requested resource (get BGPPeers.crd.projectcalico.org) performFullResync=true

What you expected to happen:

Normal level of logging.

How to reproduce it (as minimally and precisely as possible):

Just deploy a calico-enabled cluster (I tried with kubenet but I suppose it can be reproduced on AzureCNI clusters too).

Anything else we need to know?:

This fixes it:

k apply -f - <<EOF
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
  name: bgppeers.crd.projectcalico.org
spec:
  scope: Cluster
  group: crd.projectcalico.org
  version: v1
  names:
    kind: BGPPeer
    plural: bgppeers
    singular: bgppeer
EOF

The error in the logs goes away (but still, it logs every 10s because of #925 ).

Environment:

  • Kubernetes version (use kubectl version): 1.14.0 and 1.13.5
  • Size of cluster (how many worker nodes are in the cluster?): 2 nodes
  • General description of workloads in the cluster (e.g. HTTP microservices, Java app, Ruby on Rails, machine learning, etc.)
  • Others:
@sauryadas
Copy link
Contributor

@feiskyer is looking into this.

@feiskyer
Copy link
Member

Confirmed the issue, and it would be fixed in next AKS release.

@ghost ghost locked as resolved and limited conversation to collaborators Jul 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants