Bug 1518786

Summary: It takes a while before Import button is disabled after Cluster import job is created
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Filip Balák <fbalak>
Component: web-admin-tendrl-uiAssignee: Nishanth Thomas <nthomas>
Status: CLOSED WORKSFORME QA Contact: sds-qe-bugs
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rhgs-3.3CC: fbalak, rhs-bugs, sankarshan, shtripat
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-04-17 07:31:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Filip Balák 2017-11-29 14:59:26 UTC
Description of problem:
Right after I created Import cluster job via UI there was some delay before `Import` button on Clusters page become disabled so I clicked on it again and created another Import job for the same cluster. One of the jobs failed and the second job successfully finished.

Version-Release number of selected component (if applicable):
tendrl-node-agent-1.5.4-8.el7rhgs.noarch
tendrl-notifier-1.5.4-5.el7rhgs.noarch
tendrl-selinux-1.5.4-1.el7rhgs.noarch
tendrl-commons-1.5.4-5.el7rhgs.noarch
tendrl-api-1.5.4-3.el7rhgs.noarch
tendrl-api-httpd-1.5.4-3.el7rhgs.noarch
tendrl-monitoring-integration-1.5.4-8.el7rhgs.noarch
tendrl-grafana-selinux-1.5.4-1.el7rhgs.noarch
tendrl-ansible-1.5.4-2.el7rhgs.noarch
tendrl-ui-1.5.4-4.el7rhgs.noarch
tendrl-grafana-plugins-1.5.4-8.el7rhgs.noarch

How reproducible:
80%

Steps to Reproduce:
1. Import cluster via UI.
2. Right after job creation click on `Clusters` in left menu. There is a chance that `Import` button for the cluster is not disabled yet.
3. Click on `Import` again and create second Import cluster job.
4. Wait for jobs to be processed.

Actual results:
It takes a while before the button `Import` is disabled (after a few seconds it is disabled) and user is able to create two Import jobs for the same cluster from the same browser.
There are created two jobs for Cluster import. One fails and one finishes.

Expected results:
Right after the cluster job is created the `Import` button should be disabled.

Additional info:

Comment 3 Nishanth Thomas 2017-11-30 08:30:04 UTC
There is no impact on the functionality. As sankarshan mentioned above its a hit or miss case. In case if this happens, back-end processes only one job and the second job is clearly marked as failed.

Comment 5 Shubhendu Tripathi 2018-11-20 13:07:33 UTC
Is this still valid issue?

Comment 6 Yaniv Kaul 2019-04-17 07:31:29 UTC
(In reply to Shubhendu Tripathi from comment #5)
> Is this still valid issue?

Lets reopen if it is.

Comment 7 Red Hat Bugzilla 2023-09-14 04:12:46 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days