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/5224 github. org/Juniper/ contrail- provisioning/ commit/ abf1975122ff86a 4bd3155402fe42e e5dcea605c
Committed: http://
Submitter: Zuul
Branch: R2.0
commit abf1975122ff86a 4bd3155402fe42e e5dcea605c
Author: shreya12 <email address hidden>
Date: Wed Dec 3 11:11:18 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: I7b6e65b71f9150 1bc40f6e35e1169 43a16bf0623