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

ClusterResourceSet feature does not work #4878

Closed
gyliu513 opened this issue Jul 6, 2021 · 6 comments
Closed

ClusterResourceSet feature does not work #4878

gyliu513 opened this issue Jul 6, 2021 · 6 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done.

Comments

@gyliu513
Copy link
Contributor

gyliu513 commented Jul 6, 2021

What steps did you take and what happened:
[A clear and concise description on how to REPRODUCE the bug.]

Please refer to kubernetes-retired/cluster-api-provider-nested#155 for detail.

Follow the proposal guides:

  1. Deploy two nested clusters in Kind
  2. Enable ClusterResourceSet feature
  3. Create secret and configmap by the samples from 20200220-cluster-resource-set.md
  4. Create ClusterResourceSet by the sample from 20200220-cluster-resource-set.md
    The following problem appears, but the two apiservers are running normally by kubectl command.
E0702 09:08:52.250697       1 controller.go:302] controller-runtime/manager/controller/clusterresourceset "msg"="Reconciler error"
 "error"="error creating client and cache for remote cluster: error creating dynamic rest mapper for remote cluster \"default/cluster-sample\":
 Get \"https://cluster-sample-apiserver:6443/api?timeout=10s\": dial tcp: lookup cluster-sample-apiserver on 10.96.0.10:53: server misbehaving"
  "name"="crs1" "namespace"="default" "reconciler group"="addons.cluster.x-k8s.io" "reconciler kind"="ClusterResourceSet"
E0702 09:07:16.064594       1 controller.go:302] controller-runtime/manager/controller/clusterresourceset "msg"="Reconciler error"
 "error"="error creating client and cache for remote cluster: error creating dynamic rest mapper for remote cluster \"default/cluster-virtual\":
 Get \"https://cluster-virtual-apiserver:6443/api?timeout=10s\": dial tcp: lookup cluster-virtual-apiserver on 10.96.0.10:53: server misbehaving"
 "name"="crs1" "namespace"="default" "reconciler group"="addons.cluster.x-k8s.io" "reconciler kind"="ClusterResourceSet"

What did you expect to happen:

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]

Environment:

  • Cluster-api version:
  • Minikube/KIND version:
  • Kubernetes version: (use kubectl version):
  • OS (e.g. from /etc/os-release):

/kind bug
[One or more /area label. See https://github.com/kubernetes-sigs/cluster-api/labels?q=area for the list of labels]

@k8s-ci-robot k8s-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Jul 6, 2021
@vincepri
Copy link
Member

vincepri commented Jul 6, 2021

The errors seem to hint to a network issue, which isn't necessarily related to ClusterResourceSet

@vincepri
Copy link
Member

vincepri commented Jul 6, 2021

/milestone Next
/priority awaiting-more-evidence

@k8s-ci-robot k8s-ci-robot added the priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done. label Jul 6, 2021
@k8s-ci-robot k8s-ci-robot added this to the Next milestone Jul 6, 2021
@randomvariable
Copy link
Member

randomvariable commented Jul 6, 2021

dial tcp: lookup cluster-sample-apiserver on 10.96.0.10:53: server misbehaving

suggests DNS resolution failure. cluster-sample-apiserver needs to be resolvable from the various pods.

@gyliu513
Copy link
Contributor Author

gyliu513 commented Jul 7, 2021

Thanks @randomvariable and @vincepri , let me retest.

@wangjsty ^^

@vincepri
Copy link
Member

Closing this due to lack of updates, please feel free to reopen if you have more details

/close

@k8s-ci-robot
Copy link
Contributor

@vincepri: Closing this issue.

In response to this:

Closing this due to lack of updates, please feel free to reopen if you have more details

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done.
Projects
None yet
Development

No branches or pull requests

4 participants