Bug 1395267 - Metrics fail to deploy with `oc cluster up --metrics`
Summary: Metrics fail to deploy with `oc cluster up --metrics`
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Hawkular
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Matt Wringe
QA Contact: Peng Li
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-15 14:33 UTC by Samuel Padgett
Modified: 2018-07-26 19:09 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-15 20:33:08 UTC
Target Upstream Version:


Attachments (Terms of Use)
Log file from metrics deployer (8.07 KB, text/plain)
2016-11-15 14:33 UTC, Samuel Padgett
no flags Details

Description Samuel Padgett 2016-11-15 14:33:35 UTC
Created attachment 1220857 [details]
Log file from metrics deployer

Metrics fail to deploy when running this command (current origin master):

oc cluster up --public-hostname=openshiftdev.local --routing-suffix=localhost.dev --metrics --version latest

Error:

scripts/hawkular.sh: line 200: STARTUP_TIMEOUT: unbound variable

Comment 1 Matt Wringe 2016-11-15 16:43:53 UTC
The issue is because 'oc cluster up' is not using the latest template and is therefore missing the STARTUP_TIMEOUT parameter.

We do need to update the deployer so that if the STARTUP_TIMEOUT parameter is not set we give it a default value (see https://github.com/openshift/origin-metrics/pull/264)

Comment 2 Matt Wringe 2016-11-15 18:41:33 UTC
https://github.com/openshift/origin-metrics/pull/264 is now merged and new images have been pushed out.

Comment 3 Samuel Padgett 2016-11-15 20:16:28 UTC
Fix works for me, thanks Matt


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