Bug 1654737 - Node Scaleup fails with error "the role 'openshift_master_facts' was not found"
Summary: Node Scaleup fails with error "the role 'openshift_master_facts' was not found"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.9.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.9.z
Assignee: Scott Dodson
QA Contact: sheng.lao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-29 15:00 UTC by Christian Koep
Modified: 2018-11-30 13:51 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-11-30 13:51:07 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Github openshift openshift-ansible issues 10766 None None None 2018-11-29 15:11:38 UTC
Github openshift openshift-ansible pull 10767 None None None 2018-11-29 15:12:06 UTC
Red Hat Knowledge Base (Solution) 3723471 None None None 2018-11-29 15:01:44 UTC

Description Christian Koep 2018-11-29 15:00:54 UTC
The node scaleup playbook fails on OpenShift Container Platform 3.9.51 with the following error:

    ERROR! the role 'openshift_master_facts' was not found [...]

This issue has already been reported [1] and fixed [2] upstream.

I could not find a related BZ for this, so I figured to open one. This should make it easier to track the release of the next errata that will contain the fix.

---

[1] - https://github.com/openshift/openshift-ansible/issues/10766
[2] - https://github.com/openshift/openshift-ansible/pull/10767

Comment 1 Scott Dodson 2018-11-29 15:16:06 UTC
The linked PR is in openshift-ansible-3.9.55-1

Comment 2 sheng.lao 2018-11-30 07:05:05 UTC
Reproduce with openshift-ansible-3.9.51-1.git.0.c4968ca.el7.noarch.rpm
"...
The error appears to have been in 'playbooks/openshift-node/scaleup.yml': line 42, column 5, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

  roles:
  - openshift_master_facts
    ^ here
...
"

Verify with openshift-ansible-3.9.55-1.git.0.e30645d.el7.noarch.rpm
1. Successfully Scale-up node  
2. new app on the new node
# oc get node --show-labels 
NAME                            STATUS    ROLES     AGE       VERSION             LABELS
ip-172-18-10-115.ec2.internal   Ready     compute   12m       v1.9.1+a0ce1bc657   ... role=new_node ...

# oc get pod
nodejs-mongodb-example-2-tk54t   1/1       Running     0          8m

# oc get pod nodejs-mongodb-example-2-tk54t -o yaml | grep -A 1 nodeSelector:
  nodeSelector:
    role: new_node


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