Bug 1508734

Summary: Failed to upgrade masters due to installer try to stop atomic-openshift-master-controllers on etcd host
Product: OpenShift Container Platform Reporter: liujia <jiajliu>
Component: Cluster Version OperatorAssignee: Michael Gugino <mgugino>
Status: CLOSED ERRATA QA Contact: liujia <jiajliu>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.7.0CC: aos-bugs, jokerman, mmccomas
Target Milestone: ---   
Target Release: 3.7.0   
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: 2017-11-28 22:20:57 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:
Embargoed:

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