Bug 1559387 - Back to back import and unmanage cluster multiple time resuts in a situation where import is complete but not marked correctly in UI
Summary: Back to back import and unmanage cluster multiple time resuts in a situation ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: web-admin-tendrl-commons
Version: rhgs-3.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: RHGS 3.4.0
Assignee: Shubhendu Tripathi
QA Contact: Daniel Horák
URL:
Whiteboard:
Depends On:
Blocks: 1503137
TreeView+ depends on / blocked
 
Reported: 2018-03-22 12:53 UTC by Shubhendu Tripathi
Modified: 2018-09-04 07:02 UTC (History)
5 users (show)

Fixed In Version: tendrl-gluster-integration-1.6.1-3.el7rhgs, tendrl-commons-1.6.1-3.el7rhgs
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-04 07:01:53 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github Tendrl commons issues 881 0 None None None 2018-08-02 11:59:54 UTC
Red Hat Bugzilla 1526338 0 unspecified CLOSED [RFE] Enhance unmanage cluster workflow to remove only specified (affected) cluster 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1616005 0 unspecified CLOSED Repeated Import (and Unmanage) fails: Timing out import job, Cluster data still not fully updated 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHSA-2018:2616 0 None None None 2018-09-04 07:02:56 UTC

Internal Links: 1526338 1616005

Description Shubhendu Tripathi 2018-03-22 12:53:59 UTC
Description of problem:
If a cluster is imported and un-managed in UI again and again multiple times, sometimes the import job gets completed but in UI cluster remains in un-managed state only.

Version-Release number of selected component (if applicable):


How reproducible:
If import and un-manage is run back to back say like 5-6 times, this issues can be seen

Steps to Reproduce:
1. create a gluster cluster 
2. import the cluster in tendrl UI
3. Execute un-managed once the cluster is imported successfully
4, Repeat the steps 2 and 3 again and again 5-6 times

Actual results:
The import job is marked as completed but cluster remains un-managed only in UI

Expected results:
The import and un-manage should always work successfully as expected even if tried any no of times.

Additional info:

Comment 2 Martin Bukatovic 2018-03-28 09:43:14 UTC
This will be tested during feature testing for cluster unmanage.

Comment 6 Daniel Horák 2018-08-14 17:50:47 UTC
Tested and Verified with our test_cluster_unmanage_valid[1] test with
following simple bash script used for repeated execution of the test:

# sleep 3000; date | tee -a logs/stdout.log; while ( set -o pipefail; python3 -m pytest usmqe_tests/api/gluster/test_gluster_cluster.py -k test_cluster_unmanage_valid 2>&1 | tee -a logs/stdout.log); do sleep 3000;  date | tee -a logs/stdout.log; done

Because of bug 1616005 discovered during testing of this scenario, I've tried
it multiple times - usually 10-20 times on one cluster and issue described in
Description didn't occurred.

Version-Release number of selected component (if applicable):
  RHGS WA Server:
  Red Hat Enterprise Linux Server release 7.5 (Maipo)
  tendrl-ansible-1.6.3-6.el7rhgs.noarch
  tendrl-api-1.6.3-5.el7rhgs.noarch
  tendrl-api-httpd-1.6.3-5.el7rhgs.noarch
  tendrl-commons-1.6.3-11.el7rhgs.noarch
  tendrl-grafana-plugins-1.6.3-8.el7rhgs.noarch
  tendrl-grafana-selinux-1.5.4-2.el7rhgs.noarch
  tendrl-monitoring-integration-1.6.3-8.el7rhgs.noarch
  tendrl-node-agent-1.6.3-9.el7rhgs.noarch
  tendrl-notifier-1.6.3-4.el7rhgs.noarch
  tendrl-selinux-1.5.4-2.el7rhgs.noarch
  tendrl-ui-1.6.3-9.el7rhgs.noarch

  Gluster Storage Server:
  Red Hat Enterprise Linux Server release 7.5 (Maipo)
  Red Hat Gluster Storage Server 3.4.0
  tendrl-collectd-selinux-1.5.4-2.el7rhgs.noarch
  tendrl-commons-1.6.3-11.el7rhgs.noarch
  tendrl-gluster-integration-1.6.3-9.el7rhgs.noarch
  tendrl-node-agent-1.6.3-9.el7rhgs.noarch
  tendrl-selinux-1.5.4-2.el7rhgs.noarch

[1] https://github.com/usmqe/usmqe-tests/blob/master/usmqe_tests/api/gluster/test_gluster_cluster.py#L177

>> VERIFIED

Comment 8 errata-xmlrpc 2018-09-04 07:01:53 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/RHSA-2018:2616


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