Bug 953092

Summary: Cassandra Daemon resource cannot be discovered by agent when there is another apache cassandra server running on machine
Product: [JBoss] JBoss Operations Network Reporter: Armine Hovsepyan <ahovsepy>
Component: Plugin -- OtherAssignee: Stefan Negrea <snegrea>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: high Docs Contact:
Priority: urgent    
Version: JON 3.2CC: loleary, mfoley, snegrea
Target Milestone: ER01   
Target Release: JON 3.2.0   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-02 20:35:49 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: 1001014    
Bug Blocks: 951619    
Attachments:
Description Flags
cassandra_disc_agent.log
none
agent.log none

Description Armine Hovsepyan 2013-04-17 10:51:46 UTC
Created attachment 736791 [details]
cassandra_disc_agent.log

Description of problem:
Cassandra Daemon resource cannot be discovered by agent when there is another apache cassandra server running on machine

Version-Release number of selected component (if applicable):
build 145 (jenkins cassandra-backend)

How reproducible:
2 of 2

Steps to Reproduce:
1. install and start apache-cassandra as root
2. run  rhq-storage-isntaller.sh as non-root user having rw permission to /vat/lib/
3. run rhq-server.sh console with the same non-root user
4. run rhq-installer.sh with the same non-root user
5. download and install rhq agent

or follow https://tcms.engineering.redhat.com/case/250756/?from_plan=8763
  
Actual results:
exceptions on log and cassandra daemon is not discovered

Expected results:
Rhq agent should be isntalled, started and inventoried to server
Cassandra plugin should be installed as agent-plugin
Cassandra server should be discovered by Rhq agent

Additional info:
log attached

Comment 1 Stefan Negrea 2013-05-02 16:33:37 UTC
This problem should now be fixed. The code is reading cassandra.yaml file for host and port information. If more than one node runs on a server, the plugin will discover and manage all the nodes independently.

Comment 2 Armine Hovsepyan 2013-05-03 14:35:00 UTC
bug is still visible.

please get attached fragment from agent.log

Comment 3 Armine Hovsepyan 2013-05-03 14:36:15 UTC
Created attachment 743247 [details]
agent.log

Comment 5 Stefan Negrea 2013-08-22 22:28:18 UTC
This issue has been resolved. Please retest.

Comment 6 Armine Hovsepyan 2013-08-26 10:28:54 UTC
testing blocked by #1001014

Comment 7 Armine Hovsepyan 2013-09-05 14:16:54 UTC
verified on windows as well.