Skip to content

Conversation

@rane-rajasi
Copy link
Contributor

Related to the 1st point mentioned in the description/1st comment in this PR: #70

Change was made earlier to only update patch installation substatus if the second/implicit assessment is completed. We missed out one place where the patch install status is marked 'Failed' before implicit assessment is complete. This again leads to the same issue at CRP where the availablePatchSummary remains 'InProgress' since the last status CRP reads is when Patch Install is marked Failed and while assessment is in progress.

Changes in this PR:

  • Removed setting patch install to failed within PatchInstaller, so patch install remains in Transitioning state
  • Calling update status in the success path of CoreMain, so patch install is marked appropriately in case of failure after implicit assessment

@rane-rajasi rane-rajasi requested a review from a team July 6, 2021 17:34
# Combining maintenance
overall_patch_installation_successful = bool(update_run_successful and not maintenance_window_exceeded)

if not overall_patch_installation_successful:
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you add a comment here stating why it is not marked error at this point?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Resolved

@kjohn-msft kjohn-msft self-requested a review July 7, 2021 14:26
@rane-rajasi rane-rajasi merged commit ca81615 into master Jul 7, 2021
@rane-rajasi rane-rajasi deleted the rarane-installstatusupdatefix branch July 7, 2021 17:25
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.

4 participants