Skip to content

Instantly share code, notes, and snippets.

@jjungnickel
Created July 17, 2015 12:58
Show Gist options
  • Save jjungnickel/d67bc2c2430abb3481a5 to your computer and use it in GitHub Desktop.
Save jjungnickel/d67bc2c2430abb3481a5 to your computer and use it in GitHub Desktop.
❯ vagrant provision openshift-ansible/git/master
==> node1: Running provisioner: shell...
node1: Running: inline script
==> node2: Running provisioner: shell...
node2: Running: inline script
==> node2: Running provisioner: shell...
node2: Running: inline script
==> master: Running provisioner: shell...
master: Running: inline script
==> master: Running provisioner: shell...
master: Running: inline script
==> master: Running provisioner: shell...
master: Running: inline script
==> master: Running provisioner: ansible...
PLAY [Populate config host groups] ********************************************
TASK: [fail ] *****************************************************************
skipping: [localhost]
TASK: [fail ] *****************************************************************
skipping: [localhost]
TASK: [fail ] *****************************************************************
skipping: [localhost]
TASK: [Evaluate oo_etcd_to_config] ********************************************
skipping: [localhost]
TASK: [Evaluate oo_masters_to_config] *****************************************
ok: [localhost] => (item=master)
TASK: [Evaluate oo_nodes_to_config] *******************************************
ok: [localhost] => (item=node1)
ok: [localhost] => (item=node2)
TASK: [Evaluate oo_first_etcd] ************************************************
skipping: [localhost]
TASK: [Evaluate oo_first_master] **********************************************
ok: [localhost]
PLAY [Set etcd facts needed for generating certs] *****************************
skipping: no hosts matched
PLAY [Create temp directory for syncing certs] ********************************
TASK: [Create local temp directory for syncing certs] *************************
ok: [localhost -> 127.0.0.1]
PLAY [Configure etcd certificates] ********************************************
skipping: no hosts matched
PLAY [Configure etcd hosts] ***************************************************
skipping: no hosts matched
PLAY [Delete temporary directory on localhost] ********************************
TASK: [file name={{ g_etcd_mktemp.stdout }} state=absent] *********************
ok: [localhost]
PLAY [Set master facts and determine if external etcd certs need to be generated] ***
GATHERING FACTS ***************************************************************
ok: [master]
TASK: [set_fact ] *************************************************************
ok: [master]
TASK: [openshift_facts | Verify Ansible version is greater than 1.8.0 and not 1.9.0] ***
ok: [master]
TASK: [openshift_facts | Gather OpenShift facts] ******************************
changed: [master]
TASK: [openshift_facts ] ******************************************************
changed: [master] => (item={'local_facts': {'public_hostname': u'', 'hostname': u'', 'deployment_type': u'origin'}, 'role': 'common'})
changed: [master] => (item={'local_facts': {'console_url': u'', 'api_url': u'', 'public_api_url': u'', 'public_console_url': u'', 'api_use_ssl': u'', 'api_port': u'', 'console_port': u'', 'console_path': u'', 'console_use_ssl': u''}, 'role': 'master'})
TASK: [Check status of external etcd certificatees] ***************************
ok: [master] => (item=master.etcd-client.crt)
ok: [master] => (item=master.etcd-ca.crt)
TASK: [set_fact ] *************************************************************
skipping: [master]
PLAY [Create temp directory for syncing certs] ********************************
TASK: [Create local temp directory for syncing certs] *************************
ok: [localhost -> 127.0.0.1]
PLAY [Configure etcd certificates] ********************************************
skipping: no hosts matched
PLAY [Copy the external etcd certs to the masters] ****************************
GATHERING FACTS ***************************************************************
ok: [master]
TASK: [Ensure certificate directory exists] ***********************************
skipping: [master]
TASK: [Unarchive the tarball on the master] ***********************************
skipping: [master]
TASK: [file ] *****************************************************************
skipping: [master] => (item=master.etcd-client.crt)
skipping: [master] => (item=master.etcd-client.key)
skipping: [master] => (item=master.etcd-ca.crt)
PLAY [Determine if master certificates need to be generated] ******************
GATHERING FACTS ***************************************************************
ok: [master]
TASK: [set_fact ] *************************************************************
ok: [master]
TASK: [set_fact ] *************************************************************
ok: [master]
TASK: [Check status of master certificates] ***********************************
ok: [master] => (item=admin.crt)
ok: [master] => (item=master.kubelet-client.crt)
ok: [master] => (item=master.server.crt)
ok: [master] => (item=openshift-master.crt)
ok: [master] => (item=openshift-registry.crt)
ok: [master] => (item=openshift-router.crt)
ok: [master] => (item=etcd.server.crt)
TASK: [set_fact ] *************************************************************
ok: [master]
PLAY [Configure master certificates] ******************************************
GATHERING FACTS ***************************************************************
ok: [master]
TASK: [openshift_facts | Verify Ansible version is greater than 1.8.0 and not 1.9.0] ***
ok: [master]
TASK: [openshift_facts | Gather OpenShift facts] ******************************
ok: [master]
TASK: [openshift_master_ca | Install the OpenShift package for admin tooling] ***
failed: [master] => {"changed": false, "failed": true, "rc": 0, "results": []}
msg: No Package matching 'openshift' found available, installed or updated
FATAL: all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/Users/jjungnickel/config.retry
localhost : ok=6 changed=0 unreachable=0 failed=0
master : ok=16 changed=2 unreachable=0 failed=1
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment