Bug 1029122
Summary: | Storage Cluster Maintenance Jobs Not Created Properly | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Stefan Negrea <snegrea> |
Component: | Core Server | Assignee: | Stefan Negrea <snegrea> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | 4.9 | CC: | hrupp, jkandasa, theute |
Target Milestone: | GA | ||
Target Release: | RHQ 4.10 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | 1028622 | Environment: | |
Last Closed: | 2014-03-25 21:02:07 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: | |||
Bug Depends On: | |||
Bug Blocks: | 1028622 |
Description
Stefan Negrea
2013-11-11 17:21:32 UTC
Converted the functionality implemented by StorageClusterInitJob and StorageClusterCredentialsJob to an EJB timer on the StorageClientManagerBean. This guarantees that session init and credential refresh happens on every single server of an HA environment. Also, the timer run interval is 90 seconds after an initial wait of 30 seconds. This will reduce the possibility of having subsequent runs wait on the credentials process to finish. master branch commits: https://git.fedorahosted.org/cgit/rhq/rhq.git/commit/?id=73a8799a65e98976cb21af17dee2e08274e6b2b5 https://git.fedorahosted.org/cgit/rhq/rhq.git/commit/?id=d030b6782a9a68bfb6802244565dae6488eb7770 Slightly updated the code based on a code review from Jay. This change reduces the chance of a server not starting because the storage cluster is not available (which is the desired outcome). Also removed some redundant code left from the quartz jobs. master branch commit: https://git.fedorahosted.org/cgit/rhq/rhq.git/commit/?id=ee53f96bf7994465371f9c337487b1e2c59999a4 |