Created attachment 1250505 [details] ansible execution log Description of problem: Deploy logging 3.5.0 stacks using ansible scripts, failed at Task "start fluentd": TASK [openshift_logging : start fluentd] *************************************** task path: /root/openshift-ansible/roles/openshift_logging/tasks/start_cluster.yaml:14 Using module file /root/openshift-ansible/roles/lib_openshift/library/oc_label.py <$master> ESTABLISH SSH CONNECTION FOR USER: root <$master> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o 'IdentityFile="/root/libra.pem"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r $master '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"'' failed: [$master] (item=$node) => { "failed": true, "fluentd_host": "$node", "invocation": { "module_args": { "kind": "node", "label": [ { "key": "logging-infra-fluentd", "value": "true" } ], "name": "$node", "state": "add" }, "module_name": "oc_label" } } MSG: unsupported parameter for module: label Using module file /root/openshift-ansible/roles/lib_openshift/library/oc_label.py <$master> ESTABLISH SSH CONNECTION FOR USER: root <$master> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o 'IdentityFile="/root/libra.pem"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r $master '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"'' failed: [$master] (item=$master) => { "failed": true, "fluentd_host": "$master", "invocation": { "module_args": { "kind": "node", "label": [ { "key": "logging-infra-fluentd", "value": "true" } ], "name": "$master", "state": "add" }, "module_name": "oc_label" } } MSG: unsupported parameter for module: label PLAY RECAP ********************************************************************* $master : ok=226 changed=23 unreachable=0 failed=1 Version-Release number of selected component (if applicable): https://github.com/openshift/openshift-ansible/ -b master How reproducible: Always Steps to Reproduce: 1.Deploy logging 3.5.0 stacks by using ansible Actual results: Logging deployment failed Expected results: Logging deployment should succeed Additional info: Ansible log attached
Blocks logging 3.5.0 stacks' deployment using ansible. About 70% scenarios effected.
Remove keyword "TestBlocker" since this can be workarounded by manually scale up curator,es,kibana pods after deployment.
Verified with the code in PR https://github.com/openshift/openshift-ansible/pull/3373 with branch https://github.com/ewolinetz/openshift-ansible/tree/logging_fix_kibana_routes, this issue no longer exist. Will set to verified once PR merged. Please feel free to send this back ON_QA.
PR has been merged
Verified with https://github.com/openshift/openshift-ansible -b master, issue was fixed. Thanks.
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:3438