Bug 835897

Summary: agetn rpm - servie jon-agent start doesnt work for first time if before that jar jon agetn has been started via wrapper script
Product: [Other] RHQ Project Reporter: Armine Hovsepyan <ahovsepy>
Component: AgentAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED NOTABUG QA Contact: Mike Foley <mfoley>
Severity: medium Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: hrupp, mfoley, zjin
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-03 14:22:46 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: 837381    

Description Armine Hovsepyan 2012-06-27 13:26:51 UTC
Description of problem:
On old infrastructure - when jon server and agent are already installed using zip/jar and jon agetn has been started via wrapper script, 

Version-Release number of selected component (if applicable):
org.jboss.on-jboss-on-parent-3.1.0.GA-8

How reproducible:
always

Steps to Reproduce:
1. install jon server via zip
2. install jon agent  via jar
3. start jon server
4. start jon agent wia ./rhq-agent-wrapper.sh start
5. stop jon agent
6. install jon agent via rpm
7. call service jon-agent start 
  
Actual results:
agetn will not be started

Expected results:
jon aetn should be started

Additional info:
as soon as you start jon agent wia wrapper for rpm jon agent and stop it, "service jon-agent start" starts working well.

Comment 1 Mike Foley 2012-07-02 15:00:14 UTC
armine ... can you add logs?

stefan ... can you look at this?

bz triage  7/2 by foley, loleary, armine, asantos, zjin, viet

Comment 2 Mike Foley 2012-07-02 15:02:17 UTC
armine ... can you add logs?

stefan ... can you look at this?

bz triage  7/2 by foley, loleary, armine, asantos, zjin, viet

Comment 3 Zhengping Jin 2012-07-02 21:15:46 UTC
Just to exclude the following condition, and for comparing the test cases:
1. install server rpm 3.1.0 and agent jar separately, agent has been configured, so it knows where is the server.
2. start the agent via ./rhq-agent-wrapper.sh start
3. stop agent via ./rhq-agent-wrapper.sh stop
4. install agent rpm 3.1.0
5. run agent via service jon-agent start
Result: passed, could not reproduce the bug.

Comment 4 Armine Hovsepyan 2012-07-03 12:18:49 UTC
Hi all,

bug is not reproducable for me anymore. neither token, nor any other problem is being visible.

please mark it as worksForMe or Invalid, since it's not visible anymore.

Comment 5 Armine Hovsepyan 2012-07-03 14:22:46 UTC
invalid.

colsing for now, will be reopened if the case is reproduced.