Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save austinmartinh/fdbc5bed811ac0659e6226c4b0d767b8 to your computer and use it in GitHub Desktop.
Save austinmartinh/fdbc5bed811ac0659e6226c4b0d767b8 to your computer and use it in GitHub Desktop.
ansible-playbook -i ${TARGET_HOST}, ./configs/ocp-workloads/ocp-workload.yml \
-e"ansible_password=${ANSIBLE_PASSWORD}" -e"ansible_user=${ANSIBLE_USER}" \
-e"ocp_username=${OCP_USERNAME}" \
-e"guid=${GUID}" \
-e"ACTION=remove" \
-e @./roles_ocp_workloads/ocp4_workload_integreatly/sample_vars/ocp4_workload_integreatly_vars.yml \
-e ocp4_workload_integreatly_manifest_dir_type=url
PLAY [Deploy a workload role on a master host] ******************************************************************************************************************************************************************
TASK [Check if desired virtualenv is available on the host] *****************************************************************************************************************************************************
Wednesday 03 June 2020 15:27:50 +0100 (0:00:00.019) 0:00:00.019 ********
ok: [bastion.dimitra-eee2.example.opentlc.com]
TASK [Set Ansible Python interpreter to virtualenv] *************************************************************************************************************************************************************
Wednesday 03 June 2020 15:27:53 +0100 (0:00:03.549) 0:00:03.568 ********
ok: [bastion.dimitra-eee2.example.opentlc.com]
TASK [Run single workload] **************************************************************************************************************************************************************************************
Wednesday 03 June 2020 15:27:53 +0100 (0:00:00.060) 0:00:03.629 ********
skipping: [bastion.dimitra-eee2.example.opentlc.com]
TASK [Run multiple workloads] ***********************************************************************************************************************************************************************************
Wednesday 03 June 2020 15:27:53 +0100 (0:00:00.035) 0:00:03.665 ********
[WARNING]: While constructing a mapping from /home/aheraugh/go/src/github.com/agnosticd/ansible/roles_ocp_workloads/ocp4_workload_integreatly/defaults/main.yml, line 2, column 1, found a duplicate dict key
(ocp4_workload_integreatly_threescale_sso_client_secret). Using last defined value only.
TASK [ocp4_workload_integreatly_minio : Running Pre Workload Tasks] *********************************************************************************************************************************************
Wednesday 03 June 2020 15:27:53 +0100 (0:00:00.114) 0:00:03.779 ********
skipping: [bastion.dimitra-eee2.example.opentlc.com]
TASK [ocp4_workload_integreatly_minio : Running Workload Tasks] *************************************************************************************************************************************************
Wednesday 03 June 2020 15:27:53 +0100 (0:00:00.016) 0:00:03.795 ********
skipping: [bastion.dimitra-eee2.example.opentlc.com]
TASK [ocp4_workload_integreatly_minio : Running Post Workload Tasks] ********************************************************************************************************************************************
Wednesday 03 June 2020 15:27:54 +0100 (0:00:00.017) 0:00:03.813 ********
skipping: [bastion.dimitra-eee2.example.opentlc.com]
TASK [ocp4_workload_integreatly_minio : Running Workload removal Tasks] *****************************************************************************************************************************************
Wednesday 03 June 2020 15:27:54 +0100 (0:00:00.015) 0:00:03.828 ********
included: /home/aheraugh/go/src/github.com/agnosticd/ansible/roles_ocp_workloads/ocp4_workload_integreatly_minio/tasks/./remove_workload.yml for bastion.dimitra-eee2.example.opentlc.com
TASK [ocp4_workload_integreatly_minio : Delete Minio operator namespace redhat-rhmi-minio-operator] *************************************************************************************************************
Wednesday 03 June 2020 15:27:54 +0100 (0:00:00.113) 0:00:03.942 ********
ok: [bastion.dimitra-eee2.example.opentlc.com]
TASK [ocp4_workload_integreatly_minio : remove_workload tasks complete] *****************************************************************************************************************************************
Wednesday 03 June 2020 15:27:58 +0100 (0:00:04.009) 0:00:07.951 ********
ok: [bastion.dimitra-eee2.example.opentlc.com] => {
"msg": "Remove Workload tasks completed successfully."
}
TASK [ocp4_workload_authentication : Running Pre Workload Tasks] ************************************************************************************************************************************************
Wednesday 03 June 2020 15:27:58 +0100 (0:00:00.028) 0:00:07.979 ********
skipping: [bastion.dimitra-eee2.example.opentlc.com]
TASK [ocp4_workload_authentication : Running Workload Tasks] ****************************************************************************************************************************************************
Wednesday 03 June 2020 15:27:58 +0100 (0:00:00.017) 0:00:07.997 ********
skipping: [bastion.dimitra-eee2.example.opentlc.com]
TASK [ocp4_workload_authentication : Running Post Workload Tasks] ***********************************************************************************************************************************************
Wednesday 03 June 2020 15:27:58 +0100 (0:00:00.016) 0:00:08.013 ********
skipping: [bastion.dimitra-eee2.example.opentlc.com]
TASK [ocp4_workload_authentication : Running Workload removal Tasks] ********************************************************************************************************************************************
Wednesday 03 June 2020 15:27:58 +0100 (0:00:00.016) 0:00:08.030 ********
included: /home/aheraugh/go/src/github.com/agnosticd/ansible/roles_ocp_workloads/ocp4_workload_authentication/tasks/./remove_workload.yml for bastion.dimitra-eee2.example.opentlc.com
TASK [ocp4_workload_authentication : remove_workload tasks complete] ********************************************************************************************************************************************
Wednesday 03 June 2020 15:27:58 +0100 (0:00:00.027) 0:00:08.058 ********
ok: [bastion.dimitra-eee2.example.opentlc.com] => {
"msg": "Remove Workload tasks completed successfully."
}
TASK [ocp4_workload_integreatly : Running Pre Workload Tasks] ***************************************************************************************************************************************************
Wednesday 03 June 2020 15:27:58 +0100 (0:00:00.023) 0:00:08.081 ********
skipping: [bastion.dimitra-eee2.example.opentlc.com]
TASK [ocp4_workload_integreatly : Running Workload Tasks] *******************************************************************************************************************************************************
Wednesday 03 June 2020 15:27:58 +0100 (0:00:00.014) 0:00:08.096 ********
skipping: [bastion.dimitra-eee2.example.opentlc.com]
TASK [ocp4_workload_integreatly : Running Post Workload Tasks] **************************************************************************************************************************************************
Wednesday 03 June 2020 15:27:58 +0100 (0:00:00.018) 0:00:08.114 ********
skipping: [bastion.dimitra-eee2.example.opentlc.com]
TASK [ocp4_workload_integreatly : Running Workload removal Tasks] ***********************************************************************************************************************************************
Wednesday 03 June 2020 15:27:58 +0100 (0:00:00.015) 0:00:08.129 ********
included: /home/aheraugh/go/src/github.com/agnosticd/ansible/roles_ocp_workloads/ocp4_workload_integreatly/tasks/./remove_workload.yml for bastion.dimitra-eee2.example.opentlc.com
TASK [ocp4_workload_integreatly : Delete RHMI resource] *********************************************************************************************************************************************************
Wednesday 03 June 2020 15:27:58 +0100 (0:00:00.072) 0:00:08.202 ********
changed: [bastion.dimitra-eee2.example.opentlc.com]
TASK [ocp4_workload_integreatly : Wait for RHMI to uninstall] ***************************************************************************************************************************************************
Wednesday 03 June 2020 15:28:02 +0100 (0:00:04.023) 0:00:12.225 ********
FAILED - RETRYING: Wait for RHMI to uninstall (10 retries left).
FAILED - RETRYING: Wait for RHMI to uninstall (9 retries left).
FAILED - RETRYING: Wait for RHMI to uninstall (8 retries left).
FAILED - RETRYING: Wait for RHMI to uninstall (7 retries left).
FAILED - RETRYING: Wait for RHMI to uninstall (6 retries left).
FAILED - RETRYING: Wait for RHMI to uninstall (5 retries left).
FAILED - RETRYING: Wait for RHMI to uninstall (4 retries left).
FAILED - RETRYING: Wait for RHMI to uninstall (3 retries left).
FAILED - RETRYING: Wait for RHMI to uninstall (2 retries left).
FAILED - RETRYING: Wait for RHMI to uninstall (1 retries left).
[DEPRECATION WARNING]: The 'k8s_facts' module has been renamed to 'k8s_info'. This feature will be removed in version 2.13. Deprecation warnings can be disabled by setting deprecation_warnings=False in
ansible.cfg.
fatal: [bastion.dimitra-eee2.example.opentlc.com]: FAILED! => {"attempts": 10, "changed": false, "resources": [{"apiVersion": "integreatly.org/v1alpha1", "kind": "RHMI", "metadata": {"creationTimestamp": "2020-06-03T11:27:24Z", "deletionGracePeriodSeconds": 0, "deletionTimestamp": "2020-06-03T13:24:39Z", "finalizers": ["finalizer/configmaps"], "generation": 3, "name": "rhmi", "namespace": "redhat-rhmi-operator", "resourceVersion": "680007", "selfLink": "/apis/integreatly.org/v1alpha1/namespaces/redhat-rhmi-operator/rhmis/rhmi", "uid": "cb8afc3e-1383-456d-804a-e82a0d874fed"}, "spec": {"deadMansSnitchSecret": "redhat-rhmi-deadmanssnitch", "namespacePrefix": "redhat-rhmi-", "pagerDutySecret": "redhat-rhmi-pagerduty", "pullSecret": {"name": "", "namespace": ""}, "smtpSecret": "redhat-rhmi-smtp", "type": "workshop", "useClusterStorage": "true"}, "status": {"lastError": "", "preflightMessage": "found conflicting packages: fuse, in namespace: dedicated-admin-fuse", "preflightStatus": "failed", "stage": "Preflight Checks", "stages": {}}}]}
PLAY RECAP ******************************************************************************************************************************************************************************************************
bastion.dimitra-eee2.example.opentlc.com : ok=9 changed=1 unreachable=0 failed=1 skipped=10 rescued=0 ignored=0
Wednesday 03 June 2020 15:38:59 +0100 (0:10:57.262) 0:11:09.488 ********
===============================================================================
ocp4_workload_integreatly : Wait for RHMI to uninstall ------------------------------------------------------------------------------------------------------------------------------------------------- 657.26s
ocp4_workload_integreatly : Delete RHMI resource --------------------------------------------------------------------------------------------------------------------------------------------------------- 4.02s
ocp4_workload_integreatly_minio : Delete Minio operator namespace redhat-rhmi-minio-operator ------------------------------------------------------------------------------------------------------------- 4.01s
Check if desired virtualenv is available on the host ----------------------------------------------------------------------------------------------------------------------------------------------------- 3.55s
Run multiple workloads ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.11s
ocp4_workload_integreatly_minio : Running Workload removal Tasks ----------------------------------------------------------------------------------------------------------------------------------------- 0.11s
ocp4_workload_integreatly : Running Workload removal Tasks ----------------------------------------------------------------------------------------------------------------------------------------------- 0.07s
Set Ansible Python interpreter to virtualenv ------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.06s
Run single workload -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.04s
ocp4_workload_integreatly_minio : remove_workload tasks complete ----------------------------------------------------------------------------------------------------------------------------------------- 0.03s
ocp4_workload_authentication : Running Workload removal Tasks -------------------------------------------------------------------------------------------------------------------------------------------- 0.03s
ocp4_workload_authentication : remove_workload tasks complete -------------------------------------------------------------------------------------------------------------------------------------------- 0.02s
ocp4_workload_integreatly : Running Workload Tasks ------------------------------------------------------------------------------------------------------------------------------------------------------- 0.02s
ocp4_workload_integreatly_minio : Running Workload Tasks ------------------------------------------------------------------------------------------------------------------------------------------------- 0.02s
ocp4_workload_authentication : Running Pre Workload Tasks ------------------------------------------------------------------------------------------------------------------------------------------------ 0.02s
ocp4_workload_authentication : Running Post Workload Tasks ----------------------------------------------------------------------------------------------------------------------------------------------- 0.02s
ocp4_workload_authentication : Running Workload Tasks ---------------------------------------------------------------------------------------------------------------------------------------------------- 0.02s
ocp4_workload_integreatly_minio : Running Pre Workload Tasks --------------------------------------------------------------------------------------------------------------------------------------------- 0.02s
ocp4_workload_integreatly : Running Post Workload Tasks -------------------------------------------------------------------------------------------------------------------------------------------------- 0.02s
ocp4_workload_integreatly_minio : Running Post Workload Tasks -------------------------------------------------------------------------------------------------------------------------------------------- 0.02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment