Bug 1365770
| Summary: | Installation failed using rpm playbook + anisble-2.2 | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Johnny Liu <jialiu> |
| Component: | Installer | Assignee: | Jason DeTiberus <jdetiber> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Gan Huang <ghuang> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 3.3.0 | CC: | aos-bugs, bleanhar, ghuang, jokerman, mmccomas, tdawson |
| 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: | 2016-09-26 13:48:50 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: | |||
Re-test this bug with 3.3/2016-08-10.5 puddle, no such issue now. Once move this bug to ON_QA, will verify it. Verified with openshift-ansible-3.3.9-1.git.0.ed8fd1b.el7.noarch.rpm ansible-2.2.0-0.3.prerelease.el7.noarch |
Description of problem: Failed upon the following step: ... TASK [openshift_facts : Gather Cluster facts and set is_containerized if needed] *** Wednesday 10 August 2016 02:31:48 -0400 (0:00:12.151) 0:00:18.741 ****** fatal: [openshift-146.lab.eng.nay.redhat.com]: FAILED! => {"changed": false, "failed": true, "module_stderr": "", "module_stdout": "Traceback (most recent call last):\r\n File \"/tmp/ansible_nzziCQ/ansible_module_openshift_facts.py\", line 2150, in <module>\r\n main()\r\n File \"/tmp/ansible_nzziCQ/ansible_module_openshift_facts.py\", line 2131, in main\r\n protected_facts_to_overwrite)\r\n File \"/tmp/ansible_nzziCQ/ansible_module_openshift_facts.py\", line 1603, in __init__\r\n self.system_facts = ansible_facts(module, ['hardware', 'network', 'virtual', 'facter'])\r\n File \"/tmp/ansible_nzziCQ/ansible_modlib.zip/ansible/module_utils/facts.py\", line 3257, in ansible_facts\r\n File \"/tmp/ansible_nzziCQ/ansible_modlib.zip/ansible/module_utils/facts.py\", line 1002, in populate\r\n File \"/tmp/ansible_nzziCQ/ansible_modlib.zip/ansible/module_utils/facts.py\", line 132, in wrapper\r\nUnboundLocalError: local variable 'seconds' referenced before assignment\r\n", "msg": "MODULE FAILURE", "parsed": false} fatal: [openshift-102.lab.eng.nay.redhat.com]: FAILED! => {"changed": false, "failed": true, "module_stderr": "", "module_stdout": "Traceback (most recent call last):\r\n File \"/tmp/ansible_598moM/ansible_module_openshift_facts.py\", line 2150, in <module>\r\n main()\r\n File \"/tmp/ansible_598moM/ansible_module_openshift_facts.py\", line 2131, in main\r\n protected_facts_to_overwrite)\r\n File \"/tmp/ansible_598moM/ansible_module_openshift_facts.py\", line 1603, in __init__\r\n self.system_facts = ansible_facts(module, ['hardware', 'network', 'virtual', 'facter'])\r\n File \"/tmp/ansible_598moM/ansible_modlib.zip/ansible/module_utils/facts.py\", line 3257, in ansible_facts\r\n File \"/tmp/ansible_598moM/ansible_modlib.zip/ansible/module_utils/facts.py\", line 1002, in populate\r\n File \"/tmp/ansible_598moM/ansible_modlib.zip/ansible/module_utils/facts.py\", line 132, in wrapper\r\nUnboundLocalError: local variable 'seconds' referenced before assignment\r\n", "msg": "MODULE FAILURE", "parsed": false} ... Version-Release number of selected component (if applicable): 3.3/2016-08-09.3 ansible-2.2.0-0.2.pi.el7.noarch.rpm openshift-ansible-3.3.8-1.git.0.91405ce.el7.noarch.rpm How reproducible: Always Steps to Reproduce: 1. Run an installation using 3.3/2016-08-09.3 puddle 2. 3. Actual results: installation failed Expected results: installation succeed Additional info: When using openshift-ansible git repo's master branch + ansible-2.2, it works well.