Skip to content

Instantly share code, notes, and snippets.

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 lukas-vlcek/c9102428242b107122cfa480bfc18c06 to your computer and use it in GitHub Desktop.
Save lukas-vlcek/c9102428242b107122cfa480bfc18c06 to your computer and use it in GitHub Desktop.
[lvlcek@dhcp-2-178 test-deploy]$ make WHAT=lvlcek sh
cd "gcp-dev"/ && ../../bin/ansible.sh
Activated service account credentials for: [aos-serviceaccount@openshift-gce-devel.iam.gserviceaccount.com]
bash-4.2$ pwd
/usr/share/ansible/openshift-ansible
bash-4.2$ ansible-playbook -i inventory playbooks/openshift-grafana/config.yml
[WARNING]: * Failed to parse /usr/share/ansible/openshift-ansible/inventory/dynamic/gcp/hosts.py with script plugin: Inventory script (/usr/share/ansible/openshift-
ansible/inventory/dynamic/gcp/hosts.py) had an execution error: Traceback (most recent call last): File "/usr/share/ansible/openshift-
ansible/inventory/dynamic/gcp/hosts.py", line 408, in <module> GceInventory() File "/usr/share/ansible/openshift-ansible/inventory/dynamic/gcp/hosts.py", line 125, in
__init__ self.driver = self.get_gce_driver() File "/usr/share/ansible/openshift-ansible/inventory/dynamic/gcp/hosts.py", line 240, in get_gce_driver gce =
get_driver(Provider.GCE)(*args, **kwargs) File "/usr/lib/python2.7/site-packages/libcloud/compute/drivers/gce.py", line 1786, in __init__ raise ValueError('Project name
must be specified using ' ValueError: Project name must be specified using "project" keyword.
[WARNING]: * Failed to parse /usr/share/ansible/openshift-ansible/inventory/dynamic/gcp/hosts.py with ini plugin: /usr/share/ansible/openshift-
ansible/inventory/dynamic/gcp/hosts.py:27: Error parsing host definition ''''': No closing quotation
[WARNING]: Unable to parse /usr/share/ansible/openshift-ansible/inventory/dynamic/gcp/hosts.py as an inventory source
[WARNING]: * Failed to parse /usr/share/ansible/openshift-ansible/inventory/dynamic/injected/admin.kubeconfig with ini plugin: /usr/share/ansible/openshift-
ansible/inventory/dynamic/injected/admin.kubeconfig:1: Expected key=value host variable assignment, got: v1
[WARNING]: Unable to parse /usr/share/ansible/openshift-ansible/inventory/dynamic/injected/admin.kubeconfig as an inventory source
[WARNING]: * Failed to parse /usr/share/ansible/openshift-ansible/inventory/dynamic/injected/ops-mirror.pem with ini plugin: 'utf8' codec can't decode byte 0x82 in position
1: invalid start byte
[WARNING]: Unable to parse /usr/share/ansible/openshift-ansible/inventory/dynamic/injected/ops-mirror.pem as an inventory source
[WARNING]: * Failed to parse /usr/share/ansible/openshift-ansible/inventory/dynamic/injected/ssh-privatekey with yaml plugin: YAML inventory has invalid structure, it should
be a dictionary, got: <class 'ansible.parsing.yaml.objects.AnsibleUnicode'>
[WARNING]: * Failed to parse /usr/share/ansible/openshift-ansible/inventory/dynamic/injected/ssh-privatekey with ini plugin: /usr/share/ansible/openshift-
ansible/inventory/dynamic/injected/ssh-privatekey:1: Expected key=value host variable assignment, got: RSA
[WARNING]: Unable to parse /usr/share/ansible/openshift-ansible/inventory/dynamic/injected/ssh-privatekey as an inventory source
[WARNING]: Skipping unexpected key (experimental-cluster-signing-duration) in group (osm_controller_args), only "vars", "children" and "hosts" are valid
[WARNING]: Skipping unexpected key (role) in group (openshift_master_bootstrap_auto_approver_node_selector), only "vars", "children" and "hosts" are valid
PLAY [Initialization Checkpoint Start] *****************************************************************************************************************************************
TASK [Set install initialization 'In Progress'] ********************************************************************************************************************************
Tuesday 22 May 2018 14:25:37 +0000 (0:00:00.066) 0:00:00.066 ***********
ok: [lvlcek-ig-n-ncq6]
PLAY [Populate config host groups] *********************************************************************************************************************************************
TASK [Load group name mapping variables] ***************************************************************************************************************************************
Tuesday 22 May 2018 14:25:37 +0000 (0:00:00.065) 0:00:00.132 ***********
ok: [localhost]
TASK [Evaluate groups - g_etcd_hosts or g_new_etcd_hosts required] *************************************************************************************************************
Tuesday 22 May 2018 14:25:37 +0000 (0:00:00.037) 0:00:00.170 ***********
skipping: [localhost]
TASK [Evaluate groups - g_master_hosts or g_new_master_hosts required] *********************************************************************************************************
Tuesday 22 May 2018 14:25:37 +0000 (0:00:00.032) 0:00:00.202 ***********
skipping: [localhost]
TASK [Evaluate groups - g_node_hosts or g_new_node_hosts required] *************************************************************************************************************
Tuesday 22 May 2018 14:25:37 +0000 (0:00:00.032) 0:00:00.234 ***********
skipping: [localhost]
TASK [Evaluate groups - g_lb_hosts required] ***********************************************************************************************************************************
Tuesday 22 May 2018 14:25:37 +0000 (0:00:00.032) 0:00:00.266 ***********
skipping: [localhost]
TASK [Evaluate groups - g_nfs_hosts required] **********************************************************************************************************************************
Tuesday 22 May 2018 14:25:37 +0000 (0:00:00.028) 0:00:00.295 ***********
skipping: [localhost]
TASK [Evaluate groups - g_nfs_hosts is single host] ****************************************************************************************************************************
Tuesday 22 May 2018 14:25:37 +0000 (0:00:00.027) 0:00:00.322 ***********
skipping: [localhost]
TASK [Evaluate groups - g_glusterfs_hosts required] ****************************************************************************************************************************
Tuesday 22 May 2018 14:25:37 +0000 (0:00:00.029) 0:00:00.352 ***********
skipping: [localhost]
TASK [Evaluate oo_all_hosts] ***************************************************************************************************************************************************
Tuesday 22 May 2018 14:25:37 +0000 (0:00:00.034) 0:00:00.386 ***********
TASK [Evaluate oo_masters] *****************************************************************************************************************************************************
Tuesday 22 May 2018 14:25:37 +0000 (0:00:00.052) 0:00:00.439 ***********
TASK [Evaluate oo_first_master] ************************************************************************************************************************************************
Tuesday 22 May 2018 14:25:37 +0000 (0:00:00.032) 0:00:00.471 ***********
skipping: [localhost]
TASK [Evaluate oo_new_etcd_to_config] ******************************************************************************************************************************************
Tuesday 22 May 2018 14:25:37 +0000 (0:00:00.030) 0:00:00.502 ***********
TASK [Evaluate oo_masters_to_config] *******************************************************************************************************************************************
Tuesday 22 May 2018 14:25:37 +0000 (0:00:00.028) 0:00:00.530 ***********
TASK [Evaluate oo_etcd_to_config] **********************************************************************************************************************************************
Tuesday 22 May 2018 14:25:37 +0000 (0:00:00.029) 0:00:00.560 ***********
TASK [Evaluate oo_first_etcd] **************************************************************************************************************************************************
Tuesday 22 May 2018 14:25:37 +0000 (0:00:00.026) 0:00:00.587 ***********
skipping: [localhost]
TASK [Evaluate oo_etcd_hosts_to_upgrade] ***************************************************************************************************************************************
Tuesday 22 May 2018 14:25:37 +0000 (0:00:00.031) 0:00:00.618 ***********
TASK [Evaluate oo_etcd_hosts_to_backup] ****************************************************************************************************************************************
Tuesday 22 May 2018 14:25:37 +0000 (0:00:00.027) 0:00:00.646 ***********
TASK [Evaluate oo_nodes_to_config] *********************************************************************************************************************************************
Tuesday 22 May 2018 14:25:37 +0000 (0:00:00.025) 0:00:00.671 ***********
TASK [Evaluate oo_nodes_to_bootstrap] ******************************************************************************************************************************************
Tuesday 22 May 2018 14:25:37 +0000 (0:00:00.030) 0:00:00.701 ***********
TASK [Add masters to oo_nodes_to_bootstrap] ************************************************************************************************************************************
Tuesday 22 May 2018 14:25:37 +0000 (0:00:00.030) 0:00:00.732 ***********
TASK [Evaluate oo_lb_to_config] ************************************************************************************************************************************************
Tuesday 22 May 2018 14:25:37 +0000 (0:00:00.026) 0:00:00.759 ***********
TASK [Evaluate oo_nfs_to_config] ***********************************************************************************************************************************************
Tuesday 22 May 2018 14:25:37 +0000 (0:00:00.027) 0:00:00.787 ***********
TASK [Evaluate oo_glusterfs_to_config] *****************************************************************************************************************************************
Tuesday 22 May 2018 14:25:37 +0000 (0:00:00.024) 0:00:00.811 ***********
TASK [Evaluate oo_etcd_to_migrate] *********************************************************************************************************************************************
Tuesday 22 May 2018 14:25:38 +0000 (0:00:00.030) 0:00:00.842 ***********
[WARNING]: Could not match supplied host pattern, ignoring: oo_masters_to_config
[WARNING]: Could not match supplied host pattern, ignoring: oo_etcd_to_config
[WARNING]: Could not match supplied host pattern, ignoring: oo_lb_to_config
[WARNING]: Could not match supplied host pattern, ignoring: oo_nfs_to_config
PLAY [Ensure that all non-node hosts are accessible] ***************************************************************************************************************************
skipping: no hosts matched
PLAY [Initialize basic host facts] *********************************************************************************************************************************************
skipping: no hosts matched
PLAY [Retrieve existing master configs and validate] ***************************************************************************************************************************
skipping: no hosts matched
[WARNING]: Could not match supplied host pattern, ignoring: oo_first_master
PLAY [Initialize special first-master variables] *******************************************************************************************************************************
skipping: no hosts matched
PLAY [Disable web console if required] *****************************************************************************************************************************************
skipping: no hosts matched
[WARNING]: Could not match supplied host pattern, ignoring: oo_all_hosts
PLAY [Install packages necessary for installer] ********************************************************************************************************************************
skipping: no hosts matched
PLAY [Initialize cluster facts] ************************************************************************************************************************************************
skipping: no hosts matched
PLAY [Initialize etcd host variables] ******************************************************************************************************************************************
skipping: no hosts matched
PLAY [Determine openshift_version to configure on first master] ****************************************************************************************************************
skipping: no hosts matched
PLAY [Set openshift_version for etcd, node, and master hosts] ******************************************************************************************************************
skipping: no hosts matched
PLAY [Verify Requirements] *****************************************************************************************************************************************************
skipping: no hosts matched
PLAY [Initialization Checkpoint End] *******************************************************************************************************************************************
TASK [Set install initialization 'Complete'] ***********************************************************************************************************************************
Tuesday 22 May 2018 14:25:38 +0000 (0:00:00.072) 0:00:00.915 ***********
ok: [lvlcek-ig-n-ncq6]
PLAY [Grafana Install Checkpoint Start] ****************************************************************************************************************************************
TASK [Set Grafana install 'In Progress'] ***************************************************************************************************************************************
Tuesday 22 May 2018 14:25:38 +0000 (0:00:00.071) 0:00:00.986 ***********
ok: [lvlcek-ig-n-ncq6]
PLAY [OpenShift Grafana] *******************************************************************************************************************************************************
skipping: no hosts matched
PLAY [Grafana Install Checkpoint End] ******************************************************************************************************************************************
TASK [Set Grafana install 'Complete'] ******************************************************************************************************************************************
Tuesday 22 May 2018 14:25:38 +0000 (0:00:00.068) 0:00:01.054 ***********
ok: [lvlcek-ig-n-ncq6]
PLAY RECAP *********************************************************************************************************************************************************************
localhost : ok=1 changed=0 unreachable=0 failed=0
lvlcek-ig-n-ncq6 : ok=4 changed=0 unreachable=0 failed=0
INSTALLER STATUS ***************************************************************************************************************************************************************
Initialization : Complete (0:00:01)
Grafana Install : Complete (0:00:00)
Tuesday 22 May 2018 14:25:38 +0000 (0:00:00.056) 0:00:01.111 ***********
===============================================================================
Evaluate oo_etcd_to_migrate --------------------------------------------------------------------------------------------------------------------------------------------- 0.07s
Set install initialization 'Complete' ----------------------------------------------------------------------------------------------------------------------------------- 0.07s
Set Grafana install 'In Progress' --------------------------------------------------------------------------------------------------------------------------------------- 0.07s
Set install initialization 'In Progress' -------------------------------------------------------------------------------------------------------------------------------- 0.07s
Set Grafana install 'Complete' ------------------------------------------------------------------------------------------------------------------------------------------ 0.06s
Evaluate oo_all_hosts --------------------------------------------------------------------------------------------------------------------------------------------------- 0.05s
Load group name mapping variables --------------------------------------------------------------------------------------------------------------------------------------- 0.04s
Evaluate groups - g_glusterfs_hosts required ---------------------------------------------------------------------------------------------------------------------------- 0.03s
Evaluate oo_masters ----------------------------------------------------------------------------------------------------------------------------------------------------- 0.03s
Evaluate groups - g_master_hosts or g_new_master_hosts required --------------------------------------------------------------------------------------------------------- 0.03s
Evaluate groups - g_node_hosts or g_new_node_hosts required ------------------------------------------------------------------------------------------------------------- 0.03s
Evaluate groups - g_etcd_hosts or g_new_etcd_hosts required ------------------------------------------------------------------------------------------------------------- 0.03s
Evaluate oo_first_etcd -------------------------------------------------------------------------------------------------------------------------------------------------- 0.03s
Evaluate oo_glusterfs_to_config ----------------------------------------------------------------------------------------------------------------------------------------- 0.03s
Evaluate oo_nodes_to_bootstrap ------------------------------------------------------------------------------------------------------------------------------------------ 0.03s
Evaluate oo_first_master ------------------------------------------------------------------------------------------------------------------------------------------------ 0.03s
Evaluate oo_nodes_to_config --------------------------------------------------------------------------------------------------------------------------------------------- 0.03s
Evaluate oo_masters_to_config ------------------------------------------------------------------------------------------------------------------------------------------- 0.03s
Evaluate groups - g_nfs_hosts is single host ---------------------------------------------------------------------------------------------------------------------------- 0.03s
Evaluate oo_new_etcd_to_config ------------------------------------------------------------------------------------------------------------------------------------------ 0.03s
bash-4.2$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment