Comments (14)
Hi @wefersmasasana! In my opinion, you have two different problems:
- the LoadBalancer services are pending, probably because you don't have any lb provider in the second cluster. You can either install one (as MetalLB) or use NodePort services
- a connection error from Helm to your API server during installation. The port looks strange to me (16443 instead of 6443), but it is ok if the previous steps run correctly. If you try to install it again, do you know if this problem persists?
from liqo.
Thank your for your answer, I installed a load balancer (MetalLB) now while installing this error:
"INSTALLATION FAILED: failed post-install: warning: Hook post-install liqo/templates/webhooks/job-patch/rbac.yaml failed: 1 error occurred:
- Post "https://5.161.118.255:16443/apis/rbac.authorization.k8s.io/v1/clusterrolebindings?fieldManager=helm": read tcp 5.161.118.255:40436->5.161.118.255:16443: read: connection reset by peer"
is gone but the services and the Liqo status are the same as in the screenshots I sended.
from liqo.
Ok, is MetalLB creating some events on these services or logging something?
Also, if you create another LB service, does it work? If not, it should be a MetalLB-related problem, not a Liqo one.
from liqo.
Thank you Liqo is now running on my second cluster the problem was that no loadbalancer was installed. I installed MetalLB, but now there is another problem. When I generate my peer command and copy it and paste it to my second cluster this error comes up:
from liqo.
You probably have an old foreign cluster from a previous installation, try deleting it and re-try the peering
kubectl delete foreigncluster marcel
from liqo.
![Bildschirmfoto 2024-02-06 um 14 53 22](https://private-user-images.githubusercontent.com/148778395/302652241-4886db50-d00d-4ba7-9e6a-4f0d5d50cc51.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTcxNDE3NTksIm5iZiI6MTcxNzE0MTQ1OSwicGF0aCI6Ii8xNDg3NzgzOTUvMzAyNjUyMjQxLTQ4ODZkYjUwLWQwMGQtNGJhNy05ZTZhLTRmMGQ1ZDUwY2M1MS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNTMxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDUzMVQwNzQ0MTlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04OTM3OGVmZTgzNWRhZmE2NTI4MWQ3NWFjNDlmZGMyNjA3ZDFlMjk2NjlkODZiMTE2ZTE0MTE4ZjA0NzFhZjYxJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.HzKqSmoafTK5uLEhWLq73y3Fq0nUDuuiuh1sBdDNdsU)
from liqo.
The validation error is due to an update of a foreigncluster resource; if no one exists, it should work. Did you check on both clusters?
from liqo.
I needed to delete the foreign cluster on the second Server but now this error came up after 2minuted trying to peer:
from liqo.
Can you check the state of foreign clusters? You will probably have broken authentication and/or pending peering. You can try unpeer and then delete both liqo-tenant-*
namespaces to clean up the dirty state. If this is a testing environment, I suggest you to delete and re-create your clusters to be sure everything is clean.
from liqo.
Hey again. I had deleted my clusters and created new ones. When I try to peer the clusters again, the same error came up:
"ERROR Authentication to the remote cluster "marcel" failed: timed out waiting for the condition"
from liqo.
![Bildschirmfoto 2024-02-07 um 14 21 02](https://private-user-images.githubusercontent.com/148778395/302993435-865eb0f4-b2bc-4dc3-bc28-7af6bf417e28.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTcxNDE3NTksIm5iZiI6MTcxNzE0MTQ1OSwicGF0aCI6Ii8xNDg3NzgzOTUvMzAyOTkzNDM1LTg2NWViMGY0LWIyYmMtNGRjMy1iYzI4LTdhZjZiZjQxN2UyOC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNTMxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDUzMVQwNzQ0MTlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1iZTFhMGIzOWEwMDU1Nzg5ZjY3ZDA1OGMyY2M2M2EwNzgyOTFlYTU2NjdkMTE5YTYyZTY2ZjhmZDE2NGQyMzI3JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.KVnxAOtG6hcuq0JvoDiri6Y9UODrj3Y0ZN1sO5Da5wY)
from liqo.
Can you check the logs of your liqo controller manager? Additionally, can you check that your LoadBalancer services are reachable from the other cluster?
from liqo.
Hi sorry for not responding. This are the logs from the controller manager pod:
from liqo.
You probably have a dirty secret in your liqo
or liqo-tenant
namespace, try deleting all remote token
secrets
from liqo.
Related Issues (20)
- Metrics from VirtualKubelet are not being gathered HOT 4
- Installation fail with conflict between the ports of the gateway and its load balancer HOT 3
- Cannot set the gateway IPv4 on multiple nodes HOT 3
- k3s --enable-metrics HOT 1
- [Feature] New Authentication Module HOT 4
- Fail to start a distributed DB using unidirectional out-of-band peering HOT 4
- TLS Certificate Verification Error During Liqo Peering Setup HOT 4
- Pod stuck in Pending state in Consumer cluster HOT 2
- Does Liqo support cephfs pvc offloading?
- Unable to install v0.10.2 on AWS EKS
- k8s install liqo and not peer cluster
- Liqo Controller, Metrics Agent, Virtual Kubelet resource usage is too much
- Initial terminal dimensions for kubectl exec are not set correctly for offloaded pods
- Network error when peering vSphere Tanzu Kubernetes clusters
- run setup.sh is not success HOT 5
- Pod offload on 1 cluster only
- 3 peered cluster service
- v0.11.0-rc.1 network is not working on GKE HOT 1
- Offloaded Pod log streaming times out after 10s
- Userspace not supported for wireguard implementation in v0.11.0-rc.1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from liqo.