Bug 1026259

Summary: no operations starts on agent installed via RPM
Product: [JBoss] JBoss Operations Network Reporter: Armine Hovsepyan <ahovsepy>
Component: AgentAssignee: Stefan Negrea <snegrea>
Status: CLOSED NOTABUG QA Contact: Mike Foley <mfoley>
Severity: urgent Docs Contact:
Priority: high    
Version: JON 3.2CC: mfoley, myarboro, snegrea
Target Milestone: ER06   
Target Release: JON 3.2.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-06 13:04: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:
Bug Depends On:    
Bug Blocks: 1012435    
Attachments:
Description Flags
agent_operations.png none

Description Armine Hovsepyan 2013-11-04 09:46:00 UTC
Created attachment 819037 [details]
agent_operations.png

Description of problem:
no operations starts on agent installed via RPM

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

How reproducible:
always

Steps to Reproduce:
1. install jon 3.2 server on IP1
2. install jon 3.2 agent via rpm on IP2 (i've upgraded from 3.1.2 to 3.2)
3. schedule manual autodiscovery or any other operation on Agent or Platform resources for agent on IP2

Actual results:
no operations is started
The following message is being logged in agent.log endlessly:
INFO  [InventoryManager.availability-1] (rhq.core.pc.inventory.AvailabilityExecutor)- Scan Starting: Mon Nov 04 04:43:24 EST 2013
[InventoryManager.availability-1] (rhq.core.pc.inventory.AvailabilityExecutor)- Scan Ended   : Mon Nov 04 04:43:24 EST 2013 : Scan [startTime=1383558204927, endTime=1383558204928, runtime=1, isFull=false, isForced=false, numResources=192, numGetAvailabilityCalls=12, numScheduledRandomly=0, numPushedByInterval=11, numAvailabilityChanges=0, numDeferToParent=0]



Expected results:
schedules operations are started 

Additional info:
screen-shots attached

Comment 1 Armine Hovsepyan 2013-11-04 12:06:34 UTC
Update: I am unable to reproduce the case with clean upgrade.

Comment 2 Mike Foley 2013-11-04 13:00:26 UTC
JON 3.2 requirement is PKG-002 ...

Comment 3 Stefan Negrea 2013-11-05 23:11:28 UTC
Can you please provide the agent logs for the installation that has issues? Also, were both the server and the agent upgraded from 3.1.2 to 3.2?

Can you please explain the difference between a clean upgrade (comment #2) and the steps followed on comment #1 ?

Comment 4 Armine Hovsepyan 2013-11-06 09:17:43 UTC
I don't have the agent.log saved, the only message in log was the one in description.

The only difference between 1st and 2nd scenarios was time. Both upgrades were done on clean environment (clean db), but the issue was visible in 2-3 days after the upgrade. 

I am unable to reproduce the issue anymore to share more logs.

Comment 5 Stefan Negrea 2013-11-06 12:32:09 UTC
So in the first case, the agent that got upgraded ran fine for a few days?

Comment 6 Stefan Negrea 2013-11-06 13:04:07 UTC
Talked with Armine directly and the agent ran fine for a few days after the upgrade. So this problem is not related to the RPM or the RPM upgrade process. It can be a network glitch or a lost connection between the server and agent. But none of these can be confirmed without the logs. 

Closing because it cannot be reproduced and not related to the agent RPM.