{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/openshift-ansible/issues/364","labels_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/364/labels{/name}","comments_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/364/comments","events_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/364/events","html_url":"https://github.com/openshift/openshift-ansible/issues/364","id":95764262,"number":364,"title":"openshift_master_ca missing openshift repo","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},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-07-17T23:27:28Z","updated_at":"2015-07-20T15:50:22Z","closed_at":"2015-07-20T15:50:22Z","body":"Fails on _Install the OpenShift package for admin tooling_\r\n\r\nProvisioning in vagrant fails when trying to install openshift because maxamillion repo is missing.\r\n\r\n```\r\nPYTHONUNBUFFERED=1 ANSIBLE_FORCE_COLOR=true ANSIBLE_HOST_KEY_CHECKING=false ANSIBLE_SSH_ARGS='-o UserKnownHostsFile=/dev/null -o ControlMaster=auto -o ControlPersist=60s' ansible-playbook --private-key=/Users/dlbewley/.vagrant.d/insecure_private_key --user=vagrant --connection=ssh --limit='all' --inventory-file=/Users/dlbewley/src/openshift-ansible/.vagrant/provisioners/ansible/inventory --extra-vars={\"openshift_deployment_type\":\"origin\"} --sudo playbooks/byo/config.yml\r\n\r\nPLAY [Populate config host groups] ********************************************\r\n\r\nTASK: [fail ] *****************************************************************\r\nskipping: [localhost]\r\n\r\nTASK: [fail ] *****************************************************************\r\nskipping: [localhost]\r\n\r\nTASK: [fail ] *****************************************************************\r\nskipping: [localhost]\r\n\r\nTASK: [Evaluate oo_etcd_to_config] ********************************************\r\nskipping: [localhost]\r\n\r\nTASK: [Evaluate oo_masters_to_config] *****************************************\r\nok: [localhost] => (item=master)\r\n\r\nTASK: [Evaluate oo_nodes_to_config] *******************************************\r\nok: [localhost] => (item=node1)\r\nok: [localhost] => (item=node2)\r\n\r\nTASK: [Evaluate oo_first_etcd] ************************************************\r\nskipping: [localhost]\r\n\r\nTASK: [Evaluate oo_first_master] **********************************************\r\nok: [localhost]\r\n\r\nPLAY [Set etcd facts needed for generating certs] *****************************\r\nskipping: no hosts matched\r\n\r\nPLAY [Create temp directory for syncing certs] ********************************\r\n\r\nTASK: [Create local temp directory for syncing certs] *************************\r\nok: [localhost -> 127.0.0.1]\r\n\r\nPLAY [Configure etcd certificates] ********************************************\r\nskipping: no hosts matched\r\n\r\nPLAY [Configure etcd hosts] ***************************************************\r\nskipping: no hosts matched\r\n\r\nPLAY [Delete temporary directory on localhost] ********************************\r\n\r\nTASK: [file name={{ g_etcd_mktemp.stdout }} state=absent] *********************\r\nok: [localhost]\r\n\r\nPLAY [Set master facts and determine if external etcd certs need to be generated] ***\r\n\r\nGATHERING FACTS ***************************************************************\r\nok: [master]\r\n\r\nTASK: [set_fact ] *************************************************************\r\nok: [master]\r\n\r\nTASK: [openshift_facts | Verify Ansible version is greater than 1.8.0 and not 1.9.0] ***\r\nok: [master]\r\n\r\nTASK: [openshift_facts | Gather OpenShift facts] ******************************\r\nchanged: [master]\r\n\r\nTASK: [openshift_facts ] ******************************************************\r\nchanged: [master] => (item={'local_facts': {'public_hostname': u'', 'hostname': u'', 'deployment_type': u'origin'}, 'role': 'common'})\r\nchanged: [master] => (item={'local_facts': {'console_url': u'', 'api_url': u'', 'cluster_defer_ha': u'', 'cluster_public_hostname': u'', 'public_api_url': u'', 'public_console_url': u'', 'api_use_ssl': u'', 'api_port': u'', 'console_port': u'', 'console_path': u'', 'cluster_hostname': u'', 'console_use_ssl': u''}, 'role': 'master'})\r\n\r\nTASK: [Check status of external etcd certificatees] ***************************\r\nok: [master] => (item=master.etcd-client.crt)\r\nok: [master] => (item=master.etcd-ca.crt)\r\n\r\nTASK: [set_fact ] *************************************************************\r\nskipping: [master]\r\n\r\nPLAY [Create temp directory for syncing certs] ********************************\r\n\r\nTASK: [Create local temp directory for syncing certs] *************************\r\nok: [localhost -> 127.0.0.1]\r\n\r\nPLAY [Configure etcd certificates] ********************************************\r\nskipping: no hosts matched\r\n\r\nPLAY [Copy the external etcd certs to the masters] ****************************\r\n\r\nGATHERING FACTS ***************************************************************\r\nok: [master]\r\n\r\nTASK: [Ensure certificate directory exists] ***********************************\r\nskipping: [master]\r\n\r\nTASK: [Unarchive the tarball on the master] ***********************************\r\nskipping: [master]\r\n\r\nTASK: [file ] *****************************************************************\r\nskipping: [master] => (item=master.etcd-client.crt)\r\nskipping: [master] => (item=master.etcd-client.key)\r\nskipping: [master] => (item=master.etcd-ca.crt)\r\n\r\nPLAY [Determine if master certificates need to be generated] ******************\r\n\r\nGATHERING FACTS ***************************************************************\r\nok: [master]\r\n\r\nTASK: [set_fact ] *************************************************************\r\nok: [master]\r\n\r\nTASK: [set_fact ] *************************************************************\r\nok: [master]\r\n\r\nTASK: [Check status of master certificates] ***********************************\r\nok: [master] => (item=admin.crt)\r\nok: [master] => (item=master.kubelet-client.crt)\r\nok: [master] => (item=master.server.crt)\r\nok: [master] => (item=openshift-master.crt)\r\nok: [master] => (item=openshift-registry.crt)\r\nok: [master] => (item=openshift-router.crt)\r\nok: [master] => (item=etcd.server.crt)\r\n\r\nTASK: [set_fact ] *************************************************************\r\nok: [master]\r\n\r\nPLAY [Configure master certificates] ******************************************\r\n\r\nGATHERING FACTS ***************************************************************\r\nok: [master]\r\n\r\nTASK: [openshift_facts | Verify Ansible version is greater than 1.8.0 and not 1.9.0] ***\r\nok: [master]\r\n\r\nTASK: [openshift_facts | Gather OpenShift facts] ******************************\r\nok: [master]\r\n\r\nTASK: [openshift_master_ca | Install the OpenShift package for admin tooling] ***\r\nfailed: [master] => {\"changed\": false, \"failed\": true, \"rc\": 0, \"results\": []}\r\nmsg: No Package matching 'openshift' found available, installed or updated\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=6    changed=0    unreachable=0    failed=0\r\nmaster                     : ok=16   changed=2    unreachable=0    failed=1\r\n```\r\n\r\nMaster is missing repo\r\n\r\n```\r\n[vagrant@ose3-master ~]$ yum repolist\r\nLoaded plugins: fastestmirror\r\nDetermining fastest mirrors\r\n * base: mirror.raystedman.net\r\n * extras: centos.sonn.com\r\n * updates: mirrors.xmission.com\r\nrepo id                                                                                           repo name                                                                                           status\r\nbase/7/x86_64                                                                                     CentOS-7 - Base                                                                                     8,652\r\nextras/7/x86_64                                                                                   CentOS-7 - Extras                                                                                     149\r\nupdates/7/x86_64                                                                                  CentOS-7 - Updates                                                                                    944\r\nrepolist: 9,745\r\n[vagrant@ose3-master ~]$ yum search openshift\r\nLoaded plugins: fastestmirror\r\nLoading mirror speeds from cached hostfile\r\n * base: mirror.raystedman.net\r\n * extras: centos.sonn.com\r\n * updates: mirrors.xmission.com\r\nWarning: No matches found for: openshift\r\nNo matches found\r\n[vagrant@ose3-master ~]$ ls /etc/yum.repos.d/\r\nCentOS-Base.repo  CentOS-CR.repo  CentOS-Debuginfo.repo  CentOS-fasttrack.repo  CentOS-Sources.repo  CentOS-Vault.repo\r\n```\r\n\r\nNot sure what changed, but this broke in the last day."},"comment":{"url":"https://api.github.com/repos/openshift/openshift-ansible/issues/comments/122924517","html_url":"https://github.com/openshift/openshift-ansible/issues/364#issuecomment-122924517","issue_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/364","id":122924517,"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-20T15:50:21Z","updated_at":"2015-07-20T15:50:21Z","body":"Tested. Works for me! Thanks @detiber "}}