+++ This bug was initially created as a clone of Bug #1674713 +++ Description of problem: Now there is no way to clean up failed deployment. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: --- Additional comment from Red Hat Bugzilla Rules Engine on 2019-02-11 16:55:01 UTC --- This bug is automatically being proposed for RHHI-V 1.6 release at Red Hat Hyperconverged Infrastructure for Virtualization product, by setting the release flag 'rhiv‑1.6' to '?'. If this bug should be proposed for a different release, please manually change the proposed release flag.
Sac, Patch URL and devel_ack is missing on this bug
Moving the needinfo to Gobinda. Gobinda please see Comment #2
Patch: https://github.com/gluster/gluster-ansible/pull/63 Provided devel_ack
Hi laura, For this issue we need to provide documentation.Right now we don't support gluster deployment cleanup from UI. We have cleanup playbook which needs to be executed manually if user wants to cleanup from first host where user doing deployment. Command: ansible-playbook -i /etc/ansible/hc_wizard_inventory.yml /etc/ansible/roles/gluster.ansible/playbooks/hc-ansible-deployment/tasks/gluster_cleanup.yml
Hi Laura, The playbook path will be /usr/share/doc/gluster.ansible/playbooks/hc-ansible-deployment/tasks/gluster_cleanup.yml So the command is: ansible-playbook -i /etc/ansible/hc_wizard_inventory.yml /usr/share/doc/gluster.ansible/playbooks/hc-ansible-deployment/tasks/gluster_cleanup.yml
FYI.. As we decided to move gluster-ansible to /etc/ansible/roles/gluster.ansible from /usr/share/doc/gluster.ansible from next build, so the cleanup playbook location will be changed to /etc/ansible/roles/gluster.ansible/playbooks/hc-ansible-deployment/tasks/gluster_cleanup.yml So for clean up the command will be: ansible-playbook -i /etc/ansible/hc_wizard_inventory.yml /etc/ansible/roles/gluster.ansible/playbooks/hc-ansible-deployment/tasks/gluster_cleanup.yml
Tested with gluster-ansible-roles-1.0.4-4 The cleanup playbook is available : /etc/ansible/roles/gluster.ansible/playbooks/hc-ansible-deployment/tasks/gluster_cleanup.yml This script provides the cleanup of the environment
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:0661