Skip to content

Instantly share code, notes, and snippets.

@ishuverma
Created February 5, 2018 05:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ishuverma/c655e851b70d8a4b4302bfc36d134ddb to your computer and use it in GitHub Desktop.
Save ishuverma/c655e851b70d8a4b4302bfc36d134ddb to your computer and use it in GitHub Desktop.
[openshift@localhost bosch]$ docker run -ti -v `pwd`:/root/data docker.io/osevg/openshifter create cluster
INFO:Provisioner(byo):Validating master existence
INFO:Provisioner(byo):Master exists (192.168.122.142)
INFO:Provisioner(byo):Validating master existence
INFO:Provisioner(byo):Master exists (192.168.122.142)
INFO:Provisioner(byo):Validating master existence
INFO:Provisioner(byo):Master exists (192.168.122.142)
INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_7.4)
INFO:paramiko.transport:Authentication (publickey) successful!
INFO:Feature(Basic):Starting feature for 192.168.122.142 (master,infra,node)
INFO:Feature(Basic):Updating system
INFO:Feature(Basic):Installing tmux
INFO:Feature(Basic):Feature completed for 192.168.122.142 (master,infra,node)
INFO:Feature(Docker):Starting feature for 192.168.122.142 (master,infra,node)
INFO:Feature(Docker):Installing Docker
INFO:Feature(Docker):Docker devicemapper storage is already setup
INFO:Feature(Docker):Feature completed for 192.168.122.142 (master,infra,node)
INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_7.4)
INFO:paramiko.transport:Authentication (publickey) successful!
INFO:Feature(Ansible):stderr => Already on 'release-3.6'
INFO:Feature(Ansible):Executing ['ansible-playbook', '-i', '/root/data/openshifter/cluster/ansible.ini', '/root/openshift-ansible/playbooks/byo/config.yml'] in /root/data
INFO:Feature(Ansible):stderr => [DEPRECATION WARNING]: 'include' for playbook includes. You should use
INFO:Feature(Ansible):stderr => 'import_playbook' instead. This feature will be removed in version 2.8. Deprecation
INFO:Feature(Ansible):stderr => warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
INFO:Feature(Ansible):stderr => [DEPRECATION WARNING]: The use of 'include' for tasks has been deprecated. Use
INFO:Feature(Ansible):stderr => 'import_tasks' for static inclusions or 'include_tasks' for dynamic inclusions. This
INFO:Feature(Ansible):stderr => feature will be removed in a future release. Deprecation warnings can be disabled by
INFO:Feature(Ansible):stderr => setting deprecation_warnings=False in ansible.cfg.
INFO:Feature(Ansible):stderr => [DEPRECATION WARNING]: include is kept for backwards compatibility but usage is
INFO:Feature(Ansible):stderr => discouraged. The module documentation details page may explain more about this
INFO:Feature(Ansible):stderr => rationale.. This feature will be removed in a future release. Deprecation warnings can
INFO:Feature(Ansible):stderr => be disabled by setting deprecation_warnings=False in ansible.cfg.
INFO:Feature(Ansible):stderr => [DEPRECATION WARNING]: The use of 'static' for 'include_role' has been deprecated. Use
INFO:Feature(Ansible):stderr => 'import_role' for static inclusion, or 'include_role' for dynamic inclusion. This
INFO:Feature(Ansible):stderr => feature will be removed in a future release. Deprecation warnings can be disabled by
INFO:Feature(Ansible):stderr => setting deprecation_warnings=False in ansible.cfg.
INFO:Feature(Ansible):stderr => [DEPRECATION WARNING]: The use of 'static' has been deprecated. Use 'import_tasks' for
INFO:Feature(Ansible):stderr => static inclusion, or 'include_tasks' for dynamic inclusion. This feature will be
INFO:Feature(Ansible):stderr => removed in a future release. Deprecation warnings can be disabled by setting
INFO:Feature(Ansible):stderr => deprecation_warnings=False in ansible.cfg.
INFO:Feature(Ansible):stdout => PLAY [Create initial host groups for localhost] ***************************************
INFO:Feature(Ansible):stdout => TASK [include_vars] *******************************************************************
INFO:Feature(Ansible):stdout => ok: [localhost]
INFO:Feature(Ansible):stdout => PLAY [Populate config host groups] ****************************************************
INFO:Feature(Ansible):stdout => TASK [Evaluate groups - g_etcd_hosts or g_new_etcd_hosts required] ********************
INFO:Feature(Ansible):stdout => skipping: [localhost]
INFO:Feature(Ansible):stdout => TASK [Evaluate groups - g_master_hosts or g_new_master_hosts required] ****************
INFO:Feature(Ansible):stdout => skipping: [localhost]
INFO:Feature(Ansible):stdout => TASK [Evaluate groups - g_node_hosts or g_new_node_hosts required] ********************
INFO:Feature(Ansible):stdout => skipping: [localhost]
INFO:Feature(Ansible):stdout => TASK [Evaluate groups - g_lb_hosts required] ******************************************
INFO:Feature(Ansible):stdout => skipping: [localhost]
INFO:Feature(Ansible):stdout => TASK [Evaluate groups - g_nfs_hosts required] *****************************************
INFO:Feature(Ansible):stdout => skipping: [localhost]
INFO:Feature(Ansible):stdout => TASK [Evaluate groups - g_nfs_hosts is single host] ***********************************
INFO:Feature(Ansible):stdout => skipping: [localhost]
INFO:Feature(Ansible):stdout => TASK [Evaluate groups - g_glusterfs_hosts required] ***********************************
INFO:Feature(Ansible):stdout => skipping: [localhost]
INFO:Feature(Ansible):stdout => TASK [Evaluate oo_all_hosts] **********************************************************
INFO:Feature(Ansible):stdout => ok: [localhost] => (item=192.168.122.142)
INFO:Feature(Ansible):stdout => TASK [Evaluate oo_masters] ************************************************************
INFO:Feature(Ansible):stdout => ok: [localhost] => (item=192.168.122.142)
INFO:Feature(Ansible):stdout => TASK [Evaluate oo_first_master] *******************************************************
INFO:Feature(Ansible):stdout => ok: [localhost]
INFO:Feature(Ansible):stdout => TASK [Evaluate oo_new_etcd_to_config] *************************************************
INFO:Feature(Ansible):stdout => TASK [Evaluate oo_masters_to_config] **************************************************
INFO:Feature(Ansible):stdout => ok: [localhost] => (item=192.168.122.142)
INFO:Feature(Ansible):stdout => TASK [Evaluate oo_etcd_to_config] *****************************************************
INFO:Feature(Ansible):stdout => ok: [localhost] => (item=192.168.122.142)
INFO:Feature(Ansible):stdout => TASK [Evaluate oo_first_etcd] *********************************************************
INFO:Feature(Ansible):stdout => ok: [localhost]
INFO:Feature(Ansible):stdout => TASK [Evaluate oo_etcd_hosts_to_upgrade] **********************************************
INFO:Feature(Ansible):stdout => ok: [localhost] => (item=192.168.122.142)
INFO:Feature(Ansible):stdout => TASK [Evaluate oo_etcd_hosts_to_backup] ***********************************************
INFO:Feature(Ansible):stdout => ok: [localhost] => (item=192.168.122.142)
INFO:Feature(Ansible):stdout => TASK [Evaluate oo_nodes_to_config] ****************************************************
INFO:Feature(Ansible):stdout => ok: [localhost] => (item=192.168.122.142)
INFO:Feature(Ansible):stdout => TASK [Add master to oo_nodes_to_config] ***********************************************
INFO:Feature(Ansible):stdout => skipping: [localhost] => (item=192.168.122.142)
INFO:Feature(Ansible):stdout => TASK [Evaluate oo_lb_to_config] *******************************************************
INFO:Feature(Ansible):stdout => TASK [Evaluate oo_nfs_to_config] ******************************************************
INFO:Feature(Ansible):stdout => TASK [Evaluate oo_glusterfs_to_config] ************************************************
INFO:Feature(Ansible):stdout => TASK [Evaluate oo_etcd_to_migrate] ****************************************************
INFO:Feature(Ansible):stdout => ok: [localhost] => (item=192.168.122.142)
INFO:Feature(Ansible):stderr => [WARNING]: Could not match supplied host pattern, ignoring: oo_lb_to_config
INFO:Feature(Ansible):stderr => [WARNING]: Could not match supplied host pattern, ignoring: oo_nfs_to_config
INFO:Feature(Ansible):stdout => PLAY [Ensure that all non-node hosts are accessible] **********************************
INFO:Feature(Ansible):stdout => TASK [Gathering Facts] ****************************************************************
INFO:Feature(Ansible):stdout => ok: [192.168.122.142]
INFO:Feature(Ansible):stdout => PLAY [Initialize host facts] **********************************************************
INFO:Feature(Ansible):stdout => TASK [Gathering Facts] ****************************************************************
INFO:Feature(Ansible):stdout => ok: [192.168.122.142]
INFO:Feature(Ansible):stdout => TASK [openshift_sanitize_inventory : Abort when conflicting deployment type variables are set] ***
INFO:Feature(Ansible):stdout => skipping: [192.168.122.142]
INFO:Feature(Ansible):stdout => TASK [openshift_sanitize_inventory : Standardize on latest variable names] ************
INFO:Feature(Ansible):stdout => ok: [192.168.122.142]
INFO:Feature(Ansible):stdout => TASK [openshift_sanitize_inventory : Abort when deployment type is invalid] ***********
INFO:Feature(Ansible):stdout => skipping: [192.168.122.142]
INFO:Feature(Ansible):stdout => TASK [openshift_sanitize_inventory : Normalize openshift_release] *********************
INFO:Feature(Ansible):stdout => ok: [192.168.122.142]
INFO:Feature(Ansible):stdout => TASK [openshift_sanitize_inventory : Abort when openshift_release is invalid] *********
INFO:Feature(Ansible):stdout => skipping: [192.168.122.142]
INFO:Feature(Ansible):stdout => TASK [openshift_sanitize_inventory : Ensure that openshift_use_dnsmasq is true] *******
INFO:Feature(Ansible):stdout => skipping: [192.168.122.142]
INFO:Feature(Ansible):stdout => TASK [openshift_sanitize_inventory : Ensure that openshift_node_dnsmasq_install_network_manager_hook is true] ***
INFO:Feature(Ansible):stdout => skipping: [192.168.122.142]
INFO:Feature(Ansible):stdout => TASK [openshift_facts : Detecting Operating System] ***********************************
INFO:Feature(Ansible):stdout => ok: [192.168.122.142]
INFO:Feature(Ansible):stdout => TASK [openshift_facts : set_fact] *****************************************************
INFO:Feature(Ansible):stdout => ok: [192.168.122.142]
INFO:Feature(Ansible):stdout => TASK [openshift_facts : set_fact] *****************************************************
INFO:Feature(Ansible):stdout => ok: [192.168.122.142]
INFO:Feature(Ansible):stdout => TASK [openshift_facts : set_fact] *****************************************************
INFO:Feature(Ansible):stdout => ok: [192.168.122.142]
INFO:Feature(Ansible):stdout => TASK [openshift_facts : set_fact] *****************************************************
INFO:Feature(Ansible):stdout => ok: [192.168.122.142]
INFO:Feature(Ansible):stdout => TASK [openshift_facts : Validate python version] **************************************
INFO:Feature(Ansible):stdout => skipping: [192.168.122.142]
INFO:Feature(Ansible):stdout => TASK [openshift_facts : Validate python version] **************************************
INFO:Feature(Ansible):stdout => skipping: [192.168.122.142]
INFO:Feature(Ansible):stdout => TASK [openshift_facts : Determine Atomic Host Docker Version] *************************
INFO:Feature(Ansible):stdout => skipping: [192.168.122.142]
INFO:Feature(Ansible):stdout => TASK [openshift_facts : assert] *******************************************************
INFO:Feature(Ansible):stdout => skipping: [192.168.122.142]
INFO:Feature(Ansible):stdout => TASK [openshift_facts : Load variables] ***********************************************
INFO:Feature(Ansible):stdout => ok: [192.168.122.142] => (item=/root/openshift-ansible/roles/openshift_facts/vars/default.yml)
INFO:Feature(Ansible):stdout => TASK [openshift_facts : Ensure various deps are installed] ****************************
INFO:Feature(Ansible):stdout => ok: [192.168.122.142] => (item=iproute)
INFO:Feature(Ansible):stdout => ok: [192.168.122.142] => (item=python-dbus)
INFO:Feature(Ansible):stdout => failed: [192.168.122.142] (item=PyYAML) => {"changed": false, "item": "PyYAML", "msg": "No package matching 'PyYAML' found available, installed or updated", "rc": 126, "results": ["No package matching 'PyYAML' found available, installed or updated"]}
INFO:Feature(Ansible):stdout => failed: [192.168.122.142] (item=yum-utils) => {"changed": false, "item": "yum-utils", "msg": "No package matching 'yum-utils' found available, installed or updated", "rc": 126, "results": ["No package matching 'yum-utils' found available, installed or updated"]}
INFO:Feature(Ansible):stdout => to retry, use: --limit @/root/openshift-ansible/playbooks/byo/config.retry
INFO:Feature(Ansible):stdout => PLAY RECAP ****************************************************************************
INFO:Feature(Ansible):stdout => 192.168.122.142 : ok=10 changed=0 unreachable=0 failed=1
INFO:Feature(Ansible):stdout => localhost : ok=11 changed=0 unreachable=0 failed=0
INFO:Feature(Ansible):stdout => Failure summary:
INFO:Feature(Ansible):stdout => 1. Hosts: 192.168.122.142
INFO:Feature(Ansible):stdout => Play: Initialize host facts
INFO:Feature(Ansible):stdout => Task: Ensure various deps are installed
INFO:Feature(Ansible):stdout => Message: All items completed
INFO:Feature(Ansible):Exit code 2
INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_7.4)
INFO:paramiko.transport:Authentication (publickey) successful!
INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_7.4)
INFO:paramiko.transport:Authentication (publickey) successful!
INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_7.4)
INFO:paramiko.transport:Authentication (publickey) successful!
INFO:Feature(LoggingFix):Starting feature for 192.168.122.142 (master,infra,node)
INFO:Feature(LoggingFix):Restarting master to fix logging and metrics
INFO:Feature(LoggingFix):Feature completed for 192.168.122.142 (master,infra,node)
INFO:Feature(ServiceAccount):Starting feature for 192.168.122.142 (master,infra,node)
INFO:Feature(ServiceAccount):Creating service account
INFO:Feature(ServiceAccount):Feature completed for 192.168.122.142 (master,infra,node)
INFO:Feature(Users):Starting feature for 192.168.122.142 (master,infra,node)
INFO:Feature(Users):Generating user admin with password password and project admin
INFO:Feature(Users):Generating user user0 with password user0 and project user0
INFO:Feature(Users):Generating user user1 with password user1 and project user1
INFO:Feature(Users):Generating user user2 with password user2 and project user2
INFO:Feature(Users):Feature completed for 192.168.122.142 (master,infra,node)
INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_7.4)
INFO:paramiko.transport:Authentication (publickey) successful!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment