-
Notifications
You must be signed in to change notification settings - Fork 0
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
Different behavior on local test server (Ansible) vs. NLB test server #10
Comments
The engine version on the about page should be pulled directly from the engines web api, so if it's showing the wrong version then presumably the web api is stating the wrong version. I wouldn't mind if the scripts were moved from test-server-hubot to the ansible project. This is the
And this is the
The server is running Ubuntu 12.04, which was the LTS at the time we initially set it up. I could spend some time upgrading it to a newer Ubuntu version if that would be useful, but I'm not sure it's worth it while we're doing sprints? There's two files in /etc/opt/daisy-pipeline2 and there doesn't seem to be anything sensitive in them so I'm including them here: config-logback.xml
system.properties
|
Actually, I just checked, and the engine reports version 1.9.9-SNAPSHOT, while the about page says 1.9.7. I created an issue for it here: daisy/pipeline-webui#55 |
Yeah, weird. I have Trusty on my local test server, but I don't expect that to be an issue. Java version could be important, but I'm using exactly the same version. Must be something else but there's no real way to investigate for me :( |
Is there any way we could make the environment completely reproducible? I suppose that would mean using Docker or something? |
Yes that is one way I guess. It's not the ultimate solution (some things we can't eliminate such as state/data and coincidental circumstances, but it's probably the closest thing we'll ever get to it. |
Maybe we should start with finding out what the issue is in this particular case, and when we've found out think about how (if) we can make sure we detect these kind of problems in a local test. |
The Java logging messages seem to work again now. |
Ok. Does that mean we can close this issue? |
Didn't mean that. If we're not going to take further action, we can close the issue. On second thought, the Docker solution isn't really a solution. That's just "giving up". I think a good start would be to gradually move more and more stuff from test-server-hubot to the Ansible script. However I'm not completely sure which files we can move, which ones are specific to your server, and how the scripts are invoked. Also we should probably wait with this until the web UI DEB is included in the Ansible script. |
Ok, sure. Off the top of my head there's not much in test-server-hubot that's specific to the test server. |
Regarding the version number issue: see also daisy/pipeline-assembly#97. |
We noticed the other day that the server doesn't behave exactly as expected (Java logging messages not showing up), so then I tried to reproduce it on my local test server, which has exactly the same version of the Debian package installed, and there it worked. This could mean that a different environment causes the difference in behavior. I'm thinking it could be the Java version. I've noticed that using Java 8 can cause some bundles to fail.
It would help if we could replicate the NLB test server even more by using a more similar image, and also by moving more of the scripts we use to install, update, launch and stop to the Ansible project. Currently a lot of scripts are in test-server-hubot. @josteinaj What do you think?
Note: another problem is that the About page does not always display the correct version of the Pipeline server, so that I can never be 100% sure. In this case I'm pretty sure which version is installed, but still it's annoying. I have to fix this in the Debian package. @josteinaj Could you please send me the files that are currently in /etc/opt/daisy-pipeline2? Might help me with the debugging.
The text was updated successfully, but these errors were encountered: