Comment 3 for bug 1595534

Revision history for this message
Vincent Françoise (vincent-francoise) wrote :

FYI, there is still one test that is failing.

Not sure if this will fix it but the strategy selection is currently off as selects 'vm_workload_consolidation' instead of 'basic'.

Here is the fix for it if someone has time:

    def test_execute_basic_action_plan(self):
        # ...
        self.addCleanup(self.rollback_compute_nodes_status)
        self._create_one_instance_per_host()
        _, goal = self.client.show_goal(self.BASIC_GOAL)
        _, strategy = self.client.show_strategy(self.BASIC_STRATEGY)
        _, audit_template = self.create_audit_template(
            goal['uuid'], strategy=strategy['uuid'])
        _, audit = self.create_audit(audit_template['uuid'])
        # ...