Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No schedulable nodes found matching node selector for Cluster Monitoring Operator - 'node-role.kubernetes.io/infra=true' #5

Closed
vorburger opened this issue Dec 10, 2018 · 1 comment

Comments

@vorburger
Copy link
Owner

With #4 "solved" (worked around...), this is up next:

TASK [openshift_control_plane : Ensure that Cluster Monitoring Operator has nodes to run on] ********************************************************************************
Monday 10 December 2018  18:56:05 +0000 (0:00:00.504)       0:09:07.201 ******* 
fatal: [192.168.0.11]: FAILED! => {
    "assertion": false, 
    "changed": false, 
    "evaluated_to": false, 
    "msg": "No schedulable nodes found matching node selector for Cluster Monitoring Operator - 'node-role.kubernetes.io/infra=true'"
}

Failure summary:

  1. Hosts:    192.168.0.11
     Play:     Configure Cluster Monitoring Operator
     Task:     Ensure that Cluster Monitoring Operator has nodes to run on
     Message:  No schedulable nodes found matching node selector for Cluster Monitoring Operator - 'node-role.kubernetes.io/infra=true'
@vorburger
Copy link
Owner Author

This is because at least one of the nodes needs to be a openshift_node_group_name='node-config-infra' instead of a openshift_node_group_name='node-config-compute', and 0f1e613 fixed this for me.

PS: At first I tought an infra node is special and won't host normal workload pod containers later, and I was looking for a way to mark a node to be BOTH a compute and an infra for a moment. But seeing compute,infra for the 2nd node in this output makes me think this is probably not so and it's fine:

[centos@openshift-master ~]$ oc get nodes
NAME                        STATUS    ROLES           AGE       VERSION
openshift-master.rdocloud   Ready     master          2d        v1.11.0+d4cacc0
openshift-node1.rdocloud    Ready     compute         2d        v1.11.0+d4cacc0
openshift-node2.rdocloud    Ready     compute,infra   2d        v1.11.0+d4cacc0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant