-
Notifications
You must be signed in to change notification settings - Fork 99
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
spooky failure to start with "neither features.syslogAsset or multicollins.thisInstance were specified" #398
Comments
@cburroughs I have definitely seen this behavior before, but I cant remember exactly what triggered it. Generally I set multicollins on and use that feature to identify each instance instead of syslog asset. Seems to avoid the issue?
|
My multicolins config is
which is what worked until yesterday. |
There were definitely initialization order issues in the 1.3.0 release. I can't say for certain that they have all been fixed in master, but I've addressed a few of those during the time. Unfortunately this isn't easy to reproduce and therefore fix. |
@cburroughs - is the IAD DATA_CENTER asset still in your instance of collins? I think I've seen this error when the asset did not exist before. I would image it does exist, since you said you were running with that config until recently, just want to double check. |
Also, this may help you debug, but this is where |
Yep, there is still an asset of type 'Data Center' with the tag |
@cburroughs were you able to figure this out? Maybe switching on and off multicollins might help fix the problem? |
No I have not figured this out and I have not debugged further since |
So I got this error:
After building collins with
Turns out, this is caused missing |
Oh WTF. Now it's again not working on another system.. So well, dunno. Will update if I find out more. |
Okay, this was related to a different jvm version. But if this also triggers this error, there is something seriously wrong with the error handling. |
I think we have seen this before, where a syntax error in the I would check your production.conf very carefully and see if you can find the syntax error. |
@byxorna I used the config from the repo without any changes. My core issue was that file missing from my working directory. |
Oh what a PITA. Is it possible that right now it always returns the error not matter what is wrong during initialization? I got that error because of that missing file, because of something triggered by using java 1.8 instead of 1.7 and now because of something related to the database after changing h2:mem:play to h2:/var/lib/collins/database.h2.. Is there a more stable version? Can't get 1.3.0 running either and that's 2 years old already.. |
..and for solr misconfiguration as well as permission problem. |
Okay, finally got this up and running but I'm wondering: Are there plans to fix the error handling? |
This is on 1.3.0. I had a pair (per DC) of collins instances running. I don't think they had been restarted in O(months). Today I tried to migrate those instances to new servers (copied conf, dumped db etc) and collins failed to start with [1]. The spooky outage inducing part came when I tried to restart the old servers and they failed with the the same error despite no changes to the config. I checked many times over that multicollins was indeed in the config (and that I got it to work later leads me to believe that as far as multicollins itself is concerned everything is/was fine).
The eventual workaround was to set:
in
production.conf
.Related discussion in #117 Again as far as I can tell neither the code nor the config changed since the last restart.
I looked into the current state of master: https://github.com/tumblr/collins/blob/master/app/collins/util/Tattler.scala#L83
and I'm afraid I don't understand what is going on their either. The only reference to multicollins seems to be in the exception.
[1]
The text was updated successfully, but these errors were encountered: