Giter Club home page Giter Club logo

Comments (6)

cameronbraid avatar cameronbraid commented on August 21, 2024

This seems in conflict with the kube-vpi logs

time="2020-07-01T08:43:31Z" level=info msg="Beginning cluster membership, namespace [drivenow-dev], lock name [plunder-lock], id [node01]"
I0701 08:43:31.778063       1 leaderelection.go:242] attempting to acquire leader lease  drivenow-dev/plunder-lock...
I0701 08:43:31.788668       1 leaderelection.go:252] successfully acquired lease drivenow-dev/plunder-lock
time="2020-07-01T08:43:31Z" level=info msg="Beginning watching Kubernetes configMap [plndr]"
time="2020-07-01T08:43:31Z" level=debug msg="ConfigMap [plndr] has been Created or modified"
time="2020-07-01T08:43:31Z" level=debug msg="Found 16 services defined in ConfigMap"
time="2020-07-01T08:43:31Z" level=debug msg="[STARTING] Service Sync"
time="2020-07-01T08:43:31Z" level=info msg="New VIP [10.123.204.1] for [xtradb-internal-loadbalancer/113fa154-cc1f-4892-bb94-ef72a84af72e] "
time="2020-07-01T08:43:31Z" level=info msg="Starting kube-vip as a single node cluster"
time="2020-07-01T08:43:31Z" level=info msg="This node is assuming leadership of the cluster"
time="2020-07-01T08:43:31Z" level=info msg="Starting TCP Load Balancer for service [10.123.204.1:3306]"
time="2020-07-01T08:43:31Z" level=info msg="Load Balancer [xtradb-internal-loadbalancer-load-balancer] started"
time="2020-07-01T08:43:31Z" level=info msg="Broadcasting ARP update for 10.123.204.1 (36:3b:12:1b:01:f7) via ztwdjmdyyc"
time="2020-07-01T08:43:31Z" level=info msg="Started Load Balancer and Virtual IP"
time="2020-07-01T08:43:31Z" level=info msg="New VIP [10.123.204.2] for [kafka-schema-registry-internal-loadbalancer/bca6aa40-3bee-4fe7-bfb8-695cd182db7b] "
time="2020-07-01T08:43:31Z" level=info msg="Starting kube-vip as a single node cluster"
time="2020-07-01T08:43:31Z" level=info msg="This node is assuming leadership of the cluster"
time="2020-07-01T08:43:31Z" level=info msg="Starting TCP Load Balancer for service [10.123.204.2:8081]"
time="2020-07-01T08:43:31Z" level=info msg="Load Balancer [kafka-schema-registry-internal-loadbalancer-load-balancer] started"
time="2020-07-01T08:43:31Z" level=info msg="Broadcasting ARP update for 10.123.204.2 (36:3b:12:1b:01:f7) via ztwdjmdyyc"
time="2020-07-01T08:43:31Z" level=info msg="Beginning watching Kubernetes Endpoints for service [xtradb-internal-loadbalancer]"
time="2020-07-01T08:43:31Z" level=debug msg="Endpoints for service [xtradb-internal-loadbalancer] have  been Created or modified"
time="2020-07-01T08:43:31Z" level=debug msg="Load-Balancer updated with [1] backends"
-> Address: 10.233.120.163:3306 
time="2020-07-01T08:43:31Z" level=info msg="Started Load Balancer and Virtual IP"
time="2020-07-01T08:43:31Z" level=info msg="New VIP [10.123.204.3] for [webapp-internal-loadbalancer/e4ea3966-2e09-462c-8faf-0c3e4a351aca] "
time="2020-07-01T08:43:31Z" level=info msg="Starting kube-vip as a single node cluster"
time="2020-07-01T08:43:31Z" level=info msg="This node is assuming leadership of the cluster"
time="2020-07-01T08:43:31Z" level=info msg="Starting TCP Load Balancer for service [10.123.204.3:8081]"
time="2020-07-01T08:43:31Z" level=info msg="Load Balancer [webapp-internal-loadbalancer-load-balancer] started"
time="2020-07-01T08:43:31Z" level=info msg="Broadcasting ARP update for 10.123.204.3 (36:3b:12:1b:01:f7) via ztwdjmdyyc"
time="2020-07-01T08:43:31Z" level=info msg="Beginning watching Kubernetes Endpoints for service [kafka-schema-registry-internal-loadbalancer]"
time="2020-07-01T08:43:31Z" level=debug msg="Endpoints for service [kafka-schema-registry-internal-loadbalancer] have  been Created or modified"
-> Address: 10.233.120.156:8081 
time="2020-07-01T08:43:31Z" level=debug msg="Load-Balancer updated with [1] backends"
time="2020-07-01T08:43:31Z" level=info msg="Started Load Balancer and Virtual IP"
time="2020-07-01T08:43:31Z" level=debug msg="[COMPLETE] Service Sync"
time="2020-07-01T08:43:31Z" level=info msg="Beginning watching Kubernetes Endpoints for service [webapp-internal-loadbalancer]"
time="2020-07-01T08:43:31Z" level=debug msg="Endpoints for service [webapp-internal-loadbalancer] have  been Created or modified"
time="2020-07-01T08:43:31Z" level=debug msg="Load-Balancer updated with [0] backends"
time="2020-07-01T08:43:32Z" level=debug msg="ConfigMap [plndr] has been Created or modified"
time="2020-07-01T08:43:32Z" level=debug msg="Found 17 services defined in ConfigMap"
time="2020-07-01T08:43:32Z" level=debug msg="[STARTING] Service Sync"
time="2020-07-01T08:43:32Z" level=debug msg="[COMPLETE] Service Sync"
time="2020-07-01T08:43:33Z" level=debug msg="ConfigMap [plndr] has been Created or modified"
time="2020-07-01T08:43:33Z" level=debug msg="Found 18 services defined in ConfigMap"
time="2020-07-01T08:43:33Z" level=debug msg="[STARTING] Service Sync"
time="2020-07-01T08:43:33Z" level=debug msg="[COMPLETE] Service Sync"
time="2020-07-01T08:43:33Z" level=debug msg="ConfigMap [plndr] has been Created or modified"
time="2020-07-01T08:43:33Z" level=debug msg="Found 19 services defined in ConfigMap"
time="2020-07-01T08:43:33Z" level=debug msg="[STARTING] Service Sync"
time="2020-07-01T08:43:33Z" level=debug msg="[COMPLETE] Service Sync"
time="2020-07-01T08:44:02Z" level=debug msg="Endpoints for service [xtradb-internal-loadbalancer] have  been Created or modified"
time="2020-07-01T08:44:02Z" level=debug msg="Load-Balancer updated with [0] backends"
time="2020-07-01T08:44:15Z" level=debug msg="Endpoints for service [kafka-schema-registry-internal-loadbalancer] have  been Created or modified"
time="2020-07-01T08:44:15Z" level=debug msg="Load-Balancer updated with [0] backends"
time="2020-07-01T08:44:41Z" level=debug msg="Endpoints for service [xtradb-internal-loadbalancer] have  been Created or modified"
time="2020-07-01T08:44:41Z" level=debug msg="Load-Balancer updated with [0] backends"
time="2020-07-01T08:44:49Z" level=debug msg="Endpoints for service [kafka-schema-registry-internal-loadbalancer] have  been Created or modified"
time="2020-07-01T08:44:49Z" level=debug msg="Load-Balancer updated with [0] backends"
time="2020-07-01T08:47:29Z" level=debug msg="Endpoints for service [webapp-internal-loadbalancer] have  been Created or modified"
time="2020-07-01T08:47:29Z" level=debug msg="Load-Balancer updated with [0] backends"
time="2020-07-01T08:47:49Z" level=debug msg="Endpoints for service [kafka-schema-registry-internal-loadbalancer] have  been Created or modified"
-> Address: 10.233.121.235:8081 
time="2020-07-01T08:47:49Z" level=debug msg="Load-Balancer updated with [1] backends"
time="2020-07-01T08:48:33Z" level=debug msg="Endpoints for service [kafka-schema-registry-internal-loadbalancer] have  been Created or modified"
time="2020-07-01T08:48:33Z" level=debug msg="Load-Balancer updated with [0] backends"
-> Address: 10.233.121.235:8081 
time="2020-07-01T08:49:02Z" level=debug msg="Endpoints for service [kafka-schema-registry-internal-loadbalancer] have  been Created or modified"
time="2020-07-01T08:49:02Z" level=debug msg="Load-Balancer updated with [1] backends"
time="2020-07-01T08:49:45Z" level=debug msg="Endpoints for service [kafka-schema-registry-internal-loadbalancer] have  been Created or modified"
time="2020-07-01T08:49:45Z" level=debug msg="Load-Balancer updated with [0] backends"
time="2020-07-01T08:50:12Z" level=debug msg="Endpoints for service [xtradb-internal-loadbalancer] have  been Created or modified"
time="2020-07-01T08:50:12Z" level=debug msg="Load-Balancer updated with [1] backends"
-> Address: 10.233.121.65:3306 
time="2020-07-01T08:50:27Z" level=debug msg="Endpoints for service [kafka-schema-registry-internal-loadbalancer] have  been Created or modified"
-> Address: 10.233.121.235:8081 
time="2020-07-01T08:50:27Z" level=debug msg="Load-Balancer updated with [1] backends"
time="2020-07-01T08:51:12Z" level=debug msg="Endpoints for service [kafka-schema-registry-internal-loadbalancer] have  been Created or modified"
time="2020-07-01T08:51:12Z" level=debug msg="Load-Balancer updated with [0] backends"
-> Address: 10.233.121.235:8081 
time="2020-07-01T08:52:33Z" level=debug msg="Endpoints for service [kafka-schema-registry-internal-loadbalancer] have  been Created or modified"
time="2020-07-01T08:52:33Z" level=debug msg="Load-Balancer updated with [1] backends"
time="2020-07-01T09:24:18Z" level=debug msg="Endpoints for service [webapp-internal-loadbalancer] have  been Created or modified"
time="2020-07-01T09:24:18Z" level=debug msg="Load-Balancer updated with [0] backends"
time="2020-07-01T09:26:55Z" level=debug msg="Endpoints for service [kafka-schema-registry-internal-loadbalancer] have  been Created or modified"
time="2020-07-01T09:26:55Z" level=debug msg="Load-Balancer updated with [1] backends"
-> Address: 10.233.121.235:8081 
time="2020-07-01T09:34:34Z" level=debug msg="Endpoints for service [xtradb-internal-loadbalancer] have  been Created or modified"
time="2020-07-01T09:34:34Z" level=debug msg="Load-Balancer updated with [1] backends"
-> Address: 10.233.121.65:3306 

