question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Kamus controller always restarting

See original GitHub issue

Describe the bug After update to Kamus version 0.6.6.0 (chart version 0.4.7) controller is terminating the process after watching for KamusSecret so pod is always restarting and at some moment probes fails so pod enters on CrashLoopBackOff state.

{
   "Timestamp":"2020-05-11T10:22:44.7789456+00:00",
   "Level":"Information",
   "MessageTemplate":"Starting watch for KamusSecret V1Alpha2 events",
   "Properties":{
      "SourceContext":"CustomResourceDescriptorController.HostedServices.V1Alpha2Controller"
   }
}
Hosting environment: Production
Content root path: /home/dotnet/app
Now listening on: https://0.0.0.0:8888
Now listening on: http://0.0.0.0:9999
Application started. Press Ctrl+C to shut down.
{
   "Timestamp":"2020-05-11T10:24:33.8513234+00:00",
   "Level":"Information",
   "MessageTemplate":"Watching KamusSecret events completed, terminating process",
   "Properties":{
      "SourceContext":"CustomResourceDescriptorController.HostedServices.V1Alpha2Controller"
   }
}
Application is shutting down...

Versions used Kamus (API images): 0.6.6.0 Kamus CLI: 0.3.0 Chart version: 0.4.7 KMS provider: AwsKms Kubernetes flavour and version: 1.14.9-aws.8

Expected behavior Kamus controller not restarting and be in a healthy state.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:20 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
shaikatzcommented, May 17, 2020

Hi, @MihaiAnei thanks for the info. There are 2 issues here as you pointed out.

The first one, that we log conflict each time we come up, it’s just a cosmetic issue and nothing that hurt functionality.

The second one is probably a regression introduced by the Kubernetes client we’ve updated, and it stopped honoring the long timeout we provide to the HttpClient we use. It shuts off the stream too fast, and then the observable receives a completed event as you pointed out, and terminate the container.

I’ll try to work on a solution for both issues soon.

1reaction
shaikatzcommented, May 18, 2020

Great, you can expect restart once an hour since this is the timeout we provide to the watcher.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Controller keeps rebooting after turning off with Steam ...
Controller keeps rebooting after turning off with Steam button + Y. It's really annoying, i have to manually remove the batteries every time ......
Read more >
Ethernet adapter keep restarting
Hey, so, I have this problem, that every once in a while, my ethernet adapter self restarts. It can happen every few minutes, ......
Read more >
Controller configuration keeps getting reset - Hardware
Restart the game back to desktop and your custom controls will come back. Just DONT look at the controls before hand. Just restart...
Read more >
Steam Controller only functions properly after restarting ...
The way to fix it, without restarting steam is to unplug the wireless USB extender from the computer, wait for the controller to...
Read more >
Controller Acceleration Keeps Turning On When I reboot ...
Issue Description: Look acceleration on controller is always on by default when I reboot the game. I'll set it to off and when...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found