Devstack changes to ceilometer to support vsphere
Ceilometer currently supports only libvirt when installed using devstack. Have extended this support to Vmware Vsphere in this changelist. Change-Id: I98c64204973bca5e6a7f859a5431adb2b661277f
This commit is contained in:
parent
3c78e08086
commit
846609b627
@ -161,6 +161,13 @@ function configure_ceilometer {
|
|||||||
configure_mongodb
|
configure_mongodb
|
||||||
cleanup_ceilometer
|
cleanup_ceilometer
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ "$VIRT_DRIVER" = 'vsphere' ]]; then
|
||||||
|
iniset $CEILOMETER_CONF DEFAULT hypervisor_inspector vsphere
|
||||||
|
iniset $CEILOMETER_CONF vmware host_ip "$VMWAREAPI_IP"
|
||||||
|
iniset $CEILOMETER_CONF vmware host_username "$VMWAREAPI_USER"
|
||||||
|
iniset $CEILOMETER_CONF vmware host_password "$VMWAREAPI_PASSWORD"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function configure_mongodb {
|
function configure_mongodb {
|
||||||
@ -204,6 +211,9 @@ function start_ceilometer {
|
|||||||
if [[ "$VIRT_DRIVER" = 'libvirt' ]]; then
|
if [[ "$VIRT_DRIVER" = 'libvirt' ]]; then
|
||||||
screen_it ceilometer-acompute "cd ; sg $LIBVIRT_GROUP \"ceilometer-agent-compute --config-file $CEILOMETER_CONF\""
|
screen_it ceilometer-acompute "cd ; sg $LIBVIRT_GROUP \"ceilometer-agent-compute --config-file $CEILOMETER_CONF\""
|
||||||
fi
|
fi
|
||||||
|
if [[ "$VIRT_DRIVER" = 'vsphere' ]]; then
|
||||||
|
screen_it ceilometer-acompute "cd ; ceilometer-agent-compute --config-file $CEILOMETER_CONF"
|
||||||
|
fi
|
||||||
screen_it ceilometer-acentral "cd ; ceilometer-agent-central --config-file $CEILOMETER_CONF"
|
screen_it ceilometer-acentral "cd ; ceilometer-agent-central --config-file $CEILOMETER_CONF"
|
||||||
screen_it ceilometer-anotification "cd ; ceilometer-agent-notification --config-file $CEILOMETER_CONF"
|
screen_it ceilometer-anotification "cd ; ceilometer-agent-notification --config-file $CEILOMETER_CONF"
|
||||||
screen_it ceilometer-collector "cd ; ceilometer-collector --config-file $CEILOMETER_CONF"
|
screen_it ceilometer-collector "cd ; ceilometer-collector --config-file $CEILOMETER_CONF"
|
||||||
|
Loading…
Reference in New Issue
Block a user