cloud_controller_ng icon indicating copy to clipboard operation
cloud_controller_ng copied to clipboard

Frequent error in worker logs: "copilot.enabled" is not a valid config key

Open reidmit opened this issue 3 years ago • 2 comments

Thanks for submitting an issue to cloud_controller_ng. We are always trying to improve! To help us, please fill out the following template.

You're welcome!

Issue

Poking through the worker logs, I see a bunch of lines like this:

{"timestamp":"2020-10-05T18:44:47.099211218Z","message":"failed communicating with copilot backend: \"copilot.enabled\" is not a valid config key","log_level":"error","source":"copilot_adapter","data":{"request_guid":"64b95f14-e5ad-4ae5-b7c5-b39bf4e8cffd::16cf40eb-3d25-4c87-94db-4f71c6e3288b"},"thread_id":47356977710560,"fiber_id":47357041155080,"process_id":1,"file":"/workspace/lib/cloud_controller/copilot/adapter.rb","lineno":87,"method":"rescue in with_guardrails"}

Context

I wouldn't expect to see errors like this in the logs. It seems like a developer error (referring to an invalid config key). Can we make the logs less noisy?

Steps to Reproduce

I think we just did some cf pushes.

Expected result

No errors like this logged.

Current result

See logs above.

Possible Fix

Not sure. Is copilot not a thing anymore?

cc @belinda-liu

reidmit avatar Oct 05 '20 19:10 reidmit

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/175131004

The labels on this github issue will be updated when the story is started.

cf-gitbot avatar Oct 05 '20 19:10 cf-gitbot

Is there a known fix for this issue? We're seeing it in our logs more than 3800 times a day per production foundry, and causing us some alert blindness.

AP-Hunt avatar May 10 '21 12:05 AP-Hunt

fixed by https://github.com/cloudfoundry/cloud_controller_ng/pull/2940

sethboyles avatar Apr 28 '23 19:04 sethboyles