{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/openshift-ansible/issues/319","labels_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/319/labels{/name}","comments_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/319/comments","events_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/319/events","html_url":"https://github.com/openshift/openshift-ansible/pull/319","id":92197956,"number":319,"title":"fixes for node scheduleability","user":{"login":"brenton","id":832,"avatar_url":"https://avatars.githubusercontent.com/u/832?v=3","gravatar_id":"","url":"https://api.github.com/users/brenton","html_url":"https://github.com/brenton","followers_url":"https://api.github.com/users/brenton/followers","following_url":"https://api.github.com/users/brenton/following{/other_user}","gists_url":"https://api.github.com/users/brenton/gists{/gist_id}","starred_url":"https://api.github.com/users/brenton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brenton/subscriptions","organizations_url":"https://api.github.com/users/brenton/orgs","repos_url":"https://api.github.com/users/brenton/repos","events_url":"https://api.github.com/users/brenton/events{/privacy}","received_events_url":"https://api.github.com/users/brenton/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2015-06-30T20:55:52Z","updated_at":"2015-07-07T23:36:31Z","closed_at":"2015-07-07T15:47:07Z","pull_request":{"url":"https://api.github.com/repos/openshift/openshift-ansible/pulls/319","html_url":"https://github.com/openshift/openshift-ansible/pull/319","diff_url":"https://github.com/openshift/openshift-ansible/pull/319.diff","patch_url":"https://github.com/openshift/openshift-ansible/pull/319.patch"},"body":"@detiber, PTAL"},"comment":{"url":"https://api.github.com/repos/openshift/openshift-ansible/issues/comments/119374507","html_url":"https://github.com/openshift/openshift-ansible/pull/319#issuecomment-119374507","issue_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/319","id":119374507,"user":{"login":"dlbewley","id":711101,"avatar_url":"https://avatars.githubusercontent.com/u/711101?v=3","gravatar_id":"","url":"https://api.github.com/users/dlbewley","html_url":"https://github.com/dlbewley","followers_url":"https://api.github.com/users/dlbewley/followers","following_url":"https://api.github.com/users/dlbewley/following{/other_user}","gists_url":"https://api.github.com/users/dlbewley/gists{/gist_id}","starred_url":"https://api.github.com/users/dlbewley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlbewley/subscriptions","organizations_url":"https://api.github.com/users/dlbewley/orgs","repos_url":"https://api.github.com/users/dlbewley/repos","events_url":"https://api.github.com/users/dlbewley/events{/privacy}","received_events_url":"https://api.github.com/users/dlbewley/received_events","type":"User","site_admin":false},"created_at":"2015-07-07T23:36:31Z","updated_at":"2015-07-07T23:36:31Z","body":"@detiber I finally figured out that NetworkManager is controlling enp0s3 and vagrant statically configures enp0s8.\r\n\r\nunless you restart NetworkManager it will not realize enp0s8 has been configured that way and it will remove the IP when DHCP fails for that interface.\r\n\r\nif you restart NetworkManager or reboot the node before proceeding then networking sticks as expected. i finally understand why things seemed to half work previously.\r\n\r\nAt this point I still see:\r\n\r\n```\r\nPLAY [Set scheduleability] ****************************************************\r\n\r\nGATHERING FACTS ***************************************************************\r\nok: [master]\r\n\r\nTASK: [set_fact ] *************************************************************\r\nok: [master]\r\n\r\nTASK: [openshift_manage_node | Handle unscheduleable node] ********************\r\nskipping: [master]\r\n\r\nTASK: [openshift_manage_node | Handle scheduleable node] **********************\r\nfailed: [master] => (item=ose3-node1.example.com) => {\"changed\": true, \"cmd\": [\"oadm\", \"manage-node\", \"ose3-node1.example.com\", \"--schedulable=true\"], \"delta\": \"0:00:00.359376\", \"end\": \"2015-07-07 23:28:36.050071\", \"item\": \"ose3-node1.example.com\", \"rc\": 1, \"start\": \"2015-07-07 23:28:35.690695\", \"warnings\": []}\r\nstderr: error: No nodes found\r\nfailed: [master] => (item=ose3-node2.example.com) => {\"changed\": true, \"cmd\": [\"oadm\", \"manage-node\", \"ose3-node2.example.com\", \"--schedulable=true\"], \"delta\": \"0:00:00.354480\", \"end\": \"2015-07-07 23:28:36.698472\", \"item\": \"ose3-node2.example.com\", \"rc\": 1, \"start\": \"2015-07-07 23:28:36.343992\", \"warnings\": []}\r\nstderr: error: No nodes found\r\n\r\nFATAL: all hosts have already failed -- aborting\r\n\r\nPLAY RECAP ********************************************************************\r\n           to retry, use: --limit @/Users/dlbewley/config.retry\r\n\r\nlocalhost                  : ok=5    changed=0    unreachable=0    failed=0\r\nmaster                     : ok=59   changed=27   unreachable=0    failed=1\r\nnode1                      : ok=46   changed=20   unreachable=0    failed=0\r\nnode2                      : ok=46   changed=20   unreachable=0    failed=0\r\n```\r\n\r\nEven though this works:\r\n\r\n```\r\n[vagrant@ose3-master ~]$ oc get nodes\r\nNAME                     LABELS                                          STATUS\r\nose3-node1.example.com   kubernetes.io/hostname=ose3-node1.example.com   Ready\r\nose3-node2.example.com   kubernetes.io/hostname=ose3-node2.example.com   Ready\r\n[vagrant@ose3-master ~]$ oadm manage-node ose3-node2.example.com --schedulable=true\r\nNAME                     LABELS                                          STATUS\r\nose3-node2.example.com   kubernetes.io/hostname=ose3-node2.example.com   Ready\r\n[vagrant@ose3-master ~]$ oadm manage-node ose3-node1.example.com --schedulable=true\r\nNAME                     LABELS                                          STATUS\r\nose3-node1.example.com   kubernetes.io/hostname=ose3-node1.example.com   Ready\r\n```"}}