Bug 1632886
| Summary: | Should not run openshift-sdn exec commands when setup openshift_use_openshift_sdn: False | ||||||
|---|---|---|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Weibin Liang <weliang> | ||||
| Component: | Installer | Assignee: | Scott Dodson <sdodson> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | Johnny Liu <jialiu> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 3.11.0 | CC: | aos-bugs, jialiu, jokerman, mmccomas, vrutkovs | ||||
| 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: | 2018-09-26 14:49:54 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: |
|
||||||
That happens when `extra-ansible/post_actions.yaml` is being run, its not an openshift-ansible playbook @vadim, Could you let me how to disable running for `extra-ansible/post_actions.yaml` during installation? Thanks! Johhny, this seems to be some QA playbook failing here Yeah, it is a QE playbooks failure, this should be closed as NOTABUG. @Weibin Liang, pls send me your jenkins job via email. |
Created attachment 1486885 [details] Installation console logs Description of problem: With openshift_use_openshift_sdn: False, openshift-ansible still try to run "oc -n openshift-sdn exec -- rpm -q openvswitch" which cause installation failed. Version-Release number of the following components: [root@ip-172-18-9-9 ~]# rpm -q openshift-ansible package openshift-ansible is not installed [root@ip-172-18-9-9 ~]# rpm -q ansible ansible-2.4.2.0-2.el7.noarch [root@ip-172-18-9-9 ~]# ansible --version ansible 2.4.2.0 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /bin/ansible python version = 2.7.5 (default, May 31 2018, 09:41:32) [GCC 4.8.5 20150623 (Red Hat 4.8.5-28)] [root@ip-172-18-9-9 ~]# How reproducible: Always. Steps to Reproduce: 1. Setup: openshift_ansible_vars: openshift_use_openshift_sdn: False os_sdn_network_plugin_name: cni openshift_cluster_monitoring_operator_install: false openshift_enable_service_catalog: false openshift_web_console_install: false openshift_console_install: false 2. Run openshift-ansible installation Actual results: TASK [getting openvswitch version] ********************************************* Tuesday 25 September 2018 21:47:33 +0800 (0:00:01.893) 0:01:19.710 ***** fatal: [ec2-35-171-188-9.compute-1.amazonaws.com]: FAILED! => {"changed": true, "cmd": "oc -n openshift-sdn exec -- rpm -q openvswitch", "delta": "0:00:00.248375", "end": "2018-09-25 09:47:36.653117", "msg": "non-zero return code", "rc": 1, "start": "2018-09-25 09:47:36.404742", "stderr": "error: expected 'exec POD_NAME COMMAND [ARG1] [ARG2] ... [ARGN]'.\nPOD_NAME and COMMAND are required arguments for the exec command\nSee 'oc exec -h' for help and examples.", "stderr_lines": ["error: expected 'exec POD_NAME COMMAND [ARG1] [ARG2] ... [ARGN]'.", "POD_NAME and COMMAND are required arguments for the exec command", "See 'oc exec -h' for help and examples."], "stdout": "", "stdout_lines": []} to retry, use: --limit @/home/slave5/workspace/Launch Environment Flexy/private-openshift-misc/v3-launch-templates/functionality-testing/aos-3_11/extra-ansible/post_actions.retry Expected results: Additional info: Installation should skip check openvswitch version