Bug 1325395 - [DOCS] Working with proxies documentation is missing hawkular-metrics settings
Summary: [DOCS] Working with proxies documentation is missing hawkular-metrics settings
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Documentation
Version: 3.1.0
Hardware: All
OS: Linux
low
high
Target Milestone: ---
: ---
Assignee: Brandi Munilla
QA Contact: Junqi Zhao
Vikram Goyal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-08 17:12 UTC by Vinicius
Modified: 2018-06-04 14:34 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-04 14:34:07 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Vinicius 2016-04-08 17:12:20 UTC
Document URL: 

https://access.redhat.com/documentation/en/openshift-enterprise/3.1/installation-and-configuration/chapter-15-working-with-http-proxies

Section Number and Name: 

Describe the issue:

In order to successfully deploy hawkular-metrics on "proxied" OSE environment, the following services should be included in "NO_PROXY" configuration:

- hawkular-cassandra
- hawkular-metrics
- heapster

* service IP for all services - oc get svc

Furthermore, you should need also include kubernetes and kawkular-metrics url as NO_PROXY. Example:

NO_PROXY=,kubernetes.default.svc,hawkular-metrics.cloudapps.example.com,172.30.112.55,172.30.70.245,172.30.189.167

Finally, you need to include both "application" and "openshift infra domain" (when using tow dns zones) as NO_PROXY. Example:

NO_PROXY=master.infra.openshift.com,node01.infra.openshift.com,node02.infra.openshift.com,infra.openshift.com,cloudapps.openshift.com

Final "NO_PROXY" SAMPLE:

NO_PROXY=master.infra.openshift.com,node01.infra.openshift.com,node02.infra.openshift.com,infra.openshift.com,cloudapps.openshift.com,kubernetes.default.svc,hawkular-metrics.cloudapps.example.com,172.30.112.55,172.30.70.245,172.30.189.167


Additional information: 

Although hawkular-metrics is successfully deployed (with the above seetings), AutoScaling does not wotk on a proxied environment. Please see:

- https://bugzilla.redhat.com/show_bug.cgi?id=1320441
- https://access.redhat.com/solutions/2216341

Comment 5 Brandi Munilla 2018-04-05 18:57:28 UTC
@Vinicius, please take a look at the following PR: 

https://github.com/openshift/openshift-docs/pull/8615

This topic went through substantial changes between 3.1 and 3.2. Is the this content accurate beyond 3.1?

Thanks!

Comment 6 Brandi Munilla 2018-05-11 13:53:25 UTC
Hi Anping, PTAL. Thanks!

Comment 7 Junqi Zhao 2018-05-15 03:27:18 UTC
@brandi,

I think you missed the followings

"Finally, you need to include both "application" and "openshift infra domain" (when using tow dns zones) as NO_PROXY"

and I think change to below is OK


To deploy Hawkular Metrics on a proxied {product-title} environment, the following services should be included in `NO_PROXY` configuration:

* Hawkular Cassandra
* Hawkular Metrics
* Heapster
* Kubernetes
* Application
* OpenShift infra domain(added when using two dns zones)

Comment 8 Brandi Munilla 2018-05-21 16:45:03 UTC
Thanks, @Junqi! 

I updated the PR.

Comment 9 Vinicius 2018-05-21 19:05:33 UTC
Hello guys,

I'm sorry for this late reply but unfortunately this issue was raised during a PoC, which was deployed two years ago, therefore, I cannot reproduce/confirm it anymore.

Best regardsm

Comment 10 Junqi Zhao 2018-05-22 00:24:08 UTC
Doc is LGTM


Note You need to log in before you can comment on or make changes to this bug.