-
Notifications
You must be signed in to change notification settings - Fork 62
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
clusteradm join fails with "Error: unexpected watch event received" #334
Comments
This is probably related to the To work around this issue for now, you can remove the wait flag and the join command will work async and should return successfully right away. CC @ycyaoxdu |
@mikeshng How can we wait for completion without |
@nirs in the join command code, it seems to be waiting for the klusterlet registration agent pod to be running. For a watch that is outside of the clusteradm join command, maybe it's better to:
When both the ManagedCluster and CSR resources are created on the hub cluster, that's when you know the join command ran successfully. |
This change updates the CI e2e-hub test to wait for the `clusteradm join` command to succeed asynchronously. Waiting for the latter synchronously leads some times errors like the following: ```log + clusteradm join --hub-token *** --hub-apiserver \ https://192.168.49.2:8443 --wait --cluster-name minikube Error: no matches for kind "Klusterlet" in version "operator.open-cluster-management.io/v1" ``` It also removes the unneeded `curl` installation. It also remove the `apt-get upgrade` that could lead to more reliability issues on the CI e2e steps. open-cluster-management-io/clusteradm#334 (comment) Signed-off-by: Michail Resvanis <mresvani@redhat.com>
This change updates the CI e2e-hub test to wait for the `clusteradm join` command to succeed asynchronously. Waiting for the latter synchronously leads some times errors like the following: ```log + clusteradm join --hub-token *** --hub-apiserver \ https://192.168.49.2:8443 --wait --cluster-name minikube Error: no matches for kind "Klusterlet" in version "operator.open-cluster-management.io/v1" ``` It also removes the unneeded `curl` installation. It also remove the `apt-get upgrade` that could lead to more reliability issues on the CI e2e steps. open-cluster-management-io/clusteradm#334 (comment) Signed-off-by: Michail Resvanis <mresvani@redhat.com>
This change updates the CI e2e-hub test to wait for the `clusteradm join` command to succeed asynchronously. Waiting for the latter synchronously leads some times errors like the following: ```log + clusteradm join --hub-token *** --hub-apiserver \ https://192.168.49.2:8443 --wait --cluster-name minikube Error: no matches for kind "Klusterlet" in version "operator.open-cluster-management.io/v1" ``` It also removes the unneeded `curl` installation. It also remove the `apt-get upgrade` that could lead to more reliability issues on the CI e2e steps. open-cluster-management-io/clusteradm#334 (comment) Signed-off-by: Michail Resvanis <mresvani@redhat.com>
This change updates the CI e2e-hub test to wait for the `clusteradm join` command to succeed asynchronously. Waiting for the latter synchronously leads some times errors like the following: ```log + clusteradm join --hub-token *** --hub-apiserver \ https://192.168.49.2:8443 --wait --cluster-name minikube Error: no matches for kind "Klusterlet" in version "operator.open-cluster-management.io/v1" ``` It also removes the unneeded `curl` installation. It also remove the `apt-get upgrade` that could lead to more reliability issues on the CI e2e steps. open-cluster-management-io/clusteradm#334 (comment) Signed-off-by: Michail Resvanis <mresvani@redhat.com>
This change updates the CI e2e-hub test to wait for the `clusteradm join` command to succeed asynchronously. Waiting for the latter synchronously leads some times errors like the following: ```log + clusteradm join --hub-token *** --hub-apiserver \ https://192.168.49.2:8443 --wait --cluster-name minikube Error: no matches for kind "Klusterlet" in version "operator.open-cluster-management.io/v1" ``` It also removes the unneeded `curl` installation. It also remove the `apt-get upgrade` that could lead to more reliability issues on the CI e2e steps. open-cluster-management-io/clusteradm#334 (comment) Signed-off-by: Michail Resvanis <mresvani@redhat.com>
This change updates the CI e2e-hub test to wait for the `clusteradm join` command to succeed asynchronously. Waiting for the latter synchronously leads some times errors like the following: ```log + clusteradm join --hub-token *** --hub-apiserver \ https://192.168.49.2:8443 --wait --cluster-name minikube Error: no matches for kind "Klusterlet" in version "operator.open-cluster-management.io/v1" ``` It also removes the unneeded `curl` installation. It also remove the `apt-get upgrade` that could lead to more reliability issues on the CI e2e steps. open-cluster-management-io/clusteradm#334 (comment) Signed-off-by: Michail Resvanis <mresvani@redhat.com>
This change updates the CI e2e-hub test to wait for the `clusteradm join` command to succeed asynchronously. Waiting for the latter synchronously leads some times errors like the following: ```log + clusteradm join --hub-token *** --hub-apiserver \ https://192.168.49.2:8443 --wait --cluster-name minikube Error: no matches for kind "Klusterlet" in version "operator.open-cluster-management.io/v1" ``` It also removes the unneeded `curl` installation. It also remove the `apt-get upgrade` that could lead to more reliability issues on the CI e2e steps. open-cluster-management-io/clusteradm#334 (comment) Signed-off-by: Michail Resvanis <mresvani@redhat.com>
We get this random error from time to time:
I think it only happens when using less reliable network - laptop running minikube clusters
connected via phone cellular network.
Issues:
to wait for the expected events, until the operation times out.
The text was updated successfully, but these errors were encountered: