Skip to content
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

Ingress Controller 0.4.0 - Service scoped plugins are not created #289

Closed
davideagle opened this issue May 8, 2019 · 4 comments
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@davideagle
Copy link

Ingress Controller - service scoped plugins are not created

Summary

Ingress controller does not create Service scoped plugins, however Route scoped plugins are creeated

Kong Ingress controller version
0.4.0

Kong or Kong Enterprise version
Kong 1.1.2

Kubernetes version

Server Version: version.Info{Major:"1", Minor:"11", GitVersion:"v1.11.7", GitCommit:"65ecaf0671341311ce6aea0edab46ee69f65d59e", GitTreeState:"clean", BuildDate:"2019-01-24T19:22:45Z", GoVersion:"go1.10.7", Compiler:"gc", Platform:"linux/amd64"}

Environment

What happened

Only Route Scoped plugins are created

Ingress Controller Log

kong-ingress-controller-86895d6b65-7hspd ingress-controller 3 errors occured:
kong-ingress-controller-86895d6b65-7hspd ingress-controller while processing event: {Create} failed: 400 Bad Request {“message”:“schema violation (protocols: must match the protocols of at least one route pointing to this Plugin’s service)”,“name”:“schema violation”,“fields”:{“protocols”:“must match the protocols of at least one route pointing to this Plugin’s service”},“code”:2}
kong-ingress-controller-86895d6b65-7hspd ingress-controller while processing event: {Create} failed: 400 Bad Request {“message”:“schema violation (protocols: must match the protocols of at least one route pointing to this Plugin’s service)”,“name”:“schema violation”,“fields”:{“protocols”:“must match the protocols of at least one route pointing to this Plugin’s service”},“code”:2}
kong-ingress-controller-86895d6b65-7hspd ingress-controller while processing event: {Create} failed: 400 Bad Request {“message”:“schema violation (protocols: must match the protocols of at least one route pointing to this Plugin’s service)”,“name”:“schema violation”,“fields”:{“protocols”:“must match the protocols of at least one route pointing to this Plugin’s service”},“code”:2}

Kong Proxy Log

kong-proxy-657755bddf-kmhb4 kong-proxy 100.96.12.235 - - [08/May/2019:12:16:24 +0000] “GET /plugins/schema/basic-auth HTTP/1.1” 200 126 “-” “Go-http-client/1.1”
kong-proxy-657755bddf-kmhb4 kong-proxy 100.96.12.235 - - [08/May/2019:12:16:24 +0000] “GET /plugins/schema/acl HTTP/1.1” 200 190 “-” “Go-http-client/1.1”
kong-proxy-657755bddf-kmhb4 kong-proxy 100.96.12.235 - - [08/May/2019:12:16:24 +0000] “GET /plugins/schema/key-auth HTTP/1.1” 200 329 “-” “Go-http-client/1.1”
kong-proxy-657755bddf-kmhb4 kong-proxy 100.96.12.235 - - [08/May/2019:12:16:24 +0000] “POST /plugins HTTP/1.1” 400 265 “-” “Go-http-client/1.1”
kong-proxy-657755bddf-kmhb4 kong-proxy 100.96.12.235 - - [08/May/2019:12:16:24 +0000] “POST /plugins HTTP/1.1” 400 265 “-” “Go-http-client/1.1”
kong-proxy-657755bddf-kmhb4 kong-proxy 100.96.12.235 - - [08/May/2019:12:16:24 +0000] “POST /plugins HTTP/1.1” 400 265 “-” “Go-http-client/1.1”

Expected behvaior

Service Scoped plugins should have been created

Steps To Reproduce

Apply https://gist.github.com/davideagle/a5d846f8446d811471a882aaea74120f

@hbagdi hbagdi self-assigned this May 9, 2019
@hbagdi hbagdi added the bug Something isn't working label May 9, 2019
@hbagdi
Copy link
Member

hbagdi commented May 21, 2019

This will be fixed as part of #295

The fix in deck (Kong/deck#16) is present in deck v0.3.0, which is what we will be using once #295 is merged in.

@davideagle
Copy link
Author

I see that the upgrade to deck v0.3.0 has been merged in, do I have to wait for the next release of kubernetes-ingress-controller in order to try this out?

@hbagdi
Copy link
Member

hbagdi commented Jun 6, 2019

Yes, another release in the works and will be out in a couple of weeks.

@hbagdi hbagdi added this to the 0.5.0 milestone Jun 7, 2019
@hbagdi
Copy link
Member

hbagdi commented Jun 7, 2019

This will be fixed with 0.5.0 hence. closing this.

@hbagdi hbagdi closed this as completed Jun 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants