{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/openshift-ansible/issues/8229","repository_url":"https://api.github.com/repos/openshift/openshift-ansible","labels_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/8229/labels{/name}","comments_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/8229/comments","events_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/8229/events","html_url":"https://github.com/openshift/openshift-ansible/issues/8229","id":319598393,"number":8229,"title":"Crashlooping Openshift-ansible installation","user":{"login":"megastallman","id":8629352,"avatar_url":"https://avatars2.githubusercontent.com/u/8629352?v=4","gravatar_id":"","url":"https://api.github.com/users/megastallman","html_url":"https://github.com/megastallman","followers_url":"https://api.github.com/users/megastallman/followers","following_url":"https://api.github.com/users/megastallman/following{/other_user}","gists_url":"https://api.github.com/users/megastallman/gists{/gist_id}","starred_url":"https://api.github.com/users/megastallman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/megastallman/subscriptions","organizations_url":"https://api.github.com/users/megastallman/orgs","repos_url":"https://api.github.com/users/megastallman/repos","events_url":"https://api.github.com/users/megastallman/events{/privacy}","received_events_url":"https://api.github.com/users/megastallman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-05-02T15:20:22Z","updated_at":"2018-05-02T15:38:13Z","closed_at":null,"author_association":"NONE","body":"#### Description\r\nI'm trying to create a 3-master + 1 node Openshift Origin deployment with ansible playbooks. We use an external Haproxy-based load balancer. When trying to get the console, I see the white page after accepting the certificate. Nothing else works. \r\n\r\n##### Version\r\nAnsible installer container version: docker.io/openshift/origin-ansible:v3.9\r\n\r\nMy inventory looks like this:\r\n```\r\n[masters]\r\nk8-101.ololo.com\r\nk8-102.ololo.com                                                                                 \r\nk8-103.ololo.com\r\n\r\n[nodes]\r\nk8-101.ololo.com\r\nk8-102.ololo.com\r\nk8-103.ololo.com\r\nk8-104.ololo.com openshift_node_labels=\"{'region': 'infra', 'zone': 'default'}\"\r\n\r\n[etcd]\r\nk8-101.ololo.com\r\nk8-102.ololo.com\r\nk8-103.ololo.com\r\n\r\n# Create an OSEv3 group that contains the masters and nodes groups\r\n[OSEv3:children]\r\nmasters\r\nnodes\r\netcd\r\n\r\n[OSEv3:vars]\r\n\r\nansible_user=root\r\nopenshift_clock_enabled=true\r\nopenshift_deployment_type=origin\r\nopenshift_master_cluster_method=native\r\nopenshift_master_cluster_hostname=matchbox.ololo.com\r\nopenshift_master_cluster_public_hostname=matchbox.ololo.com\r\n```\r\nMy haproxy config looks like this:\r\n```\r\n$ cat /etc/haproxy/haproxy.cfg \r\n# Global settings\r\n#---------------------------------------------------------------------\r\nglobal\r\n    maxconn     20000\r\n    log         /dev/log local0 info\r\n    chroot      /var/lib/haproxy\r\n    pidfile     /var/run/haproxy.pid\r\n    user        haproxy\r\n    group       haproxy\r\n    daemon\r\n\r\n    # turn on stats unix socket\r\n    stats socket /var/lib/haproxy/stats\r\n\r\n#---------------------------------------------------------------------\r\n# common defaults that all the 'listen' and 'backend' sections will\r\n# use if not designated in their block\r\n#---------------------------------------------------------------------\r\ndefaults\r\n    mode                    http\r\n    log                     global\r\n    option                  httplog\r\n    option                  dontlognull\r\n#    option http-server-close\r\n    option forwardfor       except 127.0.0.0/8\r\n    option                  redispatch\r\n    retries                 3\r\n    timeout http-request    10s\r\n    timeout queue           1m\r\n    timeout connect         10s\r\n    timeout client          300s\r\n    timeout server          300s\r\n    timeout http-keep-alive 10s\r\n    timeout check           10s\r\n    maxconn                 20000\r\n\r\nlisten stats\r\n    bind :9000\r\n    mode http\r\n    stats enable\r\n    stats uri /\r\n\r\nfrontend  atomic-openshift-api\r\n    bind *:8443\r\n    default_backend atomic-openshift-api\r\n    mode tcp\r\n    option tcplog\r\n\r\nbackend atomic-openshift-api\r\n    balance source\r\n    mode tcp\r\n    server      master0 10.10.9.95:8443 check\r\n    server      master1 10.10.9.96:8443 check\r\n    server      master2 10.10.9.97:8443 check\r\n```\r\n\r\n##### Steps To Reproduce\r\ndocker run -t -u `id -u` -v $PWD/key:/opt/app-root/src/.ssh/id_rsa:Z -v $PWD/4-node.inventory:/tmp/inventory:Z -e INVENTORY_FILE=/tmp/inventory  -e PLAYBOOK_FILE=playbooks/prerequisites.yml -e OPTS=\"-v\" docker.io/openshift/origin-ansible:v3.9\r\ndocker run -t -u `id -u` -v $PWD/key:/opt/app-root/src/.ssh/id_rsa:Z -v $PWD/4-node.inventory:/tmp/inventory:Z -e INVENTORY_FILE=/tmp/inventory  -e PLAYBOOK_FILE=playbooks/deploy_cluster.yml -e OPTS=\"-v\" docker.io/openshift/origin-ansible:v3.9\r\n\r\n\r\n##### Expected Results\r\nI've expected Openshift to get deployed.\r\n\r\n##### Observed Results\r\nDescribe what is actually happening.\r\n\r\n```\r\n[root@k8-101 ~]# oc --config /etc/origin/master/admin.kubeconfig get pods --all-namespaces\r\nNAMESPACE               NAME                          READY     STATUS             RESTARTS   AGE\r\ndefault                 docker-registry-1-deploy      0/1       Error              0          5d\r\ndefault                 registry-console-1-deploy     0/1       Error              0          5d\r\ndefault                 router-10-deploy              0/1       Error              0          1h\r\ndefault                 router-11-deploy              0/1       Error              0          24m\r\ndefault                 router-3-deploy               0/1       Error              0          5d\r\ndefault                 router-4-deploy               0/1       Error              0          4d\r\ndefault                 router-5-deploy               0/1       Error              0          4d\r\ndefault                 router-6-deploy               0/1       Error              0          4d\r\ndefault                 router-7-deploy               0/1       Error              0          4d\r\ndefault                 router-8-deploy               0/1       Error              0          4d\r\ndefault                 router-9-deploy               0/1       Error              0          1h\r\nlogging                 logging-curator-1-deploy      0/1       Error              0          5d\r\nlogging                 logging-fluentd-9nd96         0/1       CrashLoopBackOff   9          5d\r\nlogging                 logging-fluentd-b7sgq         0/1       CrashLoopBackOff   9          5d\r\nlogging                 logging-fluentd-c9wfh         0/1       CrashLoopBackOff   9          5d\r\nlogging                 logging-fluentd-jlmh4         0/1       CrashLoopBackOff   9          5d\r\nlogging                 logging-kibana-1-deploy       0/1       Error              0          5d\r\nopenshift-web-console   webconsole-84466b9d97-4z764   1/1       Running            0          5d\r\nopenshift-web-console   webconsole-84466b9d97-gh9wv   1/1       Running            0          5d\r\nopenshift-web-console   webconsole-84466b9d97-rzn5d   1/1       Running            0          5d\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/openshift/openshift-ansible/issues/comments/386021967","html_url":"https://github.com/openshift/openshift-ansible/issues/8229#issuecomment-386021967","issue_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/8229","id":386021967,"user":{"login":"vrutkovs","id":114501,"avatar_url":"https://avatars3.githubusercontent.com/u/114501?v=4","gravatar_id":"","url":"https://api.github.com/users/vrutkovs","html_url":"https://github.com/vrutkovs","followers_url":"https://api.github.com/users/vrutkovs/followers","following_url":"https://api.github.com/users/vrutkovs/following{/other_user}","gists_url":"https://api.github.com/users/vrutkovs/gists{/gist_id}","starred_url":"https://api.github.com/users/vrutkovs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vrutkovs/subscriptions","organizations_url":"https://api.github.com/users/vrutkovs/orgs","repos_url":"https://api.github.com/users/vrutkovs/repos","events_url":"https://api.github.com/users/vrutkovs/events{/privacy}","received_events_url":"https://api.github.com/users/vrutkovs/received_events","type":"User","site_admin":false},"created_at":"2018-05-02T15:38:13Z","updated_at":"2018-05-02T15:38:13Z","author_association":"CONTRIBUTOR","body":"Sorry, missed that part.\r\n\r\nWhat's in `oc --config /etc/origin/master/admin.kubeconfig describe router-3-deploy -n default` and `oc --config /etc/origin/master/admin.kubeconfig logs router-3-deploy`?"}}
{"actor":{"display_login":"vrutkovs"}}