R1.10 build 37: Cassandra was started [default Cluster name ³Test"] before provisioning the database node

Bug #1372274 reported by Sandip Dey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R1.1
Fix Released
Undecided
Raj Reddy
R2.0
Fix Released
Undecided
Raj Reddy
Trunk
Fix Released
Undecided
Raj Reddy

Bug Description

Hi Sandip,

Cassandra was exiting because of the following error:

ERROR [main] 2014-09-21 22:56:36,693 CassandraDaemon.java (line 246) Fatal
exception during initialization
org.apache.cassandra.exceptions.ConfigurationException: Saved cluster name
Test Cluster != configured name Contrail

Looks like Cassandra was started [default Cluster name ³Test"] before
provisioning the database node.
I had deleted /var/lib/cassandra/data and restarted the database service.

root@nodec53:/var/log/cassandra# contrail-status
== Contrail Control ==
supervisor-control: inactive (disabled on boot)
== Contrail Analytics ==
supervisor-analytics: inactive (disabled on boot)
== Contrail Web UI ==
supervisor-webui: inactive (disabled on boot)
== Contrail Database ==
supervisord-contrail-database:active
contrail-database active
contrail-database-nodemgr active

Thanks,
Sundar

On 9/20/14, 10:51 AM, "Sandip Dey" <email address hidden> wrote:

Hi

Could someone check it.

Seems database service not coming up

Last login: Fri Sep 19 22:14:54 2014 from 10.204.216.49
root@nodec53:~#
root@nodec53:~#
root@nodec53:~# contrail-status
== Contrail Control ==
supervisor-control: inactive (disabled on boot)
== Contrail Analytics ==
supervisor-analytics: inactive (disabled on boot)
== Contrail Web UI ==
supervisor-webui: inactive (disabled on boot)
== Contrail Database ==
supervisord-contrail-database:active
contrail-database STARTING
contrail-database-nodemgr active

Regards
Sandip

tags: added: regression
Raj Reddy (rajreddy)
information type: Proprietary → Public
Revision history for this message
Raj Reddy (rajreddy) wrote :

Fixed in R1.10 by

commit dc773b23285c39b92333a3f9655f34f443ca2468
Author: Raj Reddy <email address hidden>
Date: Tue Sep 23 12:09:50 2014 -0700

    removal of /var/lib/cassandra in contrail-openstack-database postinst is done only on install and not on upgrade

    Change-Id: Ic6ce221d31b470213951f89d5256874abd4553fc

Raj Reddy (rajreddy)
tags: added: analytics
Revision history for this message
Raj Reddy (rajreddy) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.