Bug 1022974

Summary: Note: while installing agent via rpm (yum) ignore default agent installed with storage
Product: [JBoss] JBoss Operations Network Reporter: Armine Hovsepyan <ahovsepy>
Component: DocumentationAssignee: Stefan Negrea <snegrea>
Status: CLOSED NOTABUG QA Contact: Mike Foley <mfoley>
Severity: high Docs Contact:
Priority: high    
Version: JON 3.2CC: ahovsepy, loleary, mfoley, myarboro, snegrea
Target Milestone: post-GA   
Target Release: JON 3.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-29 13:41:39 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:

Description Armine Hovsepyan 2013-10-24 11:45:16 UTC
Description of problem:
while installing agent via rpm (yum) ignore default agent installed with storage

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

How reproducible:
always

Steps to Reproduce:
1. run rhqctl install --storage or --server --storage
2. install agent via rpm (yum)
3.

Actual results:
After step 1 agent will be installed 
After step 2 agent service will be installed

Expected results:
Note in documentation, that: impossible installing storage without agent, thus, customer would need to remove or ignore default installed agent while installing agent via rpm (yum)

Comment 3 Stefan Negrea 2013-10-29 13:41:39 UTC
The scenario described is totally possible because the two agents are installed and run under two different users. The rhqctl or manual installation are done under the user logged in while the RPM installation is done by root and the process is downgraded to the preset JON agent user.


Also, the agent installed by rhqctl should be not removed in favor of an RPM installed agent. rhqctl is designed to install JON server and server related components while the agent RPM is designed to run on systems with no JON server components.


Please review the JON agent RPM documentation:
https://access.redhat.com/site/documentation/en-US/JBoss_Operations_Network/3.1/html/Installation_Guide/agent-rpms.html