payload: {"action":"closed","issue":{"url":"https://api.github.com/repos/openshift/openshift-ansible/issues/11466","repository_url":"https://api.github.com/repos/openshift/openshift-ansible","labels_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/11466/labels{/name}","comments_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/11466/comments","events_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/11466/events","html_url":"https://github.com/openshift/openshift-ansible/issues/11466","id":429696373,"node_id":"MDU6SXNzdWU0Mjk2OTYzNzM=","number":11466,"title":"Wait for control plane pods to appear","user":{"login":"gonzalo-","id":3194502,"node_id":"MDQ6VXNlcjMxOTQ1MDI=","avatar_url":"https://avatars2.githubusercontent.com/u/3194502?v=4","gravatar_id":"","url":"https://api.github.com/users/gonzalo-","html_url":"https://github.com/gonzalo-","followers_url":"https://api.github.com/users/gonzalo-/followers","following_url":"https://api.github.com/users/gonzalo-/following{/other_user}","gists_url":"https://api.github.com/users/gonzalo-/gists{/gist_id}","starred_url":"https://api.github.com/users/gonzalo-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gonzalo-/subscriptions","organizations_url":"https://api.github.com/users/gonzalo-/orgs","repos_url":"https://api.github.com/users/gonzalo-/repos","events_url":"https://api.github.com/users/gonzalo-/events{/privacy}","received_events_url":"https://api.github.com/users/gonzalo-/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":21,"created_at":"2019-04-05T10:52:54Z","updated_at":"2019-06-25T09:12:42Z","closed_at":"2019-06-25T09:12:42Z","author_association":"NONE","body":"#### Description\r\n\r\nI can't setup a cluster with the Ansible playbooks, it always fails on the pods/certificate thing. I can reach all hosts with the hostname, by dns or with /etc/hosts\r\n\r\n\r\n\r\n##### Version\r\n\r\n```\r\nansible 2.7.9\r\n  config file = /etc/ansible/ansible.cfg\r\n  configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']\r\n  ansible python module location = /usr/lib/python2.7/site-packages/ansible\r\n  executable location = /bin/ansible\r\n  python version = 2.7.5 (default, Oct 30 2018, 23:45:53) [GCC 4.8.5 20150623 (Red Hat 4.8.5-36)]\r\n\r\n# rpm -q openshift-ansible\r\nopenshift-ansible-3.11.37-1.git.0.3b8b341.el7.noarch\r\n\r\n```\r\n\r\n##### Steps To Reproduce\r\n1. ansible-playbook /usr/share/ansible/openshift-ansible/playbooks/prerequisites.yml OK\r\n2. ansible-playbook /usr/share/ansible/openshift-ansible/playbooks/deploy_cluster.yml FAILS\r\n\r\n\r\n##### Expected Results\r\nDescribe what you expected to happen.\r\n\r\n```\r\nCluster intalled\r\n```\r\n\r\n##### Observed Results\r\nDescribe what is actually happening.\r\n\r\n```\r\n# kubectl get pods --namespace=kube-system\r\nUnable to connect to the server: x509: certificate is valid for kubernetes, kubernetes.default, kubernetes.default.svc, kubernetes.default.svc.cluster.local, openshift, openshift.default, openshift.default.svc, openshift.default.svc.cluster.local, openshiftm02, 172.19.201.82, 172.30.0.1, not openshiftm01\r\n\r\n\r\n# openssl x509 -in /etc/etcd/server.crt -text -noout |grep CN\r\n        Subject: CN=openshiftm01\r\n\r\n# openssl x509 -in /etc/etcd/peer.crt -text -noout |grep CN\r\n        Subject: CN=openshiftm01\r\n\r\n\r\nTASK [openshift_control_plane : Report control plane errors] ********************************************************************************************************************************************************\r\nfatal: [openshiftm01.foobar.com]: FAILED! => {\"changed\": false, \"msg\": \"Control plane pods didn't come up\"}\r\nfatal: [openshiftm02.foobar.com]: FAILED! => {\"changed\": false, \"msg\": \"Control plane pods didn't come up\"}\r\n\r\nNO MORE HOSTS LEFT **************************************************************************************************************************************************************************************************\r\n        to retry, use: --limit @/usr/share/ansible/openshift-ansible/playbooks/deploy_cluster.retry\r\n\r\nPLAY RECAP **********************************************************************************************************************************************************************************************************\r\nlocalhost                  : ok=12   changed=0    unreachable=0    failed=0\r\nopenshiftm01.foobar.com : ok=317  changed=47   unreachable=0    failed=1\r\nopenshiftm02.foobar.com : ok=242  changed=40   unreachable=0    failed=1\r\nopenshifts01.foobar.com : ok=107  changed=15   unreachable=0    failed=0\r\nopenshifts02.foobar.com : ok=107  changed=15   unreachable=0    failed=0\r\n\r\n\r\nINSTALLER STATUS ****************************************************************************************************************************************************************************************************\r\nInitialization              : Complete (0:03:05)\r\nHealth Check                : Complete (0:00:52)\r\nNode Bootstrap Preparation  : Complete (0:07:31)\r\netcd Install                : Complete (0:02:47)\r\nLoad Balancer Install       : Complete (0:00:55)\r\nMaster Install              : In Progress (0:27:52)\r\n        This phase can be restarted by running: playbooks/openshift-master/config.yml\r\n\r\n\r\nFailure summary:\r\n\r\n\r\n  1. Hosts:    openshiftm01.foobar.com, openshiftm02.foobar.com\r\n     Play:     Configure masters\r\n     Task:     Report control plane errors\r\n     Message:  Control plane pods didn't come up\r\n\r\n```\r\n\r\n\r\n##### Additional Information\r\n\r\nProvide any additional information which may help us diagnose the\r\nissue.\r\n\r\n```\r\n# cat /etc/redhat-release\r\nCentOS Linux release 7.6.1810 (Core)\r\n\r\n# cat /etc/ansible/hosts\r\n[OSEv3:children]\r\nmasters\r\nnodes\r\netcd\r\nlb\r\n\r\n[OSEv3:vars]\r\nansible_ssh_user=openshift\r\nansible_become=true\r\ndeployment_type=origin\r\nopenshift_deployment_type=origin\r\nopenshift_set_node_ip=true\r\nopenshift_clock_enabled=true\r\n\r\nos_firewall_use_firewalld=True\r\n\r\nopenshift_http_proxy=http://proxy.foobar.com:3128\r\nopenshift_https_proxy=http://proxy.foobar.com:3128\r\nopenshift_no_proxy='.foobar.com,172.30.0.0/16,172.19.201.0/16,openshiftm01,openshiftm02,openshifts01,openshifts02'\r\n\r\nopenshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'true', 'challenge': 'true', 'kind': 'HTPasswdPasswordIdentityProvider'}]\r\n\r\nopenshift_release=v3.11\r\nopenshift_image_tag=v3.11.0\r\n\r\nopenshift_master_default_subdomain=dashboard.foobar.com\r\nopenshift_docker_insecure_registries=172.30.0.0/16\r\n\r\n[masters]\r\nopenshiftm01.foobar.com openshift_schedulable=true containerized=false\r\nopenshiftm02.foobar.com openshift_schedulable=true containerized=false\r\n\r\n[lb]\r\nopenshiftm01.foobar.com\r\n\r\n[etcd]\r\nopenshiftm01.foobar.com\r\nopenshiftm02.foobar.com\r\n\r\n[infras]\r\nopenshiftm01.foobar.com\r\nopenshiftm02.foobar.com\r\n\r\n[nodes]\r\nopenshiftm01.foobar.com openshift_ip=172.19.201.81 openshift_node_group_name='node-config-master-infra'\r\nopenshiftm02.foobar.com openshift_ip=172.19.201.82 openshift_node_group_name='node-config-master-infra'\r\nopenshifts01.foobar.com openshift_ip=172.19.201.83 openshift_node_group_name='node-config-compute'\r\nopenshifts02.foobar.com openshift_ip=172.19.201.84 openshift_node_group_name='node-config-compute'\r\n\r\n\r\n```\r\n"}}
other: {"actor":{"display_login":"gonzalo-"}}