Bug 1554707 - Fail to migrate etcd v2 to v3 due to undefined variable openshift_ca_host
Summary: Fail to migrate etcd v2 to v3 due to undefined variable openshift_ca_host
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Cluster Version Operator
Version: 3.6.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 3.6.z
Assignee: Vadim Rutkovsky
QA Contact: liujia
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-13 08:23 UTC by liujia
Modified: 2021-06-10 15:17 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-12 06:03:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:1106 0 None None None 2018-04-12 06:04:58 UTC

Description liujia 2018-03-13 08:23:50 UTC
Description of problem:
Do etcd migration against v3.6 upgraded from v3.6. Migration failed when run openshift_ca role due to undefined variable openshift_ca_host.

TASK [openshift_ca : fail] **************************************************************************************************************************************************
fatal: [x.x.x.x]: FAILED! => {
    "changed": false
}

MSG:

openshift_ca_host variable must be defined for this role


Version-Release number of the following components:
openshift-ansible-3.6.173.0.105-1.git.0.406806c.el7.noarch

How reproducible:
always

Steps to Reproduce:
1. Container install ocp v3.5 with 3 etcds.
2. Upgrade v3.5 to v3.6
3. Migrate etcd v2 to v3

Actual results:
Migrate failed.

Expected results:
Migrate succeed.

Additional info:

Comment 3 Vadim Rutkovsky 2018-03-19 15:39:49 UTC
Created https://github.com/openshift/openshift-ansible/pull/7570 to fix this

Comment 4 liujia 2018-03-20 08:49:10 UTC
Verified on openshift-ansible-3.6.173.0.110-1.git.0.ca81843.el7.noarch. Please change bug status.

Comment 5 Vadim Rutkovsky 2018-03-20 08:55:10 UTC
(In reply to liujia from comment #4)
> Verified on openshift-ansible-3.6.173.0.110-1.git.0.ca81843.el7.noarch.
> Please change bug status.

Done, thanks!

Comment 8 errata-xmlrpc 2018-04-12 06:03:40 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:1106


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