From e5e34258b2df274a7b781c78a149a7b9661973d2 Mon Sep 17 00:00:00 2001 From: Jack Hodgkiss Date: Tue, 10 Jun 2025 20:43:01 +0100 Subject: [PATCH] feat: increase default number of retries for checking `Pulp` status [skip ci] --- etc/kayobe/containers/pulp/post.yml | 2 +- .../notes/increase-pulp-retries-79cc258da9aabb4f.yaml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/increase-pulp-retries-79cc258da9aabb4f.yaml diff --git a/etc/kayobe/containers/pulp/post.yml b/etc/kayobe/containers/pulp/post.yml index 7a4e7e595..34c25093f 100644 --- a/etc/kayobe/containers/pulp/post.yml +++ b/etc/kayobe/containers/pulp/post.yml @@ -4,7 +4,7 @@ url: "{{ pulp_url }}/pulp/api/v3/status/" register: pulp_status until: pulp_status is success - retries: "{{ pulp_timeout_retries | default(30) }}" + retries: "{{ pulp_timeout_retries | default(120) }}" delay: "{{ pulp_timeout_delay | default(3) }}" - name: Set the Pulp admin password diff --git a/releasenotes/notes/increase-pulp-retries-79cc258da9aabb4f.yaml b/releasenotes/notes/increase-pulp-retries-79cc258da9aabb4f.yaml new file mode 100644 index 000000000..b388672c7 --- /dev/null +++ b/releasenotes/notes/increase-pulp-retries-79cc258da9aabb4f.yaml @@ -0,0 +1,5 @@ +--- +features: + - | + Increase the number of retries when waiting for Pulp to become ready. + This is to avoid issues with Pulp taking longer than expected to start up.