summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjfcoz <you@example.com>2016-05-20 15:46:18 +0200
committerjfcoz <you@example.com>2016-05-20 15:46:18 +0200
commit2571488708046d8a8e62bedc737c580ae6652b24 (patch)
tree071148795521e56b1dc61b28c2df8aefe1315e1c
parentc78e91c7d4a304cc5d20135e96206008407c5f6f (diff)
downloadopenshift-2571488708046d8a8e62bedc737c580ae6652b24.tar.gz
openshift-2571488708046d8a8e62bedc737c580ae6652b24.tar.bz2
openshift-2571488708046d8a8e62bedc737c580ae6652b24.tar.xz
openshift-2571488708046d8a8e62bedc737c580ae6652b24.zip
add unit in seconds for metrics resolution
-rw-r--r--roles/openshift_metrics/tasks/main.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_metrics/tasks/main.yaml b/roles/openshift_metrics/tasks/main.yaml
index bee1bab90..a92f39a76 100644
--- a/roles/openshift_metrics/tasks/main.yaml
+++ b/roles/openshift_metrics/tasks/main.yaml
@@ -44,7 +44,7 @@
shell: >
{{ openshift.common.client_binary }} process -f \
/usr/share/openshift/examples/infrastructure-templates/{{ hawkular_type }}/metrics-deployer.yaml -v \
- HAWKULAR_METRICS_HOSTNAME=hawkular-metrics.{{ openshift.master.default_subdomain }},USE_PERSISTENT_STORAGE={{ hawkular_persistence }},METRIC_DURATION={{ openshift.hosted.metrics.duration }},METRIC_RESOLUTION={{ openshift.hosted.metrics.resolution }} \
+ HAWKULAR_METRICS_HOSTNAME=hawkular-metrics.{{ openshift.master.default_subdomain }},USE_PERSISTENT_STORAGE={{ hawkular_persistence }},METRIC_DURATION={{ openshift.hosted.metrics.duration }},METRIC_RESOLUTION={{ openshift.hosted.metrics.resolution }}s \
| {{ openshift.common.client_binary }} create -n openshift-infra --config={{hawkular_tmp_conf}} -f -
register: oex_heapster_services
failed_when: "'already exists' not in oex_heapster_services.stderr and oex_heapster_services.rc != 0"