from kube-vip.

cameronbraid avatar cameronbraid commented on August 21, 2024

And thje plndr config map (edited for easier reading)

kind: ConfigMap
apiVersion: v1
metadata:
  name: plndr
  namespace: drivenow-dev
  selfLink: /api/v1/namespaces/drivenow-dev/configmaps/plndr
  uid: 0299b133-dd73-447b-a0b3-63a35805ca7a
  resourceVersion: '16277749'
  creationTimestamp: '2020-07-01T05:05:26Z'
  annotations:
    provider: plndr
data:
  plndr-services: >-
   {
    "services": [
        {
            "vip": "10.123.204.1",
            "port": 3306,
            "type": "TCP",
            "uid": "113fa154-cc1f-4892-bb94-ef72a84af72e",
            "serviceName": "xtradb-internal-loadbalancer"
        },
        {
            "vip": "10.123.204.2",
            "port": 8081,
            "type": "TCP",
            "uid": "bca6aa40-3bee-4fe7-bfb8-695cd182db7b",
            "serviceName": "kafka-schema-registry-internal-loadbalancer"
        },
        {
            "vip": "10.123.204.3",
            "port": 8081,
            "type": "TCP",
            "uid": "e4ea3966-2e09-462c-8faf-0c3e4a351aca",
            "serviceName": "webapp-internal-loadbalancer"
        },
        {
            "vip": "10.123.204.1",
            "port": 8081,
            "type": "TCP",
            "uid": "e4ea3966-2e09-462c-8faf-0c3e4a351aca",
            "serviceName": "webapp-internal-loadbalancer"
        },
        {
            "vip": "10.123.204.2",
            "port": 3306,
            "type": "TCP",
            "uid": "113fa154-cc1f-4892-bb94-ef72a84af72e",
            "serviceName": "xtradb-internal-loadbalancer"
        },
        {
            "vip": "10.123.204.3",
            "port": 8081,
            "type": "TCP",
            "uid": "bca6aa40-3bee-4fe7-bfb8-695cd182db7b",
            "serviceName": "kafka-schema-registry-internal-loadbalancer"
        },
        {
            "vip": "10.123.204.1",
            "port": 8081,
            "type": "TCP",
            "uid": "e4ea3966-2e09-462c-8faf-0c3e4a351aca",
            "serviceName": "webapp-internal-loadbalancer"
        },
        {
            "vip": "10.123.204.2",
            "port": 3306,
            "type": "TCP",
            "uid": "113fa154-cc1f-4892-bb94-ef72a84af72e",
            "serviceName": "xtradb-internal-loadbalancer"
        },
        {
            "vip": "10.123.204.3",
            "port": 8081,
            "type": "TCP",
            "uid": "bca6aa40-3bee-4fe7-bfb8-695cd182db7b",
            "serviceName": "kafka-schema-registry-internal-loadbalancer"
        },
        {
            "vip": "10.123.204.1",
            "port": 3306,
            "type": "TCP",
            "uid": "113fa154-cc1f-4892-bb94-ef72a84af72e",
            "serviceName": "xtradb-internal-loadbalancer"
        },
        {
            "vip": "10.123.204.1",
            "port": 8081,
            "type": "TCP",
            "uid": "e4ea3966-2e09-462c-8faf-0c3e4a351aca",
            "serviceName": "webapp-internal-loadbalancer"
        },
        {
            "vip": "10.123.204.2",
            "port": 8081,
            "type": "TCP",
            "uid": "bca6aa40-3bee-4fe7-bfb8-695cd182db7b",
            "serviceName": "kafka-schema-registry-internal-loadbalancer"
        },
        {
            "vip": "10.123.204.3",
            "port": 3306,
            "type": "TCP",
            "uid": "113fa154-cc1f-4892-bb94-ef72a84af72e",
            "serviceName": "xtradb-internal-loadbalancer"
        },
        {
            "vip": "10.123.204.1",
            "port": 8081,
            "type": "TCP",
            "uid": "e4ea3966-2e09-462c-8faf-0c3e4a351aca",
            "serviceName": "webapp-internal-loadbalancer"
        },
        {
            "vip": "10.123.204.2",
            "port": 8081,
            "type": "TCP",
            "uid": "bca6aa40-3bee-4fe7-bfb8-695cd182db7b",
            "serviceName": "kafka-schema-registry-internal-loadbalancer"
        },
        {
            "vip": "10.123.204.3",
            "port": 3306,
            "type": "TCP",
            "uid": "113fa154-cc1f-4892-bb94-ef72a84af72e",
            "serviceName": "xtradb-internal-loadbalancer"
        },
        {
            "vip": "10.123.204.1",
            "port": 8081,
            "type": "TCP",
            "uid": "bca6aa40-3bee-4fe7-bfb8-695cd182db7b",
            "serviceName": "kafka-schema-registry-internal-loadbalancer"
        },
        {
            "vip": "10.123.204.1",
            "port": 3306,
            "type": "TCP",
            "uid": "113fa154-cc1f-4892-bb94-ef72a84af72e",
            "serviceName": "xtradb-internal-loadbalancer"
        },
        {
            "vip": "10.123.204.2",
            "port": 8081,
            "type": "TCP",
            "uid": "e4ea3966-2e09-462c-8faf-0c3e4a351aca",
            "serviceName": "webapp-internal-loadbalancer"
        }
    ]
}

from kube-vip.

thebsdbox avatar thebsdbox commented on August 21, 2024

That is very strange.. Ah! there it has duplicated the UIDs.. I'm not sure why at the moment. I'll investigate this.

from kube-vip.

cameronbraid avatar cameronbraid commented on August 21, 2024

Could the issue be concurrent calls to the EnsureLoadBalancer/UpdateLoadBalancer methods ? Looking at another load balancer provider they use locks https://github.com/gardener/nsxt-lb-provider/blob/9870d9c8705d75765bf2f016455a9bc9ed297b68/pkg/loadbalancer/lbprovider.go#L181

from kube-vip.

cameronbraid avatar cameronbraid commented on August 21, 2024

I've implemented a fix plunder-app/plndr-cloud-provider#19

from kube-vip.

thebsdbox avatar thebsdbox commented on August 21, 2024

This can be closed with this being merged. (I've also bumped the container image to 0.1.4) with this fix added too it.

from kube-vip.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.