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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content