Bug 1436106 - Metrics deployment failed when running "Create objects"
Summary: Metrics deployment failed when running "Create objects"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.5.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: ewolinet
QA Contact: Gaoyun Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-27 07:49 UTC by Gaoyun Pei
Modified: 2017-07-24 14:11 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2017-04-12 19:04:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0903 0 normal SHIPPED_LIVE OpenShift Container Platform atomic-openshift-utils bug fix and enhancement 2017-04-12 22:45:42 UTC

Description Gaoyun Pei 2017-03-27 07:49:15 UTC
Description of problem:
Enable metrics deployment during installation with setting openshift_hosted_metrics_deploy=true in ansible inventory file, installation playbook failed as:

TASK [openshift_metrics : Checking generation of {{file_content.kind}} {{file_content.metadata.name}}] ***
Monday 27 March 2017  06:44:50 +0000 (0:00:01.841)       0:18:33.813 ********** 
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ScannerError: {{ item.content | b64decode | from_yaml }}:
fatal: [ec2-54-164-204-163.compute-1.amazonaws.com]: FAILED! => {
    "failed": true
}

MSG:

Unexpected failure during module execution.



Version-Release number of selected component (if applicable):
openshift-ansible-3.5.45-1.git.0.eb0859b.el7.noarch.rpm

How reproducible:
Always

Steps to Reproduce:
1.Set openshift_hosted_metrics_deploy=true in ansible inventory, start installation playbook.


Actual results:


Expected results:


Additional info:

Comment 2 ewolinet 2017-03-27 22:20:11 UTC
I'm currently running into other issues when running the BYO playbook trying to recreate this. Can you provide your inventory file you are using please?

Can you also provide the '-vvv' output of that failing task? I'm not sure where the 'ScannerError' is coming from.

Comment 3 Scott Dodson 2017-03-28 01:06:15 UTC
Gaoyun, Also, how reproducable is this?

Comment 4 ewolinet 2017-03-28 20:48:58 UTC
I'm able to recreate this now... it seems its having problems with the 'metrics-heapster-rc.yaml' template each time.

Comment 6 Gaoyun Pei 2017-03-29 06:47:48 UTC
Hi, Eric/Scott

It's always reproducible when running with openshift-ansible-3.5.45-1, and the metrics related '-vvv' output was attached in Comment 1, sorry for my late reply. 

And I have tried installation with the proposed PR https://github.com/openshift/openshift-ansible/pull/3791, it works well on metrics deployment, thanks!

Comment 8 Gaoyun Pei 2017-03-30 05:24:35 UTC
Verify this bug with openshift-ansible-3.5.46-1.git.0.f676f1c.el7.noarch.rpm

Set openshift_hosted_metrics_deploy=true in ansible inventory, installation playbook run well and metrics pod were deployed.

Comment 10 errata-xmlrpc 2017-04-12 19:04:17 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:0903


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