Why are regions and zone labels not getting assigned by the ansible even if the entries are made in the /etc/ansible/hosts ?

Solution Verified - Updated -

Issue

  • The region and zone label entries don't get assigned to the node by the ansible even if the entries are made in the /etc/ansible/hosts
[root@ose3-master ~]# oc get nodes
NAME                      LABELS                                           STATUS
ose3-master.example.com   kubernetes.io/hostname=ose3-master.example.com   Ready
ose3-node1.example.com    kubernetes.io/hostname=ose3-node1.example.com    Ready
ose3-node2.example.com    kubernetes.io/hostname=ose3-node2.example.com    Ready
  • Nodes not labeled during installation in Openshift.
  • Nodes do not get labelled with ansible installation

Environment

  • Openshift v3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.