Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
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
Back to back import and unmanage cluster multiple time resuts in a situation ...
Status: CLOSED ERRATA
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: web-admin-tendrl-commons (Show other bugs)
3.4
Unspecified Unspecified
unspecified Severity unspecified
: ---
: RHGS 3.4.0
Assigned To: Shubhendu Tripathi
Daniel Horák
:
Depends On:
Blocks: 1503137
  Show dependency treegraph
 
Reported: 2018-03-22 08:53 EDT by Shubhendu Tripathi
Modified: 2018-09-04 03:02 EDT (History)
5 users (show)

See Also:
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:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-09-04 03:01:53 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Github Tendrl/commons/issues/881 None None None 2018-08-02 07:59 EDT
Red Hat Product Errata RHSA-2018:2616 None None None 2018-09-04 03:02 EDT

  None (edit)
Description Shubhendu Tripathi 2018-03-22 08:53:59 EDT
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 05:43:14 EDT
This will be tested during feature testing for cluster unmanage.
Comment 6 Daniel Horák 2018-08-14 13:50:47 EDT
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 03:01:53 EDT
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.