Giter Site home page Giter Site logo

Comments (10)

shreemaan-abhishek avatar shreemaan-abhishek commented on June 15, 2024

@Revolyssup

from apisix-ingress-controller.

Revolyssup avatar Revolyssup commented on June 15, 2024

@swo-ralf Do you have any logs from ingress controller?

from apisix-ingress-controller.

Revolyssup avatar Revolyssup commented on June 15, 2024

@swo-ralf Can you check admin api to see if plugin metadata was created?
curl http://127.0.0.1:9080/apisix/admin/plugin_metadata/datadog -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1'

from apisix-ingress-controller.

swo-ralf avatar swo-ralf commented on June 15, 2024

I did a kubectl port-forward to the apisix-admin K8s service and looks like it was not created:

$ curl http://127.0.0.1:9080/apisix/admin/plugin_metadata/datadog -H 'X-API-KEY: thekey'
{"message":"Key not found"}

$ curl http://127.0.0.1:9080/apisix/admin/plugin_metadata -H 'X-API-KEY: thekey'
{"total":0,"list":[]}

from apisix-ingress-controller.

Revolyssup avatar Revolyssup commented on June 15, 2024

@swo-ralf What about any logs from ingress controller??

from apisix-ingress-controller.

Revolyssup avatar Revolyssup commented on June 15, 2024

plugin-metadata-config-map

Will you also try removing the namespace: ingress-apisix from configmap

from apisix-ingress-controller.

swo-ralf avatar swo-ralf commented on June 15, 2024

@Revolyssup tried it without namespace and see the following error in log:

2024-01-05T10:40:12+08:00 �[31merror�[0m apisix/pluginconfig.go:139 failed to create pluginConfig: unexpected status code 400; error message: {"error_msg":"invalid configuration: additional properties forbidden, found name"}

Which I do not understand, because https://github.com/apache/apisix-ingress-controller/blob/7a9a0fab478861ed3a90f0793a65100ace9de047/conf/plugin-metadata-config-map.yaml shows exactly the same thing.

from apisix-ingress-controller.

Revolyssup avatar Revolyssup commented on June 15, 2024

@swo-ralf This has been fixed in apisix 3.7.0. Use apisix version 3.7.0>= please

from apisix-ingress-controller.

Revolyssup avatar Revolyssup commented on June 15, 2024

This was fixed here apache/apisix#10315

from apisix-ingress-controller.

swo-ralf avatar swo-ralf commented on June 15, 2024

I updated today to Apisix chart 1.10.0 and have Apisix 3.8.0 running and still see no change.
The last reported error with invalid config is fixed, but still host doesn't get changed away from localhost.

2024/01/22 09:38:15 [error] 49#49: *13349 [lua] datadog.lua:143: send_metric_over_udp(): failed to report request latency to dogstatsd server: host[127.0.0.1] port[8125] err: connection refused, context: ngx.timer, client: 10.224.0.4, server: 0.0.0.0:9080

Doesn't make a difference if I provide the plugin-metadata-config-map in the apisix namespace or omitting the namespace completely.

@Revolyssup What kind of information would be additional helpful to pinpoint the issue?

Thanks!

from apisix-ingress-controller.

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.