Modify the variable assignment errors
The values of 'released_compute_nodes_count' and 'instance_migrations_count' are upside down Change-Id: I0662bdfce575de529eb8c12363be7fa196b1a88c
This commit is contained in:
@@ -534,10 +534,9 @@ class VMWorkloadConsolidation(base.ServerConsolidationBaseStrategy):
|
|||||||
LOG.debug(info)
|
LOG.debug(info)
|
||||||
|
|
||||||
def post_execute(self):
|
def post_execute(self):
|
||||||
# self.solution.efficacy = rcu_after['cpu']
|
|
||||||
self.solution.set_efficacy_indicators(
|
self.solution.set_efficacy_indicators(
|
||||||
released_compute_nodes_count=self.number_of_migrations,
|
released_compute_nodes_count=self.number_of_released_nodes,
|
||||||
instance_migrations_count=self.number_of_released_nodes,
|
instance_migrations_count=self.number_of_migrations,
|
||||||
)
|
)
|
||||||
|
|
||||||
LOG.debug(self.compute_model.to_string())
|
LOG.debug(self.compute_model.to_string())
|
||||||
|
|||||||
Reference in New Issue
Block a user