| Summary: | monitor OpenShift with NewRelic | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Miheer Salunke <misalunk> |
| Component: | RFE | Assignee: | Jeff Cantrill <jcantril> |
| Status: | CLOSED DUPLICATE | QA Contact: | Johnny Liu <jialiu> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 3.3.1 | CC: | amurdaca, aos-bugs, dwalsh, erich, jokerman, lpioro, lsm5, mmccomas |
| Target Milestone: | --- | Keywords: | Extras |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-09-16 16:27:33 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: | |
|
Description
Miheer Salunke
2016-09-05 09:50:12 UTC
Seems like multiple problems here. One is the socket not being owned by the docker group. I don't know why this is not happening on RHEL, it does work on Fedora. Second problem is the docker does not seem to be responding in json data. BTW Adding the user to the root group versus the docker group is pretty much the same from a security point of view. Once you can write to the docker.sock as non root you pretty much control the system. http://www.projectatomic.io/blog/2015/08/why-we-dont-let-non-root-users-run-docker-in-centos-fedora-or-rhel/ Antonio wasn't there a bug where docker info was not returning json data? Hello, below you shall find a list of steps to reproduce: 1] install latest oc enterprise [v3.2.1.13-1-gc2a90e1] 2] register a NewRelic account [free trial is perfectly enough] here https://newrelic.com/ 3] on any of your oc servers, perform deploy New Relic Server agent: a] cat << EOF > /etc/yum.repos.d/newrelic.repo [newrelic] name=New Relic packages for Enterprise Linux - $basearch baseurl=http://yum.newrelic.com/pub/newrelic/el5/$basearch enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-NewRelic EOF b] yum install -y newrelic-sysmond c] vim /etc/newrelic/nrsysmond.cfg - enter the license_key which is linked to your New Relic account [seen in menu / account settings as "License key"] - change loglevel - preferably to verbosedebug to see max [log is in /var/log/newrelic/nrsysmond.log] d] systemctl restart newrelic-sysmond 4] go to New Relic account / Servers / see your server details in few minutes - what is expected is to see an extra 'docker' menu on left side with docker-related info and last important step is to enable NewRelic agent as: https://docs.newrelic.com/docs/servers/new-relic-servers-linux/installation-configuration/enabling-new-relic-servers-docker please let me know if you need any additional info / details, thanks a lot for coop / update! After doing 'yum upgrade docker' to docker-common-1.10.3-46.el7.14.x86_64.rpm all is fine now, we can monitor docker statistics via New Relic agent. So closing this BZ. Solved by https://rhn.redhat.com/errata/RHBA-2016-1827.html *** This bug has been marked as a duplicate of bug 1368999 *** |