diff --git a/gso/services/provisioning_proxy.py b/gso/services/provisioning_proxy.py index 3ccf0bd78c2f80ccb00e1aebe298185116a296b8..a9405e0211101bcad8f3f6006f9ba59577355f0d 100644 --- a/gso/services/provisioning_proxy.py +++ b/gso/services/provisioning_proxy.py @@ -213,19 +213,16 @@ def _confirm_pp_results(state: State) -> FormGenerator: f"completed, please confirm the results below." ) - run_status: str = ReadOnlyField(state["pp_run_results"]["status"]) if not successful_run: - warning_run_status: str = ReadOnlyField(state["pp_run_results"]["status"]) - failed_run_status: str = ReadOnlyField(state["pp_run_results"]["status"]) - broken_run_status: str = ReadOnlyField(state["pp_run_results"]["status"]) - ouch_run_status: str = ReadOnlyField(state["pp_run_results"]["status"]) - unsuccessful_run_status: str = ReadOnlyField(state["pp_run_results"]["status"]) + pp_retry_label1: Label = ( + "Provisioning Proxy - playbook execution failed: inspect the output before proceeding" # type: ignore + ) + run_status: str = ReadOnlyField(state["pp_run_results"]["status"]) run_results: LongText = ReadOnlyField(f"{state['pp_run_results']['output']}") if not successful_run: pp_retry_label: Label = ( - "Provisioning Proxy playbook execution failed, it will be retried (up to two times)." # type: ignore + "Click submit to retry. Otherwise, abort the workflow from the process tab." # type: ignore ) - confirm: Accept = Accept("INCOMPLETE") yield ConfirmRunPage