def wait_for_installing_in_progress(self, nodes_count=1): utils.wait_till_at_least_one_host_is_in_status( client=self.api_client, cluster_id=self.id, statuses=[consts.NodesStatus.INSTALLING_IN_PROGRESS], nodes_count=nodes_count, timeout=consts.INSTALLING_IN_PROGRESS_TIMEOUT)
def wait_for_one_host_to_be_in_wrong_boot_order(self, fall_on_error_status=True): utils.wait_till_at_least_one_host_is_in_status( client=self.api_client, cluster_id=self.id, statuses=[consts.NodesStatus.INSTALLING_PENDING_USER_ACTION], fall_on_error_status=fall_on_error_status, )
def wait_for_host_status(self, statuses, nodes_count=1): utils.wait_till_at_least_one_host_is_in_status( client=self.api_client, cluster_id=self.id, statuses=statuses, nodes_count=nodes_count )
def wait_for_host_status(self, statuses, fall_on_error_status=True, nodes_count: int = MINIMUM_NODES_TO_WAIT): utils.wait_till_at_least_one_host_is_in_status( client=self.api_client, cluster_id=self.id, statuses=statuses, nodes_count=nodes_count, fall_on_error_status=fall_on_error_status, )
def wait_for_one_host_to_be_in_wrong_boot_order(cluster_id, api_client): utils.wait_till_at_least_one_host_is_in_status( client=api_client, cluster_id=cluster_id, statuses=[consts.NodesStatus.INSTALLING_PENDING_USER_ACTION])
def wait_for_installing_in_progress(cluster_id, api_client): utils.wait_till_at_least_one_host_is_in_status( client=api_client, cluster_id=cluster_id, statuses=[consts.NodesStatus.INSTALLING_IN_PROGRESS])