Bug 1518786 - It takes a while before Import button is disabled after Cluster import job is created
Summary: It takes a while before Import button is disabled after Cluster import job is...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: web-admin-tendrl-ui
Version: rhgs-3.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Nishanth Thomas
QA Contact: sds-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-29 14:59 UTC by Filip Balák
Modified: 2023-09-14 04:12 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-04-17 07:31:29 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1459475 0 unspecified CLOSED Importing gluster cluster creates two jobs in dashboard 2021-02-22 00:41:40 UTC

Internal Links: 1459475

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


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