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

Deleting lambda function make gloo crash because of discovery #3895

Closed
asayah opened this issue Nov 19, 2020 · 0 comments · Fixed by #3942
Closed

Deleting lambda function make gloo crash because of discovery #3895

asayah opened this issue Nov 19, 2020 · 0 comments · Fixed by #3942
Labels
Type: Bug Something isn't working

Comments

@asayah
Copy link
Contributor

asayah commented Nov 19, 2020

Behavior:

We're using invalid route replacement, which is working great for missing upstreams and just returns a custom 404. However, we just had an incident where someone deleted a discovered AWS lambda function in nonprod. Discovery updated the aws-upstream and removed the function name. We had a Virtual Service defined with a route to that function. This then caused complete failure until we deleted that virtual service.

Our proxies all failed on a restart and a glooctl check gave the following error, where run-ecs-task-development was our deleted lambda function
Checking virtual services... Found rejected virtual service: gloo-system run-ecs-task-dot-development
Reason: 1 error occurred:
* Route Error: ProcessingError. Reason: *aws.plugin: unknown function run-ecs-task-development

Expected behavior

Steps to reproduce:
Delete lambda function, with discovery on

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant