Bug 1401802 - upgrade failed for service_signer_cert_stat checking
Summary: upgrade failed for service_signer_cert_stat checking
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Cluster Version Operator
Version: 3.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Scott Dodson
QA Contact: Anping Li
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-06 06:53 UTC by Anping Li
Modified: 2016-12-06 10:25 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-06 10:25:42 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Anping Li 2016-12-06 06:53:14 UTC
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:

Comment 1 Anping Li 2016-12-06 10:25:42 UTC
I think I used the incorrect inventory file. so close it.


Note You need to log in before you can comment on or make changes to this bug.