Closes-Bug: #1392434
-Issue: 1. contrail-storage-stats is getting started on
non storage-compute nodes
2. cleanup of contrail-storage-stats not done
during storage unconfigure
-Fix: 1. contrail-storage-stats started only on storage-compute
nodes.
2. During uncongiure, if the storage-stats daemon running
then it is terminated and reset config to defaults
-Test: Verified the changes in both HA and non-HA setups
Modified according to review-1
Modified according to review-2
1. If Contrail vip (openstack and contrail on separate nodes)
configured use that for contrail stats else openstack vip
(openstack and contrail together case)configured use that
else config host discovery address
2. Contrail vip value passed from fab utils to provision
setup (Saravanan change)
Reviewed: https:/ /review. opencontrail. org/5095 github. org/Juniper/ contrail- fabric- utils/commit/ 2d8b7d7f1c0cec8 df73b20150dfbfb 20410bd627
Committed: http://
Submitter: Zuul
Branch: master
commit 2d8b7d7f1c0cec8 df73b20150dfbfb 20410bd627
Author: shreya12 <email address hidden>
Date: Mon Dec 1 15:20:09 2014 -0800
Closes-Bug: #1392434 storage- stats is getting started on storage- stats not done storage- stats started only on storage-compute
-Issue: 1. contrail-
non storage-compute nodes
2. cleanup of contrail-
during storage unconfigure
-Fix: 1. contrail-
nodes.
2. During uncongiure, if the storage-stats daemon running
then it is terminated and reset config to defaults
-Test: Verified the changes in both HA and non-HA setups
Modified according to review-1
Modified according to review-2
1. If Contrail vip (openstack and contrail on separate nodes)
configured use that for contrail stats else openstack vip
(openstack and contrail together case)configured use that
else config host discovery address
2. Contrail vip value passed from fab utils to provision
setup (Saravanan change)
Change-Id: I1270be40a5d030 aaf58c2c423c72e e777f79cfb7