Bug 983210

Summary: Resource group [RHQ Storage Nodes] does not exist exception in agent.log after storage node uninventory
Product: [JBoss] JBoss Operations Network Reporter: Armine Hovsepyan <ahovsepy>
Component: InventoryAssignee: John Sanda <jsanda>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: JON 3.2CC: hrupp, jkandasa, jsanda, mfoley
Target Milestone: GA   
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: 2014-01-02 20:37:25 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: 951619    
Attachments:
Description Flags
agent.log
none
server.log.tar.gz
none
server.log.tar.gz - after restart the services none

Description Armine Hovsepyan 2013-07-10 17:38:34 UTC
Created attachment 771754 [details]
agent.log

Description of problem:


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


How reproducible:


Steps to Reproduce:
1. run rhqctl install
2. go to rhq storage node resource under inventory in gui
3. edit connection settings  - change Native Transport Port from 9142 to 9146 (or some other value)
4. uninventory rhq storage 


Actual results:
Resource group [RHQ Storage Nodes] does not exist exception in agent.log after storage node uninventory neither platform nor storage node are visible in discovery queue, server is connected to storage node and has NORMAl mode.

Expected results:
rhq storage node is auto-inventoried back to inventory list
platform is visible in discovery queue
no exception in neither agent nor server or storage logs.

Additional info:
fragemtn from agent.log attached

Comment 1 Jeeva Kandasamy 2013-07-25 09:45:34 UTC
Facing this issue on JON 3.2 Alpha 53 also, Once we do un-inventory the platform, Unable to inventory any resource, even agent discovery is not showing on discovery list.

Attached server.log

Version: 3.2.0.ALPHA_QA
Build Number: 1878d58:5e6b489
GWT Version: 2.5.0
SmartGWT Version: 3.0

Comment 2 Jeeva Kandasamy 2013-07-25 09:46:26 UTC
Created attachment 778164 [details]
server.log.tar.gz

Comment 3 Jeeva Kandasamy 2013-07-25 09:52:52 UTC
Created attachment 778166 [details]
server.log.tar.gz - after restart the services

After this issue, If we restart the services, GUI page never gets launch.

./rhqctl stop
./rhqctl start 

[hudson@mercury bin]$ ./rhqctl status
15:22:00,343 INFO  [org.jboss.modules] JBoss Modules version 1.2.0.Final-bz-975242
RHQ Storage Node               (pid 29503  ) IS running
RHQ Server                     (pid 29686  ) IS running
JBossAS Java VM child process  (pid 29686  ) IS running
RHQ Agent                      (pid 29928  ) IS running 
[hudson@mercury bin]$ 

Complete server.log is attached

Comment 4 John Sanda 2013-08-23 01:50:05 UTC
The storage node resource group is no longer created, so this should no longer be relevant.

Comment 5 Armine Hovsepyan 2013-08-23 13:08:40 UTC
verified
uninventorying storage node resource - it gets inventoried back to server gui