chef-cookbooks
chef-cookbooks copied to clipboard
[openstack-monitoring]: nova-network monit config is created for ha-controller[1-2] nodes when nova-network is not installed on a controller node
With nova-network we should only be laying down a monit config for nodes that actually get nova-network installed. In our opinionated configuration of nova we only install nova-network on compute nodes so the check in:
https://github.com/rcbops-cookbooks/openstack-monitoring/blob/master/recipes/nova-network.rb#L22
needs to be a check only for the nova-compute recipe and not the nova-controller recipe (or some other selection of search that can determine a node running nova-network).