Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1564098 - etcd3 migrate playbook fails with single master topology due to handler error
etcd3 migrate playbook fails with single master topology due to handler error
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer (Show other bugs)
3.7.0
Unspecified Unspecified
unspecified Severity high
: ---
: 3.7.z
Assigned To: Vadim Rutkovsky
Gaoyun Pei
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-04-05 07:14 EDT by Kenjiro Nakayama
Modified: 2018-07-19 05:02 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-06-27 03:59:12 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:2009 None None None 2018-06-27 03:59 EDT

  None (edit)
Description Kenjiro Nakayama 2018-04-05 07:14:18 EDT
Description of problem:
- When upgrade single master to 3.7,
- It is a same error with bz#1523814, but task is different (this ticket is talking about handler.)

Version-Release number of the following components:
  openshift-ansible-callback-plugins-3.7.23-1.git.0.bc406aa.el7.noarch
  ansible-2.3.1.0-1.el7.noarch
  openshift-ansible-filter-plugins-3.7.23-1.git.0.bc406aa.el7.noarch
  openshift-ansible-roles-3.7.23-1.git.0.bc406aa.el7.noarch
  openshift-ansible-lookup-plugins-3.7.23-1.git.0.bc406aa.el7.noarch
  openshift-ansible-3.7.23-1.git.0.bc406aa.el7.noarch
  openshift-ansible-docs-3.7.23-1.git.0.bc406aa.el7.noarch
  openshift-ansible-playbooks-3.7.23-1.git.0.bc406aa.el7.noarch

Steps to Reproduce:
  1. upgrade openshift-ansible* packages to 3.7
  2. externized embedded etcd per [1]
  3. migrate etcd data v2 to v3

* Steps are described in - https://docs.openshift.com/container-platform/3.7/upgrading/automated_upgrades.html

Actual results:

(upload full logs as private attachment.)

  TASK [openshift_master : yedit] *******************************************************************************************************************************************************************************
  changed: [xxx.example.com]

  RUNNING HANDLER [openshift_master : restart master api] *******************************************************************************************************************************************************
  fatal: [xxx.example.com]: FAILED! => {"changed": false, "failed": true, "msg": "Could not find the requested service atomic-openshift-master-api: host"}

  RUNNING HANDLER [openshift_master : restart master controllers] ***********************************************************************************************************************************************
          to retry, use: --limit @/usr/share/ansible/openshift-ansible/playbooks/byo/openshift-etcd/migrate.retry

  PLAY RECAP ****************************************************************************************************************************************************************************************************
  localhost                  : ok=14   changed=0    unreachable=0    failed=0
  xxx.example.com : ok=94   changed=19   unreachable=0    failed=1
  ... snip ...

Expected results:
- No error
Comment 4 Kenjiro Nakayama 2018-04-05 07:24:10 EDT
I think that bz#1523814 did not catch this issue, because openshift-ansible-3.7.18-1.git.0.a01e769.el7.noarch and ansible-2.4 were used for the test.

`static: true` was introduced by https://github.com/openshift/openshift-ansible/pull/6613 after a01e769.
Comment 7 Vadim Rutkovsky 2018-05-07 05:28:13 EDT
Fix is available in openshift-ansible-3.7.46-1
Comment 8 Gaoyun Pei 2018-05-09 04:21:28 EDT
Verify this bug with openshift-ansible-3.7.46-1.git.0.37f607e.el7.noarch and ansible-2.4.4.0-1.el7ae.noarch.


Setup an ocp-3.6 cluster using etcd v2 data. Migrate etcd v2 to v3 before running upgrade to 3.7. The migration and upgrade both passed.
Comment 10 errata-xmlrpc 2018-06-27 03:59:12 EDT
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:2009

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