Skip to content

Conversation

@justinc1
Copy link
Collaborator

@justinc1 justinc1 commented May 8, 2023

We had a race condition. Sometimes a magic 60 sec delay was not enough to get update/update_status.json API endpoint work. The version_update_status_info now (it didn't initially) returns None in this case, so we can use that.

justinc1 added 2 commits May 8, 2023 10:26
On clean cluster version_update_status_info returns update_status=None

Signed-off-by: Justin Cinkelj <justin.cinkelj@xlab.si>
update_status_check taksfile now works also when update_status=None.

Signed-off-by: Justin Cinkelj <justin.cinkelj@xlab.si>
@justinc1 justinc1 requested a review from anazobec May 8, 2023 08:33
Copy link
Collaborator

@anazobec anazobec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fixed. Thank you.

@justinc1 justinc1 self-assigned this May 8, 2023
@anazobec anazobec merged commit 10e37a1 into main May 8, 2023
@anazobec anazobec deleted the fix-update-status-check branch May 8, 2023 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants