{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/openshift-ansible/issues/6086","repository_url":"https://api.github.com/repos/openshift/openshift-ansible","labels_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/6086/labels{/name}","comments_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/6086/comments","events_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/6086/events","html_url":"https://github.com/openshift/openshift-ansible/issues/6086","id":272886393,"number":6086,"title":"TASK [template_service_broker : Reconcile with RBAC file] fails","user":{"login":"adelton","id":2536912,"avatar_url":"https://avatars2.githubusercontent.com/u/2536912?v=4","gravatar_id":"","url":"https://api.github.com/users/adelton","html_url":"https://github.com/adelton","followers_url":"https://api.github.com/users/adelton/followers","following_url":"https://api.github.com/users/adelton/following{/other_user}","gists_url":"https://api.github.com/users/adelton/gists{/gist_id}","starred_url":"https://api.github.com/users/adelton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adelton/subscriptions","organizations_url":"https://api.github.com/users/adelton/orgs","repos_url":"https://api.github.com/users/adelton/repos","events_url":"https://api.github.com/users/adelton/events{/privacy}","received_events_url":"https://api.github.com/users/adelton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"ewolinetz","id":1427473,"avatar_url":"https://avatars1.githubusercontent.com/u/1427473?v=4","gravatar_id":"","url":"https://api.github.com/users/ewolinetz","html_url":"https://github.com/ewolinetz","followers_url":"https://api.github.com/users/ewolinetz/followers","following_url":"https://api.github.com/users/ewolinetz/following{/other_user}","gists_url":"https://api.github.com/users/ewolinetz/gists{/gist_id}","starred_url":"https://api.github.com/users/ewolinetz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ewolinetz/subscriptions","organizations_url":"https://api.github.com/users/ewolinetz/orgs","repos_url":"https://api.github.com/users/ewolinetz/repos","events_url":"https://api.github.com/users/ewolinetz/events{/privacy}","received_events_url":"https://api.github.com/users/ewolinetz/received_events","type":"User","site_admin":false},"assignees":[{"login":"ewolinetz","id":1427473,"avatar_url":"https://avatars1.githubusercontent.com/u/1427473?v=4","gravatar_id":"","url":"https://api.github.com/users/ewolinetz","html_url":"https://github.com/ewolinetz","followers_url":"https://api.github.com/users/ewolinetz/followers","following_url":"https://api.github.com/users/ewolinetz/following{/other_user}","gists_url":"https://api.github.com/users/ewolinetz/gists{/gist_id}","starred_url":"https://api.github.com/users/ewolinetz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ewolinetz/subscriptions","organizations_url":"https://api.github.com/users/ewolinetz/orgs","repos_url":"https://api.github.com/users/ewolinetz/repos","events_url":"https://api.github.com/users/ewolinetz/events{/privacy}","received_events_url":"https://api.github.com/users/ewolinetz/received_events","type":"User","site_admin":false},{"login":"michaelgugino","id":6255238,"avatar_url":"https://avatars0.githubusercontent.com/u/6255238?v=4","gravatar_id":"","url":"https://api.github.com/users/michaelgugino","html_url":"https://github.com/michaelgugino","followers_url":"https://api.github.com/users/michaelgugino/followers","following_url":"https://api.github.com/users/michaelgugino/following{/other_user}","gists_url":"https://api.github.com/users/michaelgugino/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelgugino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelgugino/subscriptions","organizations_url":"https://api.github.com/users/michaelgugino/orgs","repos_url":"https://api.github.com/users/michaelgugino/repos","events_url":"https://api.github.com/users/michaelgugino/events{/privacy}","received_events_url":"https://api.github.com/users/michaelgugino/received_events","type":"User","site_admin":false}],"milestone":null,"comments":35,"created_at":"2017-11-10T10:26:12Z","updated_at":"2017-12-04T19:21:09Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"#### Description\r\n\r\nProvide a brief description of your issue here. For example:\r\n\r\n> On a multi master install, if the first master goes down we can no\r\n> longer scaleup the cluster with new nodes or masters.\r\nOn a RHEL 7.4 machine, running\r\n\r\n```\r\nansible-playbook -i ansible-inventory /mnt/tests/OpenShift/Origin/install/dist/openshift-ansible/playbooks/byo/config.yml\r\n```\r\n\r\nfails.\r\n\r\n##### Version\r\n\r\nPlease put the following version information in the code block\r\nindicated below.\r\n\r\n* Your ansible version per `ansible --version`\r\n\r\n```\r\nansible 2.4.0.0\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 = /usr/bin/ansible\r\n  python version = 2.7.5 (default, May  3 2017, 07:55:04) [GCC 4.8.5 20150623 (Red Hat 4.8.5-14)]\r\n```\r\n\r\nIf you're operating from a **git clone**:\r\n\r\n* The output of `git describe`\r\n\r\n```\r\nopenshift-ansible-3.7.5-1-4-g34dfb0d\r\n```\r\n\r\nIf you're running from playbooks installed via RPM or\r\n`atomic-openshift-utils`\r\n\r\n* The output of `rpm -q atomic-openshift-utils openshift-ansible`\r\n\r\nPlace the output between the code block below:\r\n\r\nN/A\r\n\r\n##### Steps To Reproduce\r\n1. ansible-playbook -i ansible-inventory /mnt/tests/OpenShift/Origin/install/dist/openshift-ansible/playbooks/byo/config.yml\r\n\r\n\r\n##### Expected Results\r\nDescribe what you expected to happen.\r\n\r\nNo error, ansible-playbook passing and all-on-one OpenShift setup created.\r\n\r\n##### Observed Results\r\nDescribe what is actually happening.\r\n\r\n```\r\nTASK [template_service_broker : Set default image variables based on deployment type] ***\r\nok: [master.example.com] => (item=/mnt/tests/OpenShift/Origin/install/dist/openshift-ansible/roles/template_service_broker/vars/default_images.yml)\r\n\r\nTASK [template_service_broker : set template_service_broker facts] *************\r\nok: [master.example.com]\r\n\r\nTASK [template_service_broker : oc_project] ************************************\r\nchanged: [master.example.com]\r\n\r\nTASK [template_service_broker : command] ***************************************\r\nok: [master.example.com]\r\n\r\nTASK [template_service_broker : copy] ******************************************\r\nchanged: [master.example.com] => (item=apiserver-template.yaml)\r\nchanged: [master.example.com] => (item=rbac-template.yaml)\r\nchanged: [master.example.com] => (item=template-service-broker-registration.yaml)\r\nchanged: [master.example.com] => (item=apiserver-config.yaml)\r\n\r\nTASK [template_service_broker : yedit] *****************************************\r\nok: [master.example.com]\r\n\r\nTASK [template_service_broker : slurp] *****************************************\r\nok: [master.example.com]\r\n\r\nTASK [template_service_broker : Apply template file] ***************************\r\nchanged: [master.example.com]\r\n\r\nTASK [template_service_broker : Reconcile with RBAC file] **********************\r\nfatal: [master.example.com]: FAILED! => {\"changed\": true, \"cmd\": \"oc process -f \\\"/tmp/tsb-ansible-KmuHhc/rbac-template.yaml\\\" | oc auth reconcile -f -\", \"delta\": \"0:00:00.700965\", \"end\": \"2017-11-09 22:50:01.727255\", \"failed\": true, \"msg\": \"non-zero return code\", \"rc\": 1, \"start\": \"2017-11-09 22:50:01.026290\", \"stderr\": \"Error: unknown shorthand flag: 'f' in -f\\n\\n\\nUsage:\\n  oc auth [options]\\n\\nAvailable Commands:\\n  can-i       Check whether an action is allowed\\n\\nUse \\\"oc <command> --help\\\" for more information about a given command.\\nUse \\\"oc options\\\" for a list of global command-line options (applies to all commands).\", \"stderr_lines\": [\"Error: unknown shorthand flag: 'f' in -f\", \"\", \"\", \"Usage:\", \"  oc auth [options]\", \"\", \"Available Commands:\", \"  can-i       Check whether an action is allowed\", \"\", \"Use \\\"oc <command> --help\\\" for more information about a given command.\", \"Use \\\"oc options\\\" for a list of global command-line options (applies to all commands).\"], \"stdout\": \"\", \"stdout_lines\": []}\r\n\tto retry, use: --limit @/mnt/tests/OpenShift/Origin/install/dist/openshift-ansible/playbooks/byo/config.retry\r\n\r\nPLAY RECAP *********************************************************************\r\nmaster.example.com : ok=624  changed=263  unreachable=0    failed=1   \r\nlocalhost                  : ok=12   changed=0    unreachable=0    failed=0   \r\n\r\n\r\nINSTALLER STATUS ***************************************************************\r\nInitialization             : Complete\r\nHealth Check               : Complete\r\netcd Install               : Complete\r\nMaster Install             : Complete\r\nMaster Additional Install  : Complete\r\nNode Install               : Complete\r\nHosted Install             : Complete\r\nService Catalog Install    : In Progress\r\n\tThis phase can be restarted by running: playbooks/byo/openshift-cluster/service-catalog.yml\r\n\r\n\r\n\r\nFailure summary:\r\n\r\n\r\n  1. Hosts:    master.example.com\r\n     Play:     Service Catalog\r\n     Task:     Reconcile with RBAC file\r\n     Message:  non-zero return code\r\n```\r\n\r\nFor long output or logs, consider using a [gist](https://gist.github.com/)\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* Your operating system and version, ie: RHEL 7.2, Fedora 23 (`$ cat /etc/redhat-release`)\r\n```\r\nRed Hat Enterprise Linux Server release 7.4 (Maipo)\r\n```\r\n* Your inventory file (especially any non-standard configuration parameters)\r\n```\r\n[OSEv3:children]\r\nmasters\r\nnodes\r\n\r\n[OSEv3:vars]\r\nansible_ssh_user=root\r\ndeployment_type=origin\r\nopenshift_disable_check=memory_availability,docker_storage,disk_availability,package_version\r\n\r\nosm_cluster_network_cidr=10.128.0.0/14\r\nopenshift_portal_net=172.30.0.0/16\r\nosm_host_subnet_length=9\r\n\r\nopenshift_router_selector='node-router=true'\r\nopenshift_registry_selector='node-registry=true'\r\n\r\nopenshift_master_identity_providers=[{'name': 'allow_all', 'login': 'true', 'challenge': 'true', 'kind': 'AllowAllPasswordIdentityProvider'}]\r\n\r\n[masters]\r\nmaster.example.com\r\n\r\n[etcd]\r\nmaster.example.com\r\n\r\n[nodes]\r\nmaster.example.com openshift_schedulable=true openshift_node_labels=\"{ 'node-router': 'true', 'node-registry': 'true', 'node-app': 'true' }\"\r\n```\r\n* Sample code, etc\r\n\r\nThe failure started to show up on 2017-11-09 morning and is determinstic. Previous runs up until 2017-11-07 evening were passing."},"comment":{"url":"https://api.github.com/repos/openshift/openshift-ansible/issues/comments/349075465","html_url":"https://github.com/openshift/openshift-ansible/issues/6086#issuecomment-349075465","issue_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/6086","id":349075465,"user":{"login":"adelton","id":2536912,"avatar_url":"https://avatars2.githubusercontent.com/u/2536912?v=4","gravatar_id":"","url":"https://api.github.com/users/adelton","html_url":"https://github.com/adelton","followers_url":"https://api.github.com/users/adelton/followers","following_url":"https://api.github.com/users/adelton/following{/other_user}","gists_url":"https://api.github.com/users/adelton/gists{/gist_id}","starred_url":"https://api.github.com/users/adelton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adelton/subscriptions","organizations_url":"https://api.github.com/users/adelton/orgs","repos_url":"https://api.github.com/users/adelton/repos","events_url":"https://api.github.com/users/adelton/events{/privacy}","received_events_url":"https://api.github.com/users/adelton/received_events","type":"User","site_admin":false},"created_at":"2017-12-04T19:21:09Z","updated_at":"2017-12-04T19:21:09Z","author_association":"CONTRIBUTOR","body":"vendor/k8s.io/kubernetes/pkg/kubectl/cmd/auth/reconcile.go is new in OpenShift 3.7."}}
{"actor":{"display_login":"adelton"}}