Bug 1576717

Summary: Add default job status key and improve locking
Product: Red Hat Gluster Storage Reporter: Rohan Kanade <rkanade>
Component: web-admin-tendrl-commonsAssignee: Rohan Kanade <rkanade>
Status: CLOSED DUPLICATE QA Contact: sds-qe-bugs
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rhgs-3.4CC: nthomas, rhs-bugs, sankarshan
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-10 13:14:48 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:

Description Rohan Kanade 2018-05-10 08:56:41 UTC
Description of problem:
web-admin-tendrl-api does not create a watchable "Job.status" key, hence the backend services are not able to lock them correctly.

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

How reproducible:

Steps to Reproduce:
1. ImportCluster from UI
2. There can be confusing Job.status because multiple backend services process the same job due to not being able to lock the job.

Actual results:

Expected results:
Only one of the backend service should lock and process the job.

Comment 2 Nishanth Thomas 2018-05-10 13:14:48 UTC

*** This bug has been marked as a duplicate of bug 1571244 ***