Skip to content

Commit

Permalink
Using the correct method to fixup cassandra config files
Browse files Browse the repository at this point in the history
in migrate module.

Change-Id: If15e53d6ec73d8f8697c3fb58fc11b02fad86b0c
Closes-Bug: 1598270
  • Loading branch information
cijohnson committed Jul 18, 2016
1 parent 9330dca commit 4c130a9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion contrail_provisioning/database/migrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,11 @@ def migrate_cassandra(self, inter_pkgs, final_ver):
self.force_stop_cassandra()
local('sleep 5')

self.fixup_cassandra_config_files()
self.fixup_cassandra_config_file(self.database_listen_ip,
self.database_seed_list,
self._args.data_dir,
self._args.ssd_data_dir,
cluster_name='Contrail')
local('chown -R cassandra: /var/lib/cassandra/')
local('chown -R cassandra: /var/log/cassandra/')
local('service cassandra start;sleep 5')
Expand Down

0 comments on commit 4c130a9

Please sign in to comment.