Bug 1061400
Summary: | deployment causes post to /broker/analytics | ||
---|---|---|---|
Product: | OpenShift Online | Reporter: | Brenton Leanhardt <bleanhar> |
Component: | Containers | Assignee: | Jhon Honce <jhonce> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 2.x | CC: | bleanhar, bmeng, jhonce, libra-onpremise-devel, lmeyer, wzheng, xtian |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | 1054965 | Environment: | |
Last Closed: | 2014-03-12 03:06:47 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1054965 |
Description
Brenton Leanhardt
2014-02-04 18:51:48 UTC
Added REPORT_BUILD_ANALYTICS to node.conf. Default setting is true. Can the default be false? I can't imagine this being useful outside Online. It seems like there should be no need to even be aware of it in Origin/Enterprise. Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/c02133325e877abcaff316e8e3bf07534583f113 Bug 1061400 - Add REPORT_BROKER_ANALYTICS * Add element and fix tests Visually verified code change in devenv_4343 application_container.rb: # # Send a fire-and-forget request to the broker to report build analytics. # def report_build_analytics return unless @config.get_bool('REPORT_BUILD_ANALYTICS', true) Hi Brenton, After enable the analytics in broker-dev.conf on my devenv, I can not get the report in /var/log/httpd/access_log. How to enable the analytics log for git push? Any other configures needed? Thanks Hi Bo, In an Online devenev I suspect the error doesn't show up in /var/log/httpd/access_log. Try /var/log/openshift/broker/development.log. Enable analytics in broker-dev.conf and enable reporting in node.conf. Make sure to restart the relevant services whenever you touch those configs. Then disable analytics in broker-dev.conf. The error might show up in access_log at that point (depending on how logging is configured) but it should show up in development.log. At that point set REPORT_BUILD_ANALYTICS to false in node.conf and the error you previously saw should go away. That's the effect we want. Ideally this would be set to false for Origin/OSE by default. A helpful oneliner to run in the background while running these tests: tail -f /var/log/openshift/broker/development.log | grep analytics & Checked on devenv_4357, The /var/log/httpd/access_log do not have log all the time. But when I set the REPORT_BUILD_ANALYTICS to false in node.conf, the POST action of the analytics info will not show in development.log any more during pushing change to app. That means, the report build is disabled. Move bug to verified. |