Bug 966074 - Cassandra Storage installer - Cassandra authentication password from 'rhqadmin' is being reset back to 'cassandra' while installing/adding new node
Summary: Cassandra Storage installer - Cassandra authentication password from 'rhqadmi...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: Installer
Version: JON 3.2
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ER01
: JON 3.2.0
Assignee: John Sanda
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: 951619
TreeView+ depends on / blocked
 
Reported: 2013-05-22 12:18 UTC by Armine Hovsepyan
Modified: 2015-09-03 00:01 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-02 20:35:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
cassandra_password_clustering (179.70 KB, image/png)
2013-05-22 12:18 UTC, Armine Hovsepyan
no flags Details
rhq-storage-credentials (18.22 KB, text/x-log)
2013-08-23 12:40 UTC, Armine Hovsepyan
no flags Details

Description Armine Hovsepyan 2013-05-22 12:18:25 UTC
Created attachment 751689 [details]
cassandra_password_clustering

Description of problem:
Cassandra Storage installer - Cassandra authentication password from 'rhqadmin' is being reset back to 'cassandra' while installing/adding new node

Version-Release number of selected component (if applicable):
rhq-cassandra jenkins build 231

How reproducible:
2 of 2

Steps to Reproduce:
1. Install jon 3.1.2 
2. Install cassandra storage node
3. Upgrade jon 3.1.2 to 3.2
4. Stop cassandra node
5. Install another cassandra storage in another machine
6. Connect both cassandra nodes to each other by adding host-names into cassandra.yaml (seeds)
7. Start both cassandra nodes

Actual results:
After step 3.
cassandra storage authentication username/password is rhqadmin
After step 7.
cassandra storage authentication username/password from rhqadmin changed to cassandra (default password) 

Expected results:
After step 3.
cassandra storage authentication username/password is rhqadmin
After step 7.
cassandra storage authentication username/password is  rhqadmin 

Additional info:
screenshot of

Comment 1 Armine Hovsepyan 2013-05-23 12:07:07 UTC
hi team. 
I've investigated further and found out the root cause of the issue:
When "rhqctl start --storage" is resetting Cassandra username:password to cassandra from rhqadmin.

Steps to reproduce:
1. Install jon server & agent version < 3.2
2. Install cassandra storage
3. Update jon server & agent to  version >= 3.2
4. stop cassandra storage node
5. start storage node using "rhqctl start --storage" command

Actual result:
After step 3. Cassandra username:password is rhqadmin

After step 5. Cassandra username:password set back to cassandra

Comment 2 John Sanda 2013-08-23 01:55:57 UTC
This was due to new nodes not being properly bootstrapped. This should no longer be an issue now that we have the deployment process[1] in place.

https://docs.jboss.org/author/display/RHQ/Deploying+Storage+Nodes

Comment 3 Armine Hovsepyan 2013-08-23 12:39:27 UTC
verified - restart doesn't change Cassandra authentication credentials.

Verification log attached.

Comment 4 Armine Hovsepyan 2013-08-23 12:40:13 UTC
Created attachment 789582 [details]
rhq-storage-credentials


Note You need to log in before you can comment on or make changes to this bug.