Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 952248

Summary: Cassandra Metric Simulator cannot start cassandra node
Product: [JBoss] JBoss Operations Network Reporter: Armine Hovsepyan <ahovsepy>
Component: InstallerAssignee: John Sanda <jsanda>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: high Docs Contact:
Priority: unspecified    
Version: JON 3.2CC: jsanda, mfoley
Target Milestone: ---   
Target Release: JON 3.2.0   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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
metric-simulator-error.txt
none
test.json none

Description Armine Hovsepyan 2013-04-15 13:24:49 UTC
Created attachment 735900 [details]
metric-simulator-error.txt

Description of problem:
metric simulator cannot start cassandra node with the following exception in logs:
 "Unable to open thrift connection to cassandra node [CassandraNode[hostName: 127.0.0.1, thriftPort: 9160, nativeTransportPort: 9042]]
org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection refused"

Version-Release number of selected component (if applicable):
cassandra-backend jenkins build 140
java openjdk 1.7

How reproducible:
always

Steps to Reproduce:
1. Run rhq-ms.sh -s test.json
2.
3.
  
Actual results:
exception is thrown

Expected results:
cassandra nodes should be created and started, data should be added into database

Additional info:
Exception log with test.json are attached

Comment 1 Armine Hovsepyan 2013-04-15 13:25:47 UTC
Created attachment 735901 [details]
test.json

Comment 2 John Sanda 2013-04-19 02:43:51 UTC
Is this still and issue? If so, can you please provide me with the log file from the metrics simulator.

Comment 3 John Sanda 2013-04-19 02:49:23 UTC
I have committed a fix for this. I needed to add back the delay to allow for cluster initialization. This fix will be in build 164.

feature/cassandra-backend commit hash: f242ac3c3

Comment 4 Armine Hovsepyan 2013-04-19 09:11:23 UTC
verified.
please see "metric_data_simulator" build 26 and 27 (openjdk7 and oraclejdk6)