Bug 1640868 - [gluster-ansible] Include ansibleStatus file removal with the gluster configuration cleanup
Summary: [gluster-ansible] Include ansibleStatus file removal with the gluster configu...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rhhi
Version: rhhi-1.1
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
: RHHI-V 1.6.z Async Update
Assignee: Gobinda Das
QA Contact: SATHEESARAN
URL:
Whiteboard:
Depends On: 1654124
Blocks: RHHI-V-1-6-Release-Notes
TreeView+ depends on / blocked
 
Reported: 2018-10-19 02:23 UTC by SATHEESARAN
Modified: 2019-10-03 12:24 UTC (History)
5 users (show)

Fixed In Version: gluster-ansible-roles-1.0.5-1.el7rhgs.noarch
Doc Type: Bug Fix
Doc Text:
During cleanup of a failed deployment, not all files were removed. This meant that when users tried to redeploy, they saw an option to use an existing deployment configuration even though any existing configuration should have been removed. All files are now correctly removed during cleanup, and the 'Use existing deployment' option is no longer visible after cleanup.
Clone Of:
: 1654124 (view as bug list)
Environment:
Last Closed: 2019-10-03 12:23:57 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:2963 0 None None None 2019-10-03 12:24:06 UTC

Description SATHEESARAN 2018-10-19 02:23:31 UTC
Description of problem:
-----------------------
With the latest fix in cockpit-ovirt, gdeployStatus file is generated on the successful  gluster configuration. 

When the user opts for cleanup on the successfully deployed gluster configuration, this file needs to be removed

Version-Release number of selected component (if applicable):
--------------------------------------------------------------
cleanup playbook shipped with gluster-ansible-roles-1.0.3


How reproducible:
-----------------
Always


Steps to Reproduce:
---------------------
1. Successfully complete gluster configuration
2. Cleanup the gluster configuration ( removal of volumes, VGs, PVs, etc )
3. Start installation again

Actual results:
---------------
'use existing configuration' option is available

Expected results:
-----------------
As the existing gluster configuration is cleanedup, there should not be 'use existing gluster configuration' option available


Additional info:
----------------
Remove the file ( which holds the gdeploy status configuration ), when the cleanup playbook is executed

Comment 1 Sahina Bose 2018-11-19 05:05:35 UTC
Gobinda, can you check this? Create a bz clone in cockpit-ovirt if needed

Comment 2 SATHEESARAN 2019-03-29 01:55:13 UTC
Calling this issue as the known_issue for RHHI-V 1.6. 

After cleaning the setup, and starting the fresh deployment, would still show up a opion - 'Use existing configuration'
Once the gluster cleanup is done, always, do not use the option - "use existing configuration"

Comment 3 bipin 2019-05-17 06:45:30 UTC
Update on the bug based on the base bug:
---------------------------------------

The bug is fixed in the latest bits

Conmponents:
===========
glusterfs-6.0-2.el7rhgs.x86_64
gluster-ansible-roles-1.0.5-1.el7rhgs.noarch
gluster-ansible-infra-1.0.4-1.el7rhgs.noarch
gluster-ansible-repositories-1.0.1-1.el7rhgs.noarch
gluster-ansible-features-1.0.5-1.el7rhgs.noarch

Steps:
=====
1. Complete gluster deployment
2. Run the gluster_cleanup.yml
3. Verified that the file 'ansibleStatus.conf' is removed and also logged into the cockpit UI and verified that 'use existing gluster configuration' was not found

Comment 4 SATHEESARAN 2019-06-18 17:19:08 UTC
The dependent bug is already in VERIFIED state, moving this bug to ON_QA

Comment 7 SATHEESARAN 2019-06-26 10:36:08 UTC
Moving the bug as verified since the fix works.

Conmponents:
===========
glusterfs-6.0-2.el7rhgs.x86_64
gluster-ansible-roles-1.0.5-1.el7rhgs.noarch
gluster-ansible-infra-1.0.4-1.el7rhgs.noarch
gluster-ansible-repositories-1.0.1-1.el7rhgs.noarch
gluster-ansible-features-1.0.5-1.el7rhgs.noarch

Steps:
=====
1. Complete gluster deployment
2. Run the gluster_cleanup.yml
3. Verified that the file 'ansibleStatus.conf' is removed and also logged into the cockpit UI and verified that 'use existing gluster configuration' was not found

Comment 9 errata-xmlrpc 2019-10-03 12:23:57 UTC
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:2963


Note You need to log in before you can comment on or make changes to this bug.