Bug 804117

Summary: Unexpected WARN message in Agent log on clean install
Product: [Other] RHQ Project Reporter: Mike Foley <mfoley>
Component: AgentAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.4CC: hrupp, mazz, skondkar
Target Milestone: ---   
Target Release: JON 3.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-03 11:07:34 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 782579    
Attachments:
Description Flags
agent log file none

Description Mike Foley 2012-03-16 11:04:45 EDT
Created attachment 570631 [details]
agent log file

Description of problem:  Unexpected WARN message in Agent log on clean install 


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


How reproducible:


Steps to Reproduce:
1.  clean install
2.  start agent
3.  review agent log file 
  
Actual results:  WARN messages in agent log file


Expected results:  no alarming WARN messages in Agent log file on clean install


Additional info:  this could alarm customers.  this was a clean install.  


2012-03-16 11:01:06,564 INFO  [main] (rhq.core.pc.inventory.InventoryManager)- Starting to activate (and upgrade) resources.
2012-03-16 11:01:06,573 WARN  [main] (rhq.core.pc.inventory.InventoryManager)- RESOURCE ID IS 0! Operation features may not work - resource needs to be synced with server
2012-03-16 11:01:06,573 WARN  [main] (rhq.core.pc.inventory.InventoryManager)- RESOURCE ID IS 0! Content features may not work - Resource needs to be synced with server
2012-03-16 11:01:06,575 WARN  [main] (rhq.core.pc.inventory.InventoryManager)- RESOURCE ID IS 0! Operation features may not work - resource needs to be synced with server
2012-03-16 11:01:06,575 WARN  [main] (rhq.core.pc.inventory.InventoryManager)- RESOURCE ID IS 0! Content features may not work - Resource needs to be synced with server
2012-03-16 11:01:06,578 INFO  [ResourceContainer.invoker.daemon-1] (org.rhq.plugins.platform.LinuxPlatformComponent)- Internal yum server is disabled.
2012-03-16 11:01:06,578 INFO  [main] (rhq.core.pc.inventory.InventoryManager)- Inventory activated and upgrade requests gathered in 75ms.
2012-03-16 11:01:06,578 INFO  [main] (rhq.core.pc.inventory.InventoryManager)- Sending the upgrade requests to the server.
2012-03-16 11:01:06,579 INFO  [main] (rhq.core.pc.inventory.InventoryManager)- Resource activation and upgrade finished.
Comment 1 Mike Foley 2012-03-19 12:18:57 EDT
per BZ triage (asantos, ccrouch, loleary, mfoley)
Comment 2 John Mazzitelli 2012-04-04 14:33:25 EDT
changing to be INFO message:

   "Resource ID is 0! [Operation|Content] features will not work until the resource is synced with server"

master commit: 8686c77
Comment 3 Sunil Kondkar 2012-04-11 06:24:49 EDT
Verified on build#1303 (Version: 4.4.0-SNAPSHOT Build Number: 74326f0)

Agent log file on clean install displays below as INFO messages:

2012-04-11 15:42:43,149 INFO  [main] (rhq.core.pc.inventory.InventoryManager)- Resource ID is 0! Operation features will not work until the resource is synced with server
2012-04-11 15:42:43,150 INFO  [main] (rhq.core.pc.inventory.InventoryManager)- Resource ID is 0! Content features will not work until the resource is synced with server
2012-04-11 15:42:43,152 INFO  [main] (rhq.core.pc.inventory.InventoryManager)- Resource ID is 0! Operation features will not work until the resource is synced with server
2012-04-11 15:42:43,152 INFO  [main] (rhq.core.pc.inventory.InventoryManager)- Resource ID is 0! Content features will not work until the resource is synced with server
Comment 4 Heiko W. Rupp 2013-09-03 11:07:34 EDT
Bulk closing of old issues in VERIFIED state.