Bug 893802
Summary: | [as7] Restart operation fails to start AS when shutdown hasn't completed when start script is invoked | ||||||
---|---|---|---|---|---|---|---|
Product: | [JBoss] JBoss Operations Network | Reporter: | Larry O'Leary <loleary> | ||||
Component: | Plugin -- JBoss EAP 6 | Assignee: | Jirka Kremser <jkremser> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | JON 3.1.1 | CC: | bkramer, jkremser, lzoubek, myarboro, rhatlapa | ||||
Target Milestone: | ER01 | ||||||
Target Release: | JON 3.2.0 | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 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: | |||||||
Attachments: |
|
Description
Larry O'Leary
2013-01-09 23:33:31 UTC
master http://git.fedorahosted.org/cgit/rhq/rhq.git/diff/?id=c17aa632d time: Fri Feb 8 15:18:40 2013 +0100 commit: c17aa632dca792707a4c84ba16245efb9c4ed99a author: Jirka Kremser - jkremser message: [BZ BugĀ 893802 - [as7] Restart operation fails to start AS when shutdown hasn't completed when start script is invoked] If the AS is deployed on the same node as the agent, the check whether the process is running or not is done in a loop once a second. This new check was added after the original (using the DMR api polling) check. In total, the AS has up to 20 second to finish its work and completely shut down. Changing status to MODIFIED. Created attachment 695128 [details]
start script with the pid check at the beginning
Adding the complete script for easier verification. (used on Fedora17)
As discussed during today's hangout, bugs with 3.2.0 release should go to ON_QA, so I am moving it to ON_QA. master http://git.fedorahosted.org/cgit/rhq/rhq.git/diff/?id=da8012a65 time: Tue Feb 12 16:58:31 2013 +0100 commit: da8012a65541b86ba02ed2405b983f9b6cd0cb3f author: Jirka Kremser - jkremser message: [BZ 893802 [as7] Restart operation fails to start AS when shutdown hasn't completed when start script is invoked] I have added NPE check, because I got NPE in certain circumstances. Setting state to MODIFIED, please put it back to ON_QA when testable builds will become available with this fix incorporated in them As this is MODIFIED or ON_QA, setting milestone to ER1. verified on ER05 |