Bug 1646887
| Summary: | Fail to upgrade system container ocp due to missing required arguments for atomic_container module | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | liujia <jiajliu> |
| Component: | Cluster Version Operator | Assignee: | Scott Dodson <sdodson> |
| Status: | CLOSED ERRATA | QA Contact: | liujia <jiajliu> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 3.11.0 | CC: | aos-bugs, jialiu, jokerman, mmccomas, mvardhan, wmeng |
| Target Milestone: | --- | Keywords: | Regression, TestBlocker |
| Target Release: | 3.11.z | ||
| 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-11-26 15:55:08 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: | |||
Block upgrade test and bug verify against system container ocp Sorry forgot to link the PR. https://github.com/openshift/openshift-ansible/pull/10621 The pr was not merged in latest v3.11.40 In openshift-ansible-3.11.41-1 Verified on openshift-ansible-3.11.41-1.git.0.f711b2d.el7.noarch |
Description of problem: Upgrade against system container ocp from v3.10 to v3.11. Upgrade failed at task TASK [openshift_certificate_expiry : Ensure python dateutil library is present] ********************************************************************************************* task path: /usr/share/ansible/openshift-ansible/roles/openshift_certificate_expiry/tasks/main.yml:2 ... Using module file /usr/lib/python2.7/site-packages/ansible/modules/cloud/atomic/atomic_container.py <x> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -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/564d39a3cc -tt x '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541491042.81-21164426333992/atomic_container.py && sleep 0'"'"'' <x> (1, '\r\n{"msg": "missing required arguments: image, backend", "failed": true, "invocation": {"module_args": {"state": "present", "values": [], "name": "python-dateutil"}}}\r\n', 'Shared connection to x closed.\r\n') ... <x> (0, '', '') fatal: [ec2-54-211-36-153.compute-1.amazonaws.com]: FAILED! => { "changed": false, "invocation": { "module_args": { "name": "python-dateutil", "state": "present", "values": [] } }, "msg": "missing required arguments: image, backend" } to retry, use: --limit @/usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/upgrades/v3_11/upgrade_control_plane.retry Version-Release number of the following components: openshift-ansible-3.11.38-1.git.0.d146f83.el7.noarch ansible-2.6.5-1.el7ae.noarch How reproducible: always Steps to Reproduce: 1. Fresh install ocp v3.10 on atomic host 2. Upgrade above ocp 3. Actual results: Upgrade failed Expected results: Upgrade succeed. Additional info: Please attach logs from ansible-playbook with the -vvv flag