Skip to content
This repository has been archived by the owner on Jan 7, 2020. It is now read-only.

Stale results in webui until uchiwa process restarted #605

Closed
madeddie opened this issue Nov 23, 2016 · 7 comments
Closed

Stale results in webui until uchiwa process restarted #605

madeddie opened this issue Nov 23, 2016 · 7 comments
Assignees
Labels

Comments

@madeddie
Copy link

Looks to be the same problem described in #438

OS: Ubuntu 16.04
Sensu: 0.26.3
Uchiwa: 0.20.1

In the events and clients overview pages the results are stale, directly visible from their ages (e.g. Issued times). When clicking through to the client and check details, the data is up-to-date.
This problem comes up after a while and at undetermined intervals.

Refreshing the browser doesn't work, only restarting the Uchiwa process fixes this.

The uchiwa.log shows the last "Updating the datacenter sensu" the stale time ago, i.e., the datacenter data isn't being updated.

Let me know if you want specific information.

@palourde palourde added the Bug label Nov 23, 2016
@palourde palourde self-assigned this Nov 23, 2016
@palourde
Copy link
Contributor

Hi @madeddie

Thanks for reporting this issue. I'm unfortunately unable to reproduce it so I'll need some help. Could you modify the logvalue attribute to debug and restart Uchiwa?

Then, the next time you face this issue, simply provide us the last few lines from the Uchiwa log files. It should help us understand the current behavior you are facing.

Thanks!

@madeddie
Copy link
Author

Hey, thanks for the quick reply. A coworker decided to rollback Uchiwa to an older version because of other problems (handlers not compatible with current silencing method), I'll set up a concurrent test setup and will get back to you.

@drichelson
Copy link

@madeddie What version did you roll back to? I'm also seeing this problem

@madeddie
Copy link
Author

madeddie commented Dec 14, 2016

We're currently on 0.17.1. I'm still seeing "slow" results at times, harder to debug. Slow meaning it's usually not an hour or more behind, but more like 2 to 10 minutes or so.

Also setting up a shadow env with newer version uchiwa is proving difficult.

@jwatroba
Copy link

I ran into this issue and it turned out that my "refresh" setting had an insane 10000 because I had copied old config over where this had been the default. This default had since been changed to 10. Once I updated to 10, it worked fine.

@madeddie
Copy link
Author

I'm afraid I don't have a production sensu setup under my control anymore, so this ticket can be closed AFAIAC.
I will close this issue myself in 3 weeks if it's not closed or requested to stay open beforehand.

@palourde
Copy link
Contributor

I'll go ahead and close this issue. Do not hesitate to open a new issue if anyone face this problem again!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants