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:
Blocks logging & metrics deployment by executing ansible scripts.
Upstream PR https://github.com/openshift/openshift-ansible/pull/3327
Merged in openshift-ansible. Gaoyun Pei, can you verify?
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.
back to on_qa the atomic host environment should be fixed now.
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.
Fixed in version openshift-ansible-3.5.10-1.git.0.ba66b63.el7.noarch