Code Monkey home page Code Monkey logo

Comments (6)

costela avatar costela commented on May 26, 2024

I unfortunately haven't tested this with 1.20 yet. These log entries aren't necessarily a sign of problem though. Do you have any other issues, or a more complete log?

from hcloud-ip-floater.

ghorofamike avatar ghorofamike commented on May 26, 2024

i get no other logs, iv been looking thru the code, and im not seeing any of the log lines i would expect, it literary prints only those lines. so something changed somewhere and its not getting events or so, and no normal execution paths happen that trigger logging. what are your suggestions?

from hcloud-ip-floater.

ghorofamike avatar ghorofamike commented on May 26, 2024

So theres is some operator error involved, i cant tell where, i had not requested debug logs, here they are after changing configs:
Here is a link to the whole logs: fpaste,
and here is a snippet:

time="2021-01-06T19:12:11Z" level=info msg="service update" namespace=ingress-nginx service=nginx-ingress
time="2021-01-06T19:12:11Z" level=info msg="service unchanged" namespace=ingress-nginx service=nginx-ingress
time="2021-01-06T19:12:12Z" level=debug msg="--- Response:" component=hcloud
time="2021-01-06T19:12:12Z" level=debug msg="HTTP/2.0 200 OK" component=hcloud
time="2021-01-06T19:12:12Z" level=debug msg="Access-Control-Allow-Credentials: true" component=hcloud
time="2021-01-06T19:12:12Z" level=debug msg="Access-Control-Allow-Headers: DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization" component=hcloud
time="2021-01-06T19:12:12Z" level=debug msg="Access-Control-Allow-Methods: GET, PUT, POST, DELETE, PATCH, OPTIONS" component=hcloud
time="2021-01-06T19:12:12Z" level=debug msg="Access-Control-Allow-Origin: *" component=hcloud
time="2021-01-06T19:12:12Z" level=debug msg="Content-Type: application/json" component=hcloud
time="2021-01-06T19:12:12Z" level=debug msg="Date: Wed, 06 Jan 2021 19:12:12 GMT" component=hcloud
time="2021-01-06T19:12:12Z" level=debug msg="Link: <https://api.hetzner.cloud/v1/floating_ips?label_selector=hcloud%3Dfloater&page=1>; rel=last" component=hcloud
time="2021-01-06T19:12:12Z" level=debug msg="Ratelimit-Limit: 3600" component=hcloud
time="2021-01-06T19:12:12Z" level=debug msg="Ratelimit-Remaining: 3599" component=hcloud
time="2021-01-06T19:12:12Z" level=debug msg="Ratelimit-Reset: 1609960333" component=hcloud
time="2021-01-06T19:12:12Z" level=debug msg="Strict-Transport-Security: max-age=15724800; includeSubDomains" component=hcloud
time="2021-01-06T19:12:12Z" level=debug msg="Vary: Accept-Encoding" component=hcloud
time="2021-01-06T19:12:12Z" level=debug msg="X-Correlation-Id: f4b3f932-197a-4532-a6e6-e29cd06b5425" component=hcloud
time="2021-01-06T19:12:12Z" level=debug component=hcloud
time="2021-01-06T19:12:12Z" level=debug msg="{" component=hcloud
time="2021-01-06T19:12:12Z" level=debug msg="  \"floating_ips\": [" component=hcloud
time="2021-01-06T19:12:12Z" level=debug msg="    {" component=hcloud
time="2021-01-06T19:12:12Z" level=debug msg="      \"id\": 272829," component=hcloud
time="2021-01-06T19:12:12Z" level=debug msg="      \"name\": \"lb1-prod\"," component=hcloud
time="2021-01-06T19:12:12Z" level=info msg="floating IPs changed" component=fipcontroller
time="2021-01-06T19:12:12Z" level=info msg="starting reconciliation" component=fipcontroller
time="2021-01-06T19:12:12Z" level=debug msg="ignoring unattached floating IP" component=fipcontroller fip=ggg.ggg.ggg.ggg
time="2021-01-06T19:12:12Z" level=debug msg="ignoring unattached floating IP" component=fipcontroller fip=fff.fff.fff.fff
time="2021-01-06T19:12:12Z" level=info msg="reconciliation done" component=fipcontroller

im unsure what is going on.

from hcloud-ip-floater.

ghorofamike avatar ghorofamike commented on May 26, 2024

This portion:

time="2021-01-08T06:00:22Z" level=debug component=hcloud
time="2021-01-08T06:00:22Z" level=debug component=hcloud
time="2021-01-08T06:00:22Z" level=info msg="floating IPs changed" component=fipcontroller
time="2021-01-08T06:00:22Z" level=info msg="starting reconciliation" component=fipcontroller
time="2021-01-08T06:00:22Z" level=debug msg="ignoring unattached floating IP" component=fipcontroller fip=XXX.XXX.XXX.XXX
time="2021-01-08T06:00:22Z" level=debug msg="ignoring unattached floating IP" component=fipcontroller fip=YYY.YYY.YYY.YYY
time="2021-01-08T06:00:22Z" level=info msg="reconciliation done" component=fipcontroller

Does it mean its the interaction with metallb thats problematic? it seems to see that any of my IP's are attached.

from hcloud-ip-floater.

costela avatar costela commented on May 26, 2024

Yes, this looks like it could be a metallb issue. What does kubectl get svc say? Is k8s getting IPs from metallb?

And what version of hcloud-ip-floater are you using?

from hcloud-ip-floater.

ghorofamike avatar ghorofamike commented on May 26, 2024

I think i have it resolved, its like most issues, operator error, i mixed up my service "selector", (reversed some hyphenated words). so false alarm. without the selectors, this tool could not see live pods for the service, so it would not attach the ips. its easily confused to be a metallb issue, but its not.

from hcloud-ip-floater.

Related Issues (17)

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.