| Summary: | upgrade failed for service_signer_cert_stat checking | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Anping Li <anli> |
| Component: | Cluster Version Operator | Assignee: | Scott Dodson <sdodson> |
| Status: | CLOSED NOTABUG | QA Contact: | Anping Li <anli> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.4.0 | CC: | aos-bugs, jokerman, mmccomas |
| 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-12-06 10:25:42 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: | |
I think I used the incorrect inventory file. so close it. |
Description of problem: The upgrade faield for service_signer_cert status checking in create_service_signer_cert.yml Version-Release number of selected component (if applicable): atomic-openshift-3.4.0.23-1.git.0.24b1a58.el7.x86_64 How reproducible: always Steps to Reproduce: 1. install OCP 3.3 2. upgrade to OCP 3.4 Actual results: PLAY [Set master embedded_etcd fact] ******************************************* PLAY [Upgrade master packages] ************************************************* PLAY [Determine if service signer cert must be created] ************************ PLAY [Create local temp directory for syncing certs] *************************** TASK [Create local temp directory for syncing certs] *************************** task path: /usr/share/ansible/openshift-ansible/playbooks/common/openshift-cluster/upgrades/create_service_signer_cert.yml:8 fatal: [localhost]: FAILED! => { "failed": true } MSG: The conditional check 'not (hostvars[groups.oo_first_master.0].service_signer_cert_stat.stat.exists | bool)' failed. The error was: error while evaluating conditional (not (hostvars[groups.oo_first_master.0].service_signer_cert_stat.stat.exists | bool)): 'dict object' has no attribute 'service_signer_cert_stat' The error appears to have been in '/usr/share/ansible/openshift-ansible/playbooks/common/openshift-cluster/upgrades/create_service_signer_cert.yml': line 8, column 5, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: tasks: - name: Create local temp directory for syncing certs ^ here to retry, use: --limit @/usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/upgrades/v3_4/upgrade.retry PLAY RECAP ********************************************************************* localhost : ok=12 changed=2 unreachable=0 failed=1 openshift-214.lab.eng.nay.redhat.com : ok=72 changed=3 unreachable=0 failed=1 openshift-220.lab.eng.nay.redhat.com : ok=50 changed=0 unreachable=0 failed=1 Expected results: The upgrade finished without error. Additional info: