Bug 1508734 - Failed to upgrade masters due to installer try to stop atomic-openshift-master-controllers on etcd host
Summary: Failed to upgrade masters due to installer try to stop atomic-openshift-maste...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Cluster Version Operator
Version: 3.7.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.7.0
Assignee: Michael Gugino
QA Contact: liujia
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-02 06:18 UTC by liujia
Modified: 2017-11-28 22:20 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-11-28 22:20:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:3188 0 normal SHIPPED_LIVE Moderate: Red Hat OpenShift Container Platform 3.7 security, bug, and enhancement update 2017-11-29 02:34:54 UTC

Description liujia 2017-11-02 06:18:24 UTC
Description of problem:
Upgrade masters against ocp with dedicated etcd from v3.6 to v3.7, upgrade failed at task [Stop atomic-openshift-master-controllers] due to wrong hosts group.

TASK [Stop atomic-openshift-master-controllers] *****************************************************************************************************************************
fatal: [x.x.x.x]: FAILED! => {"changed": false, "failed": true, "msg": "Could not find the requested service atomic-openshift-master-controllers: host"}

# cat playbooks/common/openshift-cluster/upgrades/v3_7/upgrade_control_plane.yml | grep -A 3 "Cycle all controller"
- name: Cycle all controller services to force new leader election mode
  hosts: oo_etcd_to_config
  gather_facts: no
  tasks:



Version-Release number of the following components:
atomic-openshift-utils-3.7.0-0.189.0.git.0.d497c5e.el7.noarch

How reproducible:
always

Steps to Reproduce:
1. Run upgrade_control_plane.yml against ocp with dedicated etcd
2.
3.

Actual results:
Upgrade masters failed.

Expected results:
Upgrade masters succeed.

Additional info:
Refer to https://bugzilla.redhat.com/show_bug.cgi?id=1504515 and https://github.com/openshift/openshift-ansible/pull/5844/files

Comment 1 Michael Gugino 2017-11-03 12:54:57 UTC
PR Created: https://github.com/openshift/openshift-ansible/pull/5999

Comment 3 liujia 2017-11-06 01:56:25 UTC
Verified on openshift-ansible-3.7.0-0.194.0.git.0.e8af207.el7.noarch.

Comment 6 errata-xmlrpc 2017-11-28 22:20:57 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/RHSA-2017:3188


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