diff --git a/compute-install-neat.py b/compute-install-neat.py index fae7812..42a5ecd 100644 --- a/compute-install-neat.py +++ b/compute-install-neat.py @@ -21,5 +21,6 @@ compute_hosts = common.parse_compute_hosts(config['compute_hosts']) common.execute_on_hosts( compute_hosts, - ['cd openstack-neat', + ['rm -f /etc/init.d/openstack-neat-*', + 'cd openstack-neat', 'python2 setup.py install']) diff --git a/neat/locals/manager.py b/neat/locals/manager.py index a58a574..9000b13 100644 --- a/neat/locals/manager.py +++ b/neat/locals/manager.py @@ -212,6 +212,7 @@ def execute(config, state): vm_cpu_mhz = cleanup_vm_data(vm_cpu_mhz, vm_ram.keys()) if not vm_cpu_mhz: + log.info('The host is idle') return state physical_cpu_mhz_total = int(state['physical_cpu_mhz_total'])