Bug 1421011

Summary: ruamel.yaml package installation failed when enable metrics or logging deployment
Product: OpenShift Container Platform Reporter: Gaoyun Pei <gpei>
Component: InstallerAssignee: Jan Chaloupka <jchaloup>
Status: CLOSED CURRENTRELEASE QA Contact: Gaoyun Pei <gpei>
Severity: high Docs Contact:
Priority: high    
Version: 3.5.0CC: aos-bugs, gpei, jokerman, mmccomas, penli, xiazhao
Target Milestone: ---Keywords: Regression
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: 2017-03-13 12:02:57 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:
Bug Depends On: 1422638    
Bug Blocks: 1419839, 1419874    

Description Gaoyun Pei 2017-02-10 06:01:57 UTC
Description of problem:
When enable metrics or logging deployment during installation, installer will fail at "TASK [lib_openshift : lib_openshift ensure python-ruamel-yaml package is on target".


Version-Release number of selected component (if applicable):
openshift-ansible-3.5.6-1.git.0.5e6099d.el7.noarch.rpm

How reproducible:
Always

Steps to Reproduce:
1. Set openshift_hosted_metrics_deploy=true or openshift_hosted_logging_deploy=true in ansible inventory, trigger installation.


Actual results:
TASK [lib_openshift : lib_openshift ensure python-ruamel-yaml package is on target] ***
Friday 10 February 2017  03:11:10 +0000 (0:00:00.789)       0:34:04.324 ******* 
failed: [ec2-54-196-128-51.compute-1.amazonaws.com] (item=[u'ruamel.yaml', u'ruamel.yaml', u'ruamel.yaml', u'ruamel.yaml', u'ruamel.yaml', u'ruamel.yaml']) => {
    "changed": false, 
    "failed": true, 
    "item": [
        "ruamel.yaml", 
        "ruamel.yaml", 
        "ruamel.yaml", 
        "ruamel.yaml", 
        "ruamel.yaml", 
        "ruamel.yaml"
    ], 
    "rc": 126, 
    "results": [
        "No package matching 'ruamel.yaml' found available, installed or updated"
    ]
}

MSG:

No package matching 'ruamel.yaml' found available, installed or updated



Expected results:


Additional info:

Comment 1 Xia Zhao 2017-02-10 06:31:04 UTC
Blocks logging & metrics deployment by executing ansible scripts.

Comment 2 Jan Chaloupka 2017-02-10 13:54:39 UTC
Upstream PR https://github.com/openshift/openshift-ansible/pull/3327

Comment 3 Jan Chaloupka 2017-02-10 14:19:37 UTC
Merged in openshift-ansible.

Gaoyun Pei, can you verify?

Comment 5 Gaoyun Pei 2017-02-12 02:16:00 UTC
Hi Jan,

Tried with openshift-ansible-3.5.7-1.git.0.5010dec.el7.noarch.rpm, it's working well for rpm installation on RHEL, but for containerized installation on Atomic Host, we don't have 'yum' command on it, so it would still get failed.

TASK [lib_openshift : lib_openshift ensure python-ruamel-yaml package is on target] ***
Saturday 11 February 2017  16:31:53 +0000 (0:00:00.122)       0:34:10.295 ***** 
fatal: [ec2-54-242-217-249.compute-1.amazonaws.com]: FAILED! => {
    "changed": false, 
    "failed": true
}

MSG:

Could not find a module for unknown.

Since it's not a blocker for rpm installation, so remove the TestBlocker keyword.

Comment 6 Scott Dodson 2017-02-17 02:16:40 UTC
back to on_qa the atomic host environment should be fixed now.

Comment 7 Gaoyun Pei 2017-02-17 09:58:24 UTC
Tried setting openshift_hosted_metrics_deploy=true or openshift_hosted_logging_deploy=true in ansible inventory, trigger installation on Atomic Host, installer would skip python-ruamel-yaml package install step now, and the installation is successful, move this bug to verified.

Comment 8 Gaoyun Pei 2017-02-17 10:02:46 UTC
Fixed in version openshift-ansible-3.5.10-1.git.0.ba66b63.el7.noarch