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

Nodes are not getting labelled at install #305

Closed
chmouel opened this issue Jun 25, 2015 · 5 comments
Closed

Nodes are not getting labelled at install #305

chmouel opened this issue Jun 25, 2015 · 5 comments
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@chmouel
Copy link
Member

chmouel commented Jun 25, 2015

I have this in my /etc/ansible/hosts :

[nodes]
master.enoshift.com openshift_node_labels="{'region': 'infra', 'zone': 'default'}" openshift_hostname=master.enoshift.com openshift_public_hostname=enoshift.com
node1.enoshift.com openshift_node_labels="{'region': 'primary', 'zone': 'east'}" openshift_hostname=node1.enoshift.com openshift_public_hostname=node1.enoshift.com
node2.enoshift.com openshift_node_labels="{'region': 'primary', 'zone': 'west'}" openshift_hostname=node2.enoshift.com openshift_public_hostname=node2.enoshift.com

and after install when running a oc get nodes my nodes are not getting labelled

PLAY RECAP ********************************************************************
localhost                  : ok=5    changed=0    unreachable=0    failed=0
master.enoshift.com    : ok=94   changed=38   unreachable=0    failed=0
node1.enoshift.com     : ok=43   changed=19   unreachable=0    failed=0
node2.enoshift.com     : ok=43   changed=19   unreachable=0    failed=0

root@master:~/openshift-ansible$ oc get nodes                                                                                                                           [
NAME                      LABELS                                           STATUS
master.enoshift.com   kubernetes.io/hostname=master.enoshift.com   Ready
node1.enoshift.com    kubernetes.io/hostname=node1.enoshift.com    Ready
node2.enoshift.com    kubernetes.io/hostname=node2.enoshift.com    Ready

Thanks

@pravisankar
Copy link

/cc @jwhonce

@jwhonce jwhonce self-assigned this Jun 29, 2015
@jwhonce jwhonce added the kind/bug Categorizes issue or PR as related to a bug. label Jun 29, 2015
@aveshagarwal
Copy link
Contributor

I am also seeing the same issue.

@brenton
Copy link
Contributor

brenton commented Jul 10, 2015

@spinolacastro
Copy link
Contributor

wshearn added a commit that referenced this issue Aug 13, 2015
@jwhonce jwhonce assigned brenton and unassigned jwhonce Oct 30, 2015
@brenton
Copy link
Contributor

brenton commented Oct 30, 2015

This should be reolved thanks to @spinolacastro. Let us know if that's not the case.

@brenton brenton closed this as completed Oct 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

6 participants