dellcloudedge/barclamp-nova — pull request #88 by galthaus (2012-10-02 01:59:13+00:00)
Title: Nova monitoring, Nova volume, and log rotation fixes [1/4]

1. Make sure that /var/log/nodes/.log is rotated as rsyslog will sometimes recent messages without hostnames.

2. Nova monitoring improvements
1. Add missing perl module for rabbitmq test
2. Add nova-volume monitoring to nagios
3. Fix the master nova subsystem monitor on the controller.
1. track volumes
2. fix permissions issue with running it.

3. Nova volume could only run on admin node.
Greg had incorrectly assumed that nova-volume provided the api end point and this broken volume when
when not on the controller.
1. Move the nova-volume endpoint code into the api recipe.
2. Allow nova-volume to live on multiple nodes.

chef/cookbooks/nova/recipes/api.rb | 25 +++++++++
chef/cookbooks/nova/recipes/monitor.rb | 50 ++++++++++++------
chef/cookbooks/nova/recipes/volume.rb | 52 --------------------
.../nova/templates/default/nagios_sudoers.erb | 3 +
.../nova/templates/default/nova_nrpe.cfg.erb | 4 +-
.../views/barclamp/nova/_edit_deployment.html.haml | 2 +-
6 files changed, 64 insertions(+), 72 deletions(-)