Bug 1395267

Summary: Metrics fail to deploy with `oc cluster up --metrics`
Product: OpenShift Container Platform Reporter: Samuel Padgett <spadgett>
Component: HawkularAssignee: Matt Wringe <mwringe>
Status: CLOSED CURRENTRELEASE QA Contact: Peng Li <penli>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: aos-bugs
Target Milestone: ---   
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-11-15 20:33:08 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:
Attachments:
Description Flags
Log file from metrics deployer none

